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
14 lines
328 B
HTML
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>
|