Files
sousa-gecko/testing/web-platform/tests/css/cssom/invalid-pseudo-elements.html
T
Tim Nguyen 554bd30a94 Bug 2020117 [wpt PR 58140] - Credit myself on tests I previously wrote, a=testonly
Automatic update from web-platform-tests
Credit myself on tests I previously wrote (#58140)

5bc1df18d9ba  Add WPT reftests for conic-gradient and stop normalization.
590dd7f5d93c  Add more <dialog> focus-related tests
b3958a2b7798  Add tests for animating CSS ::backdrop pseudo-element
00668dccbfd2  Import invalid-media-query-list.html from WebKit layout tests (#53149)
d6ef7143ef34  Test that focusing steps do not run when dialog is disconnected
108476e46779  WebKit export: [CSS Highlight API] REGRESSION(270146@main): Crash trying to serialize `::highlight` (#42955)
3455549bab45  WebKit export: [CSS random()] Allow in `@keyframes` (#53860)
7cac08694abc  WebKit export: [view-transitions] Allow animations to run more than once (#44609)
f9c9898520bc  WebKit export: [view-transitions] Fix white flash on certain demos (#45212)
--

wpt-commits: b15b9424e0e34c9010e01455ec3c2bbd41a9b49a
wpt-pr: 58140
2026-03-10 15:42:32 +00:00

19 lines
700 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>CSSOM: Test that rules with invalid pseudo elements are not found</title>
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<link rel="help" href="https://drafts.csswg.org/cssom/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
::part {}
::slotted {}
::highlight {}
</style>
<script>
test(() => {
assert_equals(document.styleSheets[0].cssRules[0]?.selectorText, undefined, "No associated selectorText");
assert_equals(document.styleSheets[0].cssRules[0], undefined, "No invalid pseudo element rule should be found");
});
</script>