Skip to content

Commit 7250d7c

Browse files
committed
Bug 1950081 [wpt PR 50904] - [carousel] Fix AttachLayoutTree for ::scroll-marker expecting parent, a=testonly
Automatic update from web-platform-tests [carousel] Fix AttachLayoutTree for ::scroll-marker expecting parent If ::scroll-marker is inside the element that requires style recalc, but not layout, context.parent is nullptr. So, we have to if() attachment instead of CHECK(context.parent). Fixed: 394980089 Change-Id: Iefdc99a1b65cabeb91d1cf5d7f79e47a0a787e0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6298048 Reviewed-by: Rune Lillesveen <futharkchromium.org> Commit-Queue: Daniil Sakhapov <sakhapovchromium.org> Cr-Commit-Position: refs/heads/main{#1423840} -- wpt-commits: 6f1558a74c6ef1f52085a594cae98744b260ef6a wpt-pr: 50904 UltraBlame original commit: 9b6078b98032a8fbabcad6c77474a42a55b3f01e
1 parent ef95da1 commit 7250d7c

File tree

2 files changed

+184
-0
lines changed

2 files changed

+184
-0
lines changed
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<
2+
!
3+
DOCTYPE
4+
html
5+
>
6+
<
7+
link
8+
rel
9+
=
10+
"
11+
help
12+
"
13+
href
14+
=
15+
"
16+
crbug
17+
.
18+
com
19+
/
20+
394980089
21+
"
22+
>
23+
<
24+
style
25+
>
26+
#
27+
scroller
28+
{
29+
overflow
30+
:
31+
scroll
32+
;
33+
scroll
34+
-
35+
marker
36+
-
37+
group
38+
:
39+
after
40+
;
41+
}
42+
#
43+
item
44+
:
45+
:
46+
scroll
47+
-
48+
marker
49+
{
50+
content
51+
:
52+
"
53+
X
54+
"
55+
}
56+
<
57+
/
58+
style
59+
>
60+
<
61+
div
62+
id
63+
=
64+
"
65+
scroller
66+
"
67+
>
68+
<
69+
canvas
70+
>
71+
<
72+
div
73+
id
74+
=
75+
"
76+
item
77+
"
78+
>
79+
You
80+
don
81+
'
82+
t
83+
see
84+
me
85+
<
86+
/
87+
div
88+
>
89+
<
90+
/
91+
canvas
92+
>
93+
<
94+
/
95+
div
96+
>
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<
2+
!
3+
DOCTYPE
4+
html
5+
>
6+
<
7+
link
8+
rel
9+
=
10+
"
11+
help
12+
"
13+
href
14+
=
15+
"
16+
crbug
17+
.
18+
com
19+
/
20+
394980089
21+
"
22+
>
23+
<
24+
style
25+
>
26+
#
27+
scroller
28+
{
29+
overflow
30+
:
31+
scroll
32+
;
33+
scroll
34+
-
35+
marker
36+
-
37+
group
38+
:
39+
after
40+
;
41+
}
42+
#
43+
scroller
44+
div
45+
:
46+
:
47+
scroll
48+
-
49+
marker
50+
{
51+
content
52+
:
53+
counter
54+
(
55+
test
56+
)
57+
;
58+
}
59+
<
60+
/
61+
style
62+
>
63+
<
64+
select
65+
>
66+
<
67+
div
68+
id
69+
=
70+
"
71+
scroller
72+
"
73+
>
74+
<
75+
div
76+
>
77+
<
78+
/
79+
div
80+
>
81+
<
82+
/
83+
div
84+
>
85+
<
86+
/
87+
select
88+
>

0 commit comments

Comments
 (0)