Files
sousa-gecko/testing/web-platform/tests/css/css-values/attr-style-sharing-5.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

14 lines
328 B
HTML

<!doctype html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-values-5/#attr-notation">
<link rel="match" href="attr-style-sharing-5-ref.html">
<style>
li::marker {
content: attr(icon, "* ");
}
</style>
<ul>
<li id="bullet" icon="@ ">Has icon attribute</li>
<li>Fallback icon</li>
</ul>