dom: settle async inline style updates
This commit is contained in:
1 parent
9ec43134ae
commit
9ffc071ce0
2 files changed
+61
-4
No files matched your search
Vendored
+2
-1
@@ -693,7 +693,8 @@ const _styleProxy = (decl) => new Proxy(decl, {
|
||||
if (typeof p === "symbol") { t[p] = v; return true; }
|
||||
if (p === "_loaded") { t._loaded = v; return true; }
|
||||
if (p === "cssText") { t.cssText = v; return true; }
|
||||
if (/^\d+$/.test(p) || p in Object.getPrototypeOf(t)) return true;
|
||||
if (p in t) { Reflect.set(t, p, v); return true; }
|
||||
if (/^\d+$/.test(p)) return true;
|
||||
t.setProperty(p, v);
|
||||
return true;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user