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
4 lines
111 B
HTML
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>
|