Skip to content

Replace @acemir/cssom and uhyphen with cssomnom/parse - #356

Open
paulirish wants to merge 3 commits into
WebReflection:mainfrom
paulirish:cssomnom
Open

paulirish wants to merge 3 commits into
WebReflection:mainfrom
paulirish:cssomnom

Conversation

@paulirish

@paulirish paulirish commented Oct 30, 2026 •

Copy link
Copy Markdown

Fixes #352 (and #327 along the way).

Swaps @acemir/cssom for cssomnom/parse and backs el.style (esm/interface/css-style-declaration.js) with cssomnom's CSSStyleDeclaration + onChange hook so el.style and sheet.cssRules[i].style share the same implementation (and we can drop the uhyphen dep).

What this changes:

If you'd rather keep esm/interface/css-style-declaration.js untouched for now so el.style.toString() formatting stays identical and only swap esm/html/style-element.js, here's what that minimal diff looks like (happy to drop the last commit if you prefer that!). :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant