Repository navigation
Implement mutable stylesheet CSSOM for Monaco - #136
Merged
wieslawsoltes merged 1 commit intoSep 16, 2026
Merged
wieslawsoltes merged 1 commit into
wieslawsoltes merged 1 commit into
Conversation
wieslawsoltes
force-pushed
the
feature/mutable-stylesheet-cssom
branch
from
September 16, 2026 09:32
d6b5746 to
5227aec
Compare
wieslawsoltes
force-pushed
the
feature/mutable-stylesheet-cssom
branch
from
September 16, 2026 10:05
5227aec to
bbcbca3
Compare
This was referenced Sep 16, 2026
wieslawsoltes
force-pushed
the
feature/mutable-stylesheet-cssom
branch
from
September 16, 2026 20:24
bbcbca3 to
90bafd0
Compare
wieslawsoltes
marked this pull request as ready for review
September 16, 2026 20:27
This was referenced Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem and change
Monaco and Code OSS mutate decoration and theme rules through
style.sheet.cssRules,insertRule, anddeleteRule, which WebScene did not expose.This layer adds bounded stylesheet rule insertion and deletion, live rule access, and declaration mutation through the owning native style element. It preserves native publication, refreshes wrappers after external text replacement, and isolates state by V8 context.
Closes #74. The equivalent implementation remains in draft consolidation PR #76.
Cumulative validation
d727fe33; FileReader layer391d4f54; exact cumulative head90bafd05git diff --checkNative GitHub stack #159
Merge all layers atomically through Stack #159 after the current-head related checks pass.