Files
sousa-gecko/testing/web-platform/tests/css/css-values/attr-style-sharing-5-ref.html
T
Emilio Cobos Álvarez b64a7f45e3 Bug 2039479 - Don't cache attr-referencing lazy pseudo styles. r=firefox-style-system-reviewers,dshin
As we don't make the attributes part of the key. If we get sharing
across elements with these we can't really prove that they use the same
attributes / end up with the same style.

We could make the element style itself part of the cache key but that
seems also a bit sketchy.

Differential Revision: https://phabricator.services.mozilla.com/D301278
2026-05-19 13:51:24 +00:00

15 lines
230 B
HTML

<!doctype html>
<meta charset="utf-8">
<style>
#bullet::marker {
content: "@ ";
}
#other::marker {
content: "* ";
}
</style>
<ul>
<li id="bullet">Has icon attribute</li>
<li id="other">Fallback icon</li>
</ul>