Skip to content

Commit

Permalink
Bug 1924772 [wpt PR 48625] - Add ::check pseudo element parsing suppo…
Browse files Browse the repository at this point in the history
…rt, a=testonly

Automatic update from web-platform-tests
Add ::check pseudo element parsing support

Defined in:
w3c/csswg-drafts#10986

Bug: 369319576
Change-Id: I90fb6ef81fd5941709fae6936c7474339a7715e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5928423
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Reviewed-by: Joey Arhar <jarharchromium.org>
Commit-Queue: Traian Captan <tcaptanchromium.org>
Cr-Commit-Position: refs/heads/main{#1369011}

--

wpt-commits: 181e33be283f60d28349f6828782091489684ece
wpt-pr: 48625

UltraBlame original commit: e6b51178ca094586c892c9d2a6f69c62d6877aa0
  • Loading branch information
marco-c committed Oct 22, 2024
1 parent af7303e commit f9a43a5
Showing 1 changed file with 359 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,359 @@
<
!
DOCTYPE
html
>
<
meta
charset
=
"
utf
-
8
"
>
<
title
>
CSS
:
:
check
Pseudo
-
Element
Test
<
/
title
>
<
link
rel
=
"
help
"
href
=
"
https
:
/
/
github
.
com
/
w3c
/
csswg
-
drafts
/
pull
/
10986
"
>
<
meta
name
=
"
assert
"
content
=
"
This
test
checks
the
validity
of
the
:
:
check
pseudo
element
selector
.
"
/
>
<
script
src
=
"
/
resources
/
testharness
.
js
"
>
<
/
script
>
<
script
src
=
"
/
resources
/
testharnessreport
.
js
"
>
<
/
script
>
<
script
src
=
"
/
css
/
support
/
parsing
-
testcommon
.
js
"
>
<
/
script
>
<
script
>
test_valid_selector
(
"
:
:
check
"
)
;
test_valid_selector
(
"
*
:
:
check
"
"
:
:
check
"
)
;
test_valid_selector
(
"
foo
.
bar
[
baz
]
:
:
check
"
)
;
test_invalid_selector
(
"
:
:
check
*
"
)
;
/
/
Combinations
test_invalid_selector
(
"
:
:
check
:
:
check
"
)
;
test_invalid_selector
(
"
:
:
before
:
:
check
"
)
;
test_invalid_selector
(
"
:
:
after
:
:
check
"
)
;
test_invalid_selector
(
"
:
:
marker
:
:
check
"
)
;
test_invalid_selector
(
"
:
:
placeholder
:
:
check
"
)
;
test_invalid_selector
(
"
:
:
check
:
:
before
"
)
;
test_invalid_selector
(
"
:
:
check
:
:
after
"
)
;
test_valid_selector
(
"
:
:
check
:
:
marker
"
)
;
test_invalid_selector
(
"
:
:
check
:
:
placeholder
"
)
;
test_invalid_selector
(
"
:
:
slotted
(
*
)
:
:
check
:
:
slotted
(
*
)
"
)
;
test_valid_selector
(
"
:
:
slotted
(
*
)
:
:
check
"
)
;
test_valid_selector
(
"
:
:
part
(
foo
)
:
:
check
"
)
;
<
/
script
>

0 comments on commit f9a43a5

Please sign in to comment.