Skip to content

Commit d7055cb

Browse files
committed
Bug 1613905 [wpt PR 21657] - Atomic inlines by default always introduce a break opportunity, regardless of context, a=testonly
Automatic update from web-platform-tests [css-text-3] Adjust line-breaking treatment of atomic inlines and replaced elements Matches resolution in w3c/csswg-drafts#4576 (comment) -- [css-text] line-breaking for atomic/replaced elements and punctuation Part of w3c/csswg-drafts#4576 (comment) -- wpt-commits: 37cbdcfc9192026684b64d75aadcb59e6cd13590, 7ddc45b2cf1ed46efefd7ff6109a93a45c32945d wpt-pr: 21657 UltraBlame original commit: 91b0f77378b7428d9e727534f0fd1d675c059bd5
1 parent 2aea83b commit d7055cb

19 files changed

+1060
-209
lines changed

testing/web-platform/tests/css/css-text/line-breaking/line-breaking-atomic-003.html

Lines changed: 44 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@
4343
"
4444
There
4545
is
46-
*
47-
*
48-
not
49-
*
50-
*
5146
a
5247
soft
5348
wrap
@@ -58,7 +53,7 @@
5853
inline
5954
and
6055
a
61-
following
56+
preceeding
6257
NARROW
6358
NO
6459
-
@@ -108,19 +103,25 @@
108103
href
109104
=
110105
"
106+
.
107+
.
108+
/
109+
.
110+
.
111+
/
111112
reference
112113
/
113-
line
114+
ref
114115
-
115-
breaking
116+
filled
116117
-
117-
atomic
118+
green
118119
-
119-
003
120+
100px
120121
-
121-
ref
122+
square
122123
.
123-
html
124+
xht
124125
"
125126
>
126127
<
@@ -186,9 +187,21 @@
186187
1
187188
Ahem
188189
;
190+
color
191+
:
192+
green
193+
;
189194
width
190195
:
191-
0
196+
100px
197+
;
198+
height
199+
:
200+
100px
201+
;
202+
background
203+
:
204+
red
192205
;
193206
}
194207
span
@@ -211,32 +224,22 @@
211224
passes
212225
if
213226
there
214-
are
215-
two
216-
identical
217-
squares
218-
below
219-
.
220-
<
221-
div
222-
>
223-
<
224-
span
225-
>
226-
AB
227+
is
228+
a
229+
filled
230+
green
231+
square
232+
and
227233
<
228-
/
229-
span
234+
strong
230235
>
231-
&
232-
#
233-
8239
234-
;
235-
CD
236+
no
237+
red
236238
<
237239
/
238-
div
240+
strong
239241
>
242+
.
240243
<
241244
div
242245
>
@@ -245,8 +248,15 @@
245248
#
246249
8239
247250
;
251+
<
252+
span
253+
>
248254
CD
249255
<
250256
/
257+
span
258+
>
259+
<
260+
/
251261
div
252262
>

testing/web-platform/tests/css/css-text/line-breaking/line-breaking-atomic-004.html

Lines changed: 76 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@
4343
"
4444
There
4545
is
46-
*
47-
*
48-
not
49-
*
50-
*
5146
a
5247
soft
5348
wrap
@@ -58,7 +53,7 @@
5853
inline
5954
and
6055
a
61-
preceeding
56+
following
6257
NARROW
6358
NO
6459
-
@@ -116,7 +111,7 @@
116111
-
117112
atomic
118113
-
119-
003
114+
004
120115
-
121116
ref
122117
.
@@ -177,7 +172,34 @@
177172
<
178173
style
179174
>
180-
div
175+
.
176+
red
177+
{
178+
font
179+
:
180+
50px
181+
/
182+
1
183+
Ahem
184+
;
185+
position
186+
:
187+
absolute
188+
;
189+
z
190+
-
191+
index
192+
:
193+
-
194+
1
195+
;
196+
color
197+
:
198+
red
199+
;
200+
}
201+
.
202+
test
181203
{
182204
font
183205
:
@@ -186,9 +208,17 @@
186208
1
187209
Ahem
188210
;
211+
color
212+
:
213+
green
214+
;
189215
width
190216
:
191-
0
217+
100px
218+
;
219+
height
220+
:
221+
100px
192222
;
193223
}
194224
span
@@ -211,36 +241,63 @@
211241
passes
212242
if
213243
there
214-
are
215-
two
216-
identical
217-
squares
218-
below
244+
is
245+
a
246+
filled
247+
green
248+
square
249+
and
250+
<
251+
strong
252+
>
253+
no
254+
red
255+
<
256+
/
257+
strong
258+
>
219259
.
220260
<
221261
div
262+
class
263+
=
264+
red
222265
>
223-
AB
224266
&
225267
#
226268
8239
227269
;
270+
AB
228271
<
229-
span
272+
br
230273
>
274+
&
275+
#
276+
8239
277+
;
231278
CD
232279
<
233280
/
234-
span
281+
div
235282
>
236283
<
237-
/
238284
div
285+
class
286+
=
287+
test
239288
>
240289
<
241-
div
290+
span
242291
>
292+
&
293+
#
294+
8239
295+
;
243296
AB
297+
<
298+
/
299+
span
300+
>
244301
&
245302
#
246303
8239

0 commit comments

Comments
 (0)