use cssTest for perfs

pull/15418/head
adiguba 2 years ago
parent 526a2b85b6
commit 7a4886e392

@ -35,7 +35,7 @@ export function set_style(dom, value, prev_styles, next_styles) {
if (next_style_attr == null) {
dom.removeAttribute('style');
} else {
dom.setAttribute('style', next_style_attr);
dom.style.cssText = next_style_attr;
}
}
// @ts-expect-error

Loading…
Cancel
Save