You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current link pseudo-class selector would have the following pattern: E:current(n) {}
Please read the wiki page linked above, I won't rehash all it has to say here. I am wondering if this was ever shot down and if not, what folks think about it now? Because I cannot help but imagine it as extremely useful, especially keeping in mind the :has() relational pseudo-class allowing a "current" anchors parent element to also be selected.
The key here being, the functional notation as opposed to the the current language of the spec.
Edited - :local-link is the selector in the spec
The text was updated successfully, but these errors were encountered:
@Loirooriol oh I forgot seeing it had a new name a while back, but still missing the functional notation for directory depth, which would enable particular breadcrumb and local/external stylings? Maybe I should add "functional notation" to the title?
jonjohnjohnson
changed the title
[selectors-4] Pick up the "current url" selector idea?
[selectors-4] Add functional notation to :local-link selector? :local-link(n)?
Jun 28, 2018
https://drafts.csswg.org/selectors-4/#the-current-pseudo
See -> https://wiki.csswg.org/ideas/current-url-selector
Please read the wiki page linked above, I won't rehash all it has to say here. I am wondering if this was ever shot down and if not, what folks think about it now? Because I cannot help but imagine it as extremely useful, especially keeping in mind the
:has()
relational pseudo-class allowing a "current" anchors parent element to also be selected.The key here being, the functional notation as opposed to the the current language of the spec.
Edited - :local-link is the selector in the spec
The text was updated successfully, but these errors were encountered: