Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Overflow Test: ::scroll-button(*) style should not apply to ::before</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
#target::before {
color: green;
content: " ";
}
#target::scroll-button(*) {
color: red;
}
</style>
<div id="target"></div>
<script>
test(() => {
assert_equals(getComputedStyle(target, "::before").color, "rgb(0, 128, 0)");
}, "::before should not pick up style from ::scroll-button(*) rule");
</script>