Tue, 27 Jan 2015 16:12:15 -0800
[css-overflow] Use a dfn for ::nth-fragment().
css-overflow/Overview.bs | file | annotate | diff | comparison | revisions | |
css-overflow/Overview.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css-overflow/Overview.bs Tue Jan 27 16:10:12 2015 -0800 1.2 +++ b/css-overflow/Overview.bs Tue Jan 27 16:12:15 2015 -0800 1.3 @@ -666,7 +666,8 @@ 1.4 <h4 id="fragment-pseudo-element">The ::nth-fragment() pseudo-element</h4> 1.5 1.6 <p> 1.7 - The ::nth-fragment() pseudo-element is a pseudo-element 1.8 + The <dfn selector>::nth-fragment()</dfn> pseudo-element 1.9 + is a pseudo-element 1.10 that describes some of the <a>fragment box</a>es generated by an element. 1.11 The argument to the pseudo-element takes the same syntax 1.12 as the argument to the :nth-child() pseudo-class
2.1 --- a/css-overflow/Overview.html Tue Jan 27 16:10:12 2015 -0800 2.2 +++ b/css-overflow/Overview.html Tue Jan 27 16:12:15 2015 -0800 2.3 @@ -955,7 +955,7 @@ 2.4 <p class="issue" id="issue-89a60b9c"><a class="self-link" href="#issue-89a60b9c"></a> 2.5 What if we want to be able to style the pieces of an element 2.6 split within another type of fragmentation context? 2.7 - These rules prevent ever using <span class="css">::nth-fragment()</span> for that, 2.8 + These rules prevent ever using <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> for that, 2.9 despite that the name seems the most logical name for such a feature. 2.10 </p> 2.11 2.12 @@ -1046,7 +1046,8 @@ 2.13 2.14 2.15 <p> 2.16 - The ::nth-fragment() pseudo-element is a pseudo-element 2.17 + The <dfn class="css" data-dfn-type="selector" data-export="" id="selectordef-nth-fragment">::nth-fragment()<a class="self-link" href="#selectordef-nth-fragment"></a></dfn> pseudo-element 2.18 + is a pseudo-element 2.19 that describes some of the <a data-link-type="dfn" href="#fragment-box">fragment box</a>es generated by an element. 2.20 The argument to the pseudo-element takes the same syntax 2.21 as the argument to the :nth-child() pseudo-class 2.22 @@ -1087,16 +1088,16 @@ 2.23 2.24 2.25 <p> 2.26 - In the absence of rules with <span class="css">::nth-fragment()</span> pseudo-elements, 2.27 + In the absence of rules with <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-elements, 2.28 the computed style for each <a data-link-type="dfn" href="#fragment-box">fragment box</a> 2.29 is the computed style for the element 2.30 for which the <a data-link-type="dfn" href="#fragment-box">fragment box</a> was created. 2.31 However, the style for a <a data-link-type="dfn" href="#fragment-box">fragment box</a> is also influenced 2.32 by rules whose selectorâs <a data-link-type="dfn" href="http://dev.w3.org/csswg/selectors-3/#subject">subject</a> <a data-link-type="biblio" href="#biblio-select">[SELECT]</a> 2.33 - has an <span class="css">::nth-fragment()</span> pseudo-element, 2.34 + has an <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-element, 2.35 if the 1-based number of the <a data-link-type="dfn" href="#fragment-box">fragment box</a> matches 2.36 - that <span class="css">::nth-fragment()</span> pseudo-element 2.37 - and the selector (excluding the <span class="css">::nth-fragment()</span> pseudo-element) 2.38 + that <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-element 2.39 + and the selector (excluding the <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-element) 2.40 matches the element generating the fragments. 2.41 </p> 2.42 2.43 @@ -1159,7 +1160,7 @@ 2.44 2.45 2.46 <p> 2.47 - Styling an <span class="css">::nth-fragment()</span> pseudo-element with the <a class="property" data-link-type="propdesc" href="#propdef-overflow">overflow</a> 2.48 + Styling an <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-element with the <a class="property" data-link-type="propdesc" href="#propdef-overflow">overflow</a> 2.49 property does take effect; 2.50 if a <a data-link-type="dfn" href="#fragment-box">fragment box</a> has a 2.51 computed value of <a class="property" data-link-type="propdesc" href="#propdef-overflow">overflow</a> other than <a class="css" data-link-type="maybe" href="#valdef-overflow-fragments">fragments</a> 2.52 @@ -1176,7 +1177,7 @@ 2.53 2.54 2.55 <p> 2.56 - Styling an <span class="css">::nth-fragment()</span> pseudo-element with the <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-content-3/#propdef-content">content</a> 2.57 + Styling an <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-element with the <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-content-3/#propdef-content">content</a> 2.58 property has no effect; 2.59 the computed value of <a class="property" data-link-type="propdesc" href="http://dev.w3.org/csswg/css-content-3/#propdef-content">content</a> for the fragment box 2.60 remains the same as the computed value of content for the element. 2.61 @@ -1187,7 +1188,7 @@ 2.62 Specifying <a class="css" data-link-type="propdesc" href="http://dev.w3.org/csswg/css2/visuren.html#propdef-display">display: none</a> for a <a data-link-type="dfn" href="#fragment-box">fragment box</a> causes 2.63 the fragment box with that index not to be generated. 2.64 However, in terms of the indices 2.65 - used for matching <span class="css">::nth-fragment()</span> pseudo-elements 2.66 + used for matching <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-elements 2.67 of later fragment boxes, 2.68 it still counts as though it was generated. 2.69 However, since it is not generated, it does not contain any content. 2.70 @@ -1212,7 +1213,7 @@ 2.71 <p> 2.72 To match the model for other pseudo-elements 2.73 where the pseudo-elements live inside their corresponding element, 2.74 - declarations in <span class="css">::nth-fragment()</span> pseudo-elements override 2.75 + declarations in <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-elements override 2.76 declarations in rules without the pseudo-element. 2.77 The relative priority within such declarations is determined 2.78 by normal cascading order (see <a data-link-type="biblio" href="#biblio-css21">[CSS21]</a>). 2.79 @@ -1220,7 +1221,7 @@ 2.80 2.81 2.82 <p> 2.83 - Styles specified on <span class="css">::nth-fragment()</span> pseudo-elements 2.84 + Styles specified on <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-elements 2.85 do affect inheritance to content within the <a data-link-type="dfn" href="#fragment-box">fragment box</a>. 2.86 In other words, the content within the <a data-link-type="dfn" href="#fragment-box">fragment box</a> must 2.87 inherit from the fragment boxâs style (i.e., the pseudo-element style) 2.88 @@ -1291,11 +1292,11 @@ 2.89 2.90 2.91 <p> 2.92 - The <span class="css">::nth-fragment()</span> pseudo-element 2.93 + The <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-element 2.94 can also be used to style 2.95 content inside of a <a data-link-type="dfn" href="#fragment-box">fragment box</a>. 2.96 Unlike the <a class="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-pseudo-4/#selectordef-first-line">::first-line</a> and <span class="css">::first-letter</span> pseudo-elements, 2.97 - the <span class="css">::nth-fragment()</span> pseudo-element can be applied 2.98 + the <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-element can be applied 2.99 to parts of the selector other than the subject: 2.100 in particular, it can match ancestors of the subject. 2.101 However, the only CSS properties applied 2.102 @@ -1307,7 +1308,7 @@ 2.103 2.104 <p> 2.105 To be more precise, 2.106 - when a ruleâs selector has <span class="css">::nth-fragment()</span> pseudo-elements 2.107 + when a ruleâs selector has <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-elements 2.108 attached to parts of the selector other than the subject, 2.109 the declarations in that rule apply to 2.110 a fragment (or pseudo-element thereof) when: 2.111 @@ -1324,7 +1325,7 @@ 2.112 <li> 2.113 the declarations would apply to 2.114 that fragment (or pseudo-element thereof) 2.115 - had those <span class="css">::nth-fragment()</span> pseudo-elements been removed, 2.116 + had those <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-elements been removed, 2.117 with a particular association between 2.118 each sequence of simple selectors and the element it matched, 2.119 and 2.120 @@ -1332,7 +1333,7 @@ 2.121 2.122 2.123 <li> 2.124 - for each removed <span class="css">::nth-fragment()</span> pseudo-element, 2.125 + for each removed <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> pseudo-element, 2.126 the fragment lives within a <a data-link-type="dfn" href="#fragment-box">fragment box</a> 2.127 of the element associated in that association 2.128 with the selector that the pseudo-element was attached to, 2.129 @@ -1811,6 +1812,7 @@ 2.130 <li>max-lines, <a href="#propdef-max-lines">6.2</a> 2.131 <li>non-3d-preserving child, <a href="#non_3d_preserving-child">2.2</a> 2.132 <li>none, <a href="#valdef-max-lines-none">6.2</a> 2.133 + <li>::nth-fragment(), <a href="#selectordef-nth-fragment">6.1.1</a> 2.134 <li>overflow 2.135 <ul> 2.136 <li>definition of, <a href="#overflow">2</a> 2.137 @@ -1982,7 +1984,7 @@ 2.138 <div class="issue"> 2.139 What if we want to be able to style the pieces of an element 2.140 split within another type of fragmentation context? 2.141 - These rules prevent ever using <span class="css">::nth-fragment()</span> for that, 2.142 + These rules prevent ever using <a class="css" data-link-type="maybe" href="#selectordef-nth-fragment">::nth-fragment()</a> for that, 2.143 despite that the name seems the most logical name for such a feature. 2.144 <a href="#issue-89a60b9c"> âµ </a></div> 2.145 <div class="issue">