Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions selectors-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ Ignored Vars: identifier, extended filtering
</pre>
<pre class=link-defaults>
spec:css-syntax-3; type:dfn; text:identifier
spec:css-color-4; type:property; text:color
spec:css-pseudo-4; type:selector;
text: ::first-line
text: ::first-letter
text: ::before
text: ::after
</pre>

<style>
Expand Down Expand Up @@ -1966,7 +1972,7 @@ The Hyperlink Pseudo-class: '':any-link''</h3>
<h3 id="link">
The Link History Pseudo-classes: '':link'' and '':visited''</h3>

User agents commonly display unvisited <a href="#the-any-link-pseudo">hyperlinks</a>
User agents commonly render unvisited <a href="#the-any-link-pseudo">hyperlinks</a>
differently from previously visited ones.
Selectors provides the pseudo-classes
<dfn id='link-pseudo'>:link</dfn> and <dfn id='visited-pseudo'>:visited</dfn>
Expand Down Expand Up @@ -2017,7 +2023,7 @@ The Link History Pseudo-classes: '':link'' and '':visited''</h3>
* 'fill-color'
* 'stroke-color'

These are |el|’s <dfn lt=":visited style">:visited styles</dfn>.
These are |el|’s <dfn dfn lt=":visited style">:visited styles</dfn>.

4. If |el|’s <a>relevant link</a> is actually visited,
then for the <a>allowed :visited properties</a>,
Expand Down Expand Up @@ -2127,7 +2133,7 @@ The Link History Pseudo-classes: '':link'' and '':visited''</h3>
might affect the positions of <em>other</em> elements on the page;
lying about these knock-on effects to hide the styling
would be much more expensive for the user agent.
Limiting it just a handful of properties that can only apply colors
Limiting it to just a handful of properties that can only apply colors
ensures that as little information is leakable as possible.
</details>

Expand All @@ -2147,7 +2153,6 @@ The Link History Pseudo-classes: '':link'' and '':visited''</h3>
or at least that such urls are loaded at the same time
regardless of whether a link is visited or not.


<h3 id="the-local-link-pseudo">
The Local Link Pseudo-class: '':local-link''</h3>

Expand Down