remove _cssText attribute from style element

This commit is contained in:
Yanzhen Yu
2018-11-27 15:22:06 +08:00
parent cac660ce61
commit e55b917590
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;