dom: settle async inline style updates

This commit is contained in:
SGavrl committed 2026-07-26 21:31:14 +00:00
1 parent 9ec43134ae
commit 9ffc071ce0
2 files changed
+61 -4

No files matched your search

+2 -1
View File
@@ -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;
},