forked from mirrors/gecko-dev
With nesting it might not hold. It still doesn't change the correctness of that code tho. We might need to rework this a bit more in the future to handle specificity properly, see linked spec issue. But for now crashing is not useful at all. Differential Revision: https://phabricator.services.mozilla.com/D204304
9 lines
116 B
HTML
9 lines
116 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.foo {
|
|
::before:where(&) {
|
|
color: red;
|
|
}
|
|
}
|
|
</style>
|
|
<div class=foo></div>
|