Files
sousa-gecko/testing/web-platform/tests/css/cssom/style-attr-clone-ref.html
T
Emilio Cobos Álvarez f81f1103c1 Bug 2039719 - Avoid attribute reparsing in common cases when cloning. r=dom-core,smaug
In particular, this helps when cloning elements out of a <template>
element, because that hits the cross-document codepath.

We keep unconditionally reparsing for SVGElement because the set-up
there is totally busted.

Not touching ReparseStyleAttribute() for now (though we should look into
it).

Differential Revision: https://phabricator.services.mozilla.com/D300644
2026-05-15 19:19:21 +00:00

4 lines
111 B
HTML

<!doctype html>
<div style="color: green">What color am I</div>
<div style="color: blue">What color am I</div>