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 7bf9653
Browse filesBrowse the repository at this point in the historyBrowse files
committed
Invalidate styles after CSSOM and control state changes
Changes to stylesheet rules and control state can affect selector matching on siblings and ancestors, and inherited styles on descendants. Refresh computed styles after declaration, selector and media edits, including edits in imported sheets and inserted grouping rules, and after changes to checkedness, indeterminacy, selectedness, values and custom validity.
Notify selector and style caches from the underlying state setters so internal changes during reset and activation receive the same handling as public setters. Selection changes also refresh existing selectedOptions collections without rebuilding unrelated structural collections.
Keep stylesheet parsing on the internal declaration setter to avoid repeatedly serializing a growing declaration block.
Closes#4377 by superseding it.
Co-authored-by: Tyler Rooney <[email protected]>
Co-authored-by: codex <[email protected]>
0 commit comments