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
I would like to propose the following improvement to the: active selector which fits in with: visited, :link, and active, to address a shortcoming. The final form names, and symbols, used are not important, but the modifier behaviours and functionality is which would need to be incorporated to prevent the need for preprocessing of page generation or use of javascript post-page rendering for traditional web applications. The ability to look into the styles pre-render and not an onready post document load, would improve the responsiveness for most basic websites. This leads to further proposals for javascript, which is the registration of CSS style selector that calls a javascript call back method.
5.11.2 The link pseudo-classes: :link and :visited
Proposal:
Either using :link or: active selector, introduce similar to the attribute selector and modify the parameter, to allow the following combinations and behaviours, which would enable the style of specific links and elements that cause navigate to the current page or to the current active anchor. The most important of these combinations is Active-Source-Anchor
Instead of using an href, attribute selector, which is not a design handles variations in relative file paths and all added complexity also
Default modifier behaviour is start-modifier=anchor
Cases:
[end Modifier] is optional, otherwise always start with and run to the end for a match.
[start-Modifier] => replaced by an array of modifiers [DN, PathResolved, Anchor]
[start-Modifier] => [[[Negation]Modifier, [Negation]Modifier, [Negation]Modifier]]
i.e
:active[[DN,PathResolved,Source-Anchor]] {
}
ignoremodifier, basically just skips that part.
Modifiers:
Schema
Domain Name (DN)
2.2. DN-NPort (
Fully Qualified Domain Name (FQDN)
Port
6.1 Path, exact path
6.2 PathN(n), where n is an integer that specifies the path relativeness i.e -1,+1
5.3 PathResolved, once relativeness has been resolved
Parameters
Anchor (Current normal :active behaviour)
8.2. Active-Source-Anchor, take precedence over Source-Anchor, would only be available on :active selector modifier
8.3 Source-Anchor
Examples:
Style the pair of paired behaviour elements to gather.
Active menu item and the active item it has set focus to.
SebastianZ
changed the title
[css-pseudo-class-selectors] :link/:active[modifier=SourceAnchor] Active href element
[css-pseudo] :link/:active[modifier=SourceAnchor] Active href element
Jan 5, 2025
Hi,
I would like to propose the following improvement to the: active selector which fits in with: visited, :link, and active, to address a shortcoming. The final form names, and symbols, used are not important, but the modifier behaviours and functionality is which would need to be incorporated to prevent the need for preprocessing of page generation or use of javascript post-page rendering for traditional web applications. The ability to look into the styles pre-render and not an onready post document load, would improve the responsiveness for most basic websites. This leads to further proposals for javascript, which is the registration of CSS style selector that calls a javascript call back method.
Proposal:
Either using :link or: active selector, introduce similar to the attribute selector and modify the parameter, to allow the following combinations and behaviours, which would enable the style of specific links and elements that cause navigate to the current page or to the current active anchor.
The most important of these combinations is Active-Source-Anchor
Instead of using an href, attribute selector, which is not a design handles variations in relative file paths and all added complexity also
Default modifier behaviour is start-modifier=anchor
Cases:
EBNF, further modifiers
[end Modifier] is optional, otherwise always start with and run to the end for a match.
[start-Modifier] => replaced by an array of modifiers [DN, PathResolved, Anchor]
[start-Modifier] => [[[Negation]Modifier, [Negation]Modifier, [Negation]Modifier]]
i.e
ignoremodifier, basically just skips that part.
Modifiers:
2.2. DN-NPort (
6.1 Path, exact path
6.2 PathN(n), where n is an integer that specifies the path relativeness i.e -1,+1
5.3 PathResolved, once relativeness has been resolved
8.2. Active-Source-Anchor, take precedence over Source-Anchor, would only be available on :active selector modifier
8.3 Source-Anchor
Examples:
Style the pair of paired behaviour elements to gather.
Active menu item and the active item it has set focus to.
Style the active page.
Style the active page, but ignore parameters.
The text was updated successfully, but these errors were encountered: