@@ -2338,57 +2338,6 @@ The Focus Container Pseudo-class: '':focus-within''</h3>
23382338 (including non-element nodes, such as text nodes)
23392339 matches the conditions for matching '':focus'' .
23402340
2341- <h3 id="drag-pseudos">
2342- The Drop Target Pseudo-class: '':drop'' and '':drop()''</h3>
2343-
2344- The <dfn>:drop</dfn> pseudo-class applies to all elements
2345- that are drop targets,
2346- as defined by the document language,
2347- while the user is “dragging”
2348- or otherwise conceptually carrying an item
2349- to be “dropped”.
2350-
2351- The <dfn id="selectordef-drop-function">:drop()</dfn> functional pseudo-class is identical to '':drop'' ,
2352- but allows additional filters to be specified that can exclude some drop targets.
2353- Its syntax is:
2354-
2355- <pre class='prod'>:drop( [ active || valid || invalid ]? ) </pre>
2356-
2357- The keywords have the following meanings:
2358-
2359- <dl dfn-type="value" dfn-for=":drop()">
2360- <dt> <dfn>active</dfn>
2361- <dd>
2362- The drop target is the current drop target for the drag operation.
2363- That is, if the user were to release the drag,
2364- it would be dropped onto this drop target.
2365-
2366- <dt> <dfn>valid</dfn>
2367- <dd>
2368- If the document language has a concept of “valid” and “invalid” drop targets,
2369- this only matches if the drop target is valid for the object currently being dragged.
2370- Otherwise, it matches all drop targets.
2371-
2372- For example, HTML's <code> dropzone</code> attribute can specify that the drop target only accepts strings or files that are set to a given type.
2373-
2374- <dt> <dfn>invalid</dfn>
2375- <dd>
2376- If the document language has a concept of “valid” and “invalid” drop targets,
2377- this only matches if the drop target is invalid for the object currently being dragged.
2378- Otherwise, it matches nothing.
2379- </dl>
2380-
2381- Multiple keywords can be combined in the argument,
2382- representing only drop targets that satisfy all of the keywords.
2383- For example, '':drop(valid active)'' will match the active drop target <em> if</em> it's valid,
2384- but not if it's invalid.
2385-
2386- If no keywords are given in the argument,
2387- '':drop()'' has the same meaning as '':drop'' --
2388- it matches every drop target.
2389-
2390- Issue: Turn <a href="http://forums.mozillazine.org/viewtopic.php?f=18&t=2633249">this scenario</a> into an example.
2391-
23922341<h2 id="time-pseudos">
23932342Time-dimensional Pseudo-classes</h2>
23942343
@@ -3926,6 +3875,8 @@ Changes</h2>
39263875 <li> Changed the specificity of '':is()'' , '':where()'' , and '':nth-child()''
39273876 to not depend on which selector argument matched.
39283877 (<a href="https://github.com/w3c/csswg-drafts/issues/1027">Issue 1027</a> )
3878+ <li> Dropped the '':drop()'' pseudo-classes since HTML dropped the related feature.
3879+ (<a href="https://github.com/w3c/csswg-drafts/issues/2257">Issue 2257</a> )
39293880 </ul>
39303881
39313882 Significant changes since the <a href="https://www.w3.org/TR/2013/WD-selectors4-20130502/">2 May 2013 Working Draft</a> include:
0 commit comments