Skip to content

Commit 056b132

Browse files
committed
Bug 1977242 [wpt PR 53750] - layout: Correctly marking box damage when text-related style changed, a=testonly
Automatic update from web-platform-tests layout: Correctly marking box damage when text-related style changed Signed-off-by: sharpshooter_pt <ibluegalaxy_taoj163.com> -- wpt-commits: 9f3f3dde346878f3e8585d604dcd1e1490a97059 wpt-pr: 53750 UltraBlame original commit: 8252f10226e4bce5c7c9b0be77dc0c1c6d9a21de
1 parent 404cab2 commit 056b132

File tree

2 files changed

+391
-0
lines changed

2 files changed

+391
-0
lines changed
Lines changed: 262 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,262 @@
1+
<
2+
!
3+
DOCTYPE
4+
html
5+
>
6+
<
7+
title
8+
>
9+
CSS
10+
-
11+
white
12+
-
13+
space
14+
test
15+
:
16+
restore
17+
collapsed
18+
whitespace
19+
<
20+
/
21+
title
22+
>
23+
<
24+
link
25+
rel
26+
=
27+
"
28+
author
29+
"
30+
title
31+
=
32+
"
33+
JoeDow
34+
"
35+
href
36+
=
37+
"
38+
ibluegalaxy_taoj
39+
163
40+
.
41+
com
42+
"
43+
>
44+
<
45+
link
46+
rel
47+
=
48+
"
49+
match
50+
"
51+
href
52+
=
53+
"
54+
reference
55+
/
56+
pre
57+
-
58+
001
59+
-
60+
ref
61+
.
62+
html
63+
"
64+
>
65+
<
66+
link
67+
rel
68+
=
69+
"
70+
help
71+
"
72+
href
73+
=
74+
"
75+
https
76+
:
77+
/
78+
/
79+
drafts
80+
.
81+
csswg
82+
.
83+
org
84+
/
85+
css
86+
-
87+
text
88+
-
89+
3
90+
/
91+
#
92+
white
93+
-
94+
space
95+
-
96+
property
97+
"
98+
>
99+
<
100+
link
101+
rel
102+
=
103+
"
104+
stylesheet
105+
"
106+
type
107+
=
108+
"
109+
text
110+
/
111+
css
112+
"
113+
href
114+
=
115+
"
116+
/
117+
fonts
118+
/
119+
ahem
120+
.
121+
css
122+
"
123+
/
124+
>
125+
<
126+
style
127+
>
128+
html
129+
{
130+
font
131+
:
132+
20px
133+
/
134+
1
135+
Ahem
136+
;
137+
}
138+
.
139+
span
140+
{
141+
background
142+
-
143+
color
144+
:
145+
blueviolet
146+
;
147+
}
148+
#
149+
target
150+
{
151+
background
152+
-
153+
color
154+
:
155+
blue
156+
;
157+
}
158+
<
159+
/
160+
style
161+
>
162+
<
163+
body
164+
>
165+
<
166+
div
167+
>
168+
<
169+
span
170+
class
171+
=
172+
"
173+
span
174+
"
175+
>
176+
aa
177+
bb
178+
<
179+
/
180+
span
181+
>
182+
<
183+
span
184+
id
185+
=
186+
"
187+
target
188+
"
189+
>
190+
target
191+
<
192+
/
193+
span
194+
>
195+
<
196+
span
197+
class
198+
=
199+
"
200+
span
201+
"
202+
>
203+
bb
204+
aa
205+
<
206+
/
207+
span
208+
>
209+
<
210+
/
211+
div
212+
>
213+
<
214+
script
215+
>
216+
window
217+
.
218+
onload
219+
=
220+
function
221+
(
222+
)
223+
{
224+
const
225+
target
226+
=
227+
document
228+
.
229+
getElementById
230+
(
231+
"
232+
target
233+
"
234+
)
235+
;
236+
/
237+
/
238+
force
239+
layout
240+
target
241+
.
242+
offsetLeft
243+
;
244+
target
245+
.
246+
style
247+
.
248+
whiteSpace
249+
=
250+
"
251+
pre
252+
"
253+
;
254+
}
255+
<
256+
/
257+
script
258+
>
259+
<
260+
/
261+
body
262+
>
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<
2+
!
3+
DOCTYPE
4+
html
5+
>
6+
<
7+
link
8+
rel
9+
=
10+
"
11+
stylesheet
12+
"
13+
type
14+
=
15+
"
16+
text
17+
/
18+
css
19+
"
20+
href
21+
=
22+
"
23+
/
24+
fonts
25+
/
26+
ahem
27+
.
28+
css
29+
"
30+
/
31+
>
32+
<
33+
style
34+
>
35+
html
36+
{
37+
font
38+
:
39+
20px
40+
/
41+
1
42+
Ahem
43+
;
44+
}
45+
.
46+
span
47+
{
48+
background
49+
-
50+
color
51+
:
52+
blueviolet
53+
;
54+
}
55+
#
56+
target
57+
{
58+
background
59+
-
60+
color
61+
:
62+
blue
63+
;
64+
white
65+
-
66+
space
67+
:
68+
pre
69+
;
70+
}
71+
<
72+
/
73+
style
74+
>
75+
<
76+
body
77+
>
78+
<
79+
div
80+
>
81+
<
82+
span
83+
class
84+
=
85+
"
86+
span
87+
"
88+
>
89+
aa
90+
bb
91+
<
92+
/
93+
span
94+
>
95+
<
96+
span
97+
id
98+
=
99+
"
100+
target
101+
"
102+
>
103+
target
104+
<
105+
/
106+
span
107+
>
108+
<
109+
span
110+
class
111+
=
112+
"
113+
span
114+
"
115+
>
116+
bb
117+
aa
118+
<
119+
/
120+
span
121+
>
122+
<
123+
/
124+
div
125+
>
126+
<
127+
/
128+
body
129+
>

0 commit comments

Comments
 (0)