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
<li><ahref="https://github.com/web-platform-tests/wpt/tree/master/css/css-text/">wpt/css/css-text/</a> and subdirectories
34
+
<li>All tests in <ahref="https://github.com/web-platform-tests/wpt/tree/master/css/CSS2/">wpt/css/CSS2/</a> and subdirectories <em>that relate to the <code>white-space</code> property</em>.
<li><ahref="https://github.com/web-platform-tests/wpt/tree/master/css/CSS2">wpt/css/CSS2/</a>, other than those related to the <code>white-space</code> property.
<h2id="white-space-and-wrapping-the-white-space-property"><ahref="https://drafts.csswg.org/css-text-3/#white-space-property">White Space and Wrapping: the white-space property</a></h2>
122
123
123
-
<p>A fair amount of coverage through section 4 (white space processing details) and subsections . Probably well tested by the CSS2 test suite, but I have not checked that.
124
+
<p>Good overal coverage through section 4 (white space processing details) and subsections.
124
125
125
126
<p>Missing tests:
126
127
127
128
<ul>
128
-
<li>applies to inlines (and specifically, wrappable inlines inside white-space:pre blocks don’t get ignored)
129
+
<li>wrappable inlines inside white-space:pre blocks don’t get ignored
129
130
<li>No test of Animation type.
130
-
<li>tests for the nowrap value
131
-
<li>tests for the pre-line value
132
131
<li>intrinsic (min and max) sizing tests for values other than pre-wrap and break-spaces
133
132
</ul>
134
133
134
+
<p>Possible addition:
135
+
<ul>
136
+
<li>coverage of "break-spaces" not as exhaustive as other values. Basic behavior is covered, and difference from "pre-wrap" is covered as well, so this is adequate, but it doesn't have the long list of basic tests that other values got from the CSS2 test suite.
<h3id="the-white-space-processing-rules">The <ahref="https://drafts.csswg.org/css-text-3/#white-space-rules">White Space Processing Rules</a></h3>
161
165
162
-
<p>Test only needed in subsections.
166
+
<p>Sufficient coverage. All parts of this section are well exercised.
163
167
164
-
<h4id="phase-i-collapsing-and-transformation"><ahref="https://drafts.csswg.org/css-text-3/#white-space-phase-1">Phase I: Collapsing and Transformation</a></h4>
165
-
166
-
<p>Partial coverage.
168
+
<p>Most tests to be found in subsections.
167
169
168
-
<p>Missing tests:
169
-
170
-
<ul>
171
-
<li>“All spaces and tabs immediately preceding or following a segment break are removed.” for nowrap and pre-line
172
-
<li>“Every tab is converted to a space (U+0020).” for nowrap and pre-line
173
-
<li>“Any space immediately following another collapsible space[…]is collapsed[…]” for nowrap and pre-line
174
-
</ul>
175
-
176
-
<p>Possible addition:
170
+
<h4id="phase-i-collapsing-and-transformation"><ahref="https://drafts.csswg.org/css-text-3/#white-space-phase-1">Phase I: Collapsing and Transformation</a></h4>
177
171
178
-
<ul>
179
-
<li>Turn example 4 into a test
180
-
</ul>
172
+
<p>Sufficient coverage. All parts of this section are well exercised.
<p>Indirectly tested, no dedicated tests, and not covering all the values:
186
+
<p>Indirectly tested, no dedicated tests:
195
187
196
188
<ul>
197
-
<li>When white-space is pre, pre-wrap, break-spaces, or pre-line, segment breaks are not collapsible and are instead transformed into a preserved line feed (U+000A).
198
-
<li>For other values of white-space, segment breaks are collapsible. (indirectly covered by other tests, but not for every value of the property)
189
+
<li>When 'white-space' is ''break-spaces'' segment breaks are not collapsible and are instead transformed into a preserved line feed (U+000A).
199
190
</ul>
200
191
201
192
<p>Missing tests:
202
193
203
194
<ul>
204
-
<li>None of the statements in this section are tested for “nowrap”
195
+
<li>the first 3 bullet points are not tested for “nowrap”
205
196
<li>“Otherwise, if the writing system of the segment break is Chinese, Japanese, or Yi, […]”
206
197
<li>For this purpose, Emoji (Unicode property Emoji) with an East Asian Width property of W or N are treated as having an East Asian Width property of A.
207
198
</ul>
208
199
209
200
<h4id="phase-ii-trimming-and-positioning"><ahref="https://drafts.csswg.org/css-text-3/#white-space-phase-2">Phase II: Trimming and Positioning</a></h4>
210
201
211
-
<p>Good coverage of the behavior, but not for all values of the white-space property.
202
+
<p>Almost sufficient coverage. Most parts of this section are well exercised.
212
203
213
204
<p>Missing tests:
214
205
215
206
<ul>
216
-
<li>No statements made in this section has tests for nowrap and pre-line
217
207
<li>See [UAX9] for rules on how U+0009 tabulation interacts with bidi.
0 commit comments