You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3b3be70
Browse filesBrowse the repository at this point in the historyBrowse files
committed
Preserve CSS priorities across declaration updates
Pass the requested priority through property handlers so rejected values leave existing declarations, serialized styles, and mutation records unchanged. This also covers values that pass grammar validation but fail color serialization, and prevents invalid cssText declarations from leaving a priority without a value.
Preserve requested priorities for variable expressions and CSS-wide keywords, and use an empty priority for direct property assignments. Honor explicit longhand priorities after important shorthands and preserve the shared priority when rebuilding margin and padding shorthands.
Closes#4343.
Co-authored-by: FedgeNo <[email protected]>
Co-authored-by: codex <[email protected]>
0 commit comments