remove _cssText attribute from style element

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent a36fae560f
commit 8b470ab6c8
2 changed files with 2 additions and 1 deletions

View File

@@ -64,6 +64,7 @@ function buildNode(n: serializedNodeWithId, doc: Document): Node | null {
if (isTextarea || isRemoteCss) {
const child = doc.createTextNode(value);
node.appendChild(child);
continue;
}
if (tagName === 'iframe' && name === 'src') {
continue;