Skip to content

Commit c372656

Browse files
xfqfantasai
authored andcommitted
[selectors-4] Document changes since Selectors 3
1 parent 8acb1c8 commit c372656

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

selectors-4/Overview.bs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3941,6 +3941,42 @@ Changes</h2>
39413941
Note: The 1 February 2018 draft included an inadvertent commit of unfinished work;
39423942
2 February 2018 has reverted this commit (and fixed some links because why not).
39433943

3944+
Significant changes since the <a href="https://www.w3.org/TR/2012/WD-selectors4-20120823/">23 August 2012 Working Draft</a> include:
3945+
3946+
<ul>
3947+
<li>Added '':blank'' and '':placeholder-shown'' pseudo-classes.
3948+
<li>Released some restrictions on '':matches()'' and '':not()''.
3949+
<li>Defined fast and complete Selectors profiles (now called <a>live</a> and <a>snapshot</a>).
3950+
<li>Improved definition of <a>specificity</a> to better handle <a>:matches()</a>.
3951+
<li>Updated grammar.
3952+
<li>Cleaned up definition of <<An+B>> notation.
3953+
<li>Added definition of <a>scope-relative</a> selectors, changed <i>scope-constrained</i> to scope-filtered for less confusion with scope-contained.
3954+
<li>The '':local-link()'' pseudo-class now ignores trailing slashes.
3955+
</ul>
3956+
3957+
Significant changes since the <a href="https://www.w3.org/TR/2011/WD-selectors4-20110929/">29 September 2011 Working Draft</a> include:
3958+
3959+
<ul>
3960+
<li>Added language variant handling per RFC 4647.
3961+
<li>Added scoped selectors.
3962+
<li>Added <css>:user-error</css> (now called '':user-invalid'').
3963+
<li>Added <css>:valid-drop-target</css>.
3964+
<li>Changed <a>column combinator</a> from double slash to double pipe.
3965+
</ul>
3966+
3967+
Additions since <a href="https://www.w3.org/TR/css-cascade-3/">Level 3</a>:
3968+
3969+
<ul>
3970+
<li>Added '':dir()''.
3971+
<li>Added <css>:nth-match</css>.
3972+
<li>Made '':indeterminate'' normative.
3973+
<li>Added column selectors.
3974+
<li>Added '':scope''.
3975+
<li>Added '':any-link''.
3976+
<li>Added case-insensitive attribute-value matching.
3977+
</ul>
3978+
3979+
39443980
<h2 id="acknowledgements">
39453981
Acknowledgements</h2>
39463982

0 commit comments

Comments
 (0)