Skip to content

Retire CSSValueImpl and pin the W3C value facade#4160

Open
vogella wants to merge 2 commits into
eclipse-platform:masterfrom
vogella:css-retire-cssvalueimpl
Open

Retire CSSValueImpl and pin the W3C value facade#4160
vogella wants to merge 2 commits into
eclipse-platform:masterfrom
vogella:css-retire-cssvalueimpl

Conversation

@vogella

@vogella vogella commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

With #4122 merged, nothing references CSSValueImpl anymore, so this deletes it along with the COUNTER_ERROR and RECT_ERROR message keys it was the last user of. The remaining W3C surface (the CssValues records and CSSStyleDeclarationImpl) is now documented as a permanent compatibility facade rather than a transitional bridge, since IStylingEngine.getStyle and IThemeEngine.getStyle return W3C types and propertyHandler contributions receive values as W3C CSSValue. A second commit drops the now-dead DOM exception message-key machinery (DOMExceptionImpl, ExceptionResource): only two of its 19 messages were still referenced, now inlined as plain DOMException throws at the four call sites. Net about 210 lines removed with no behavior change.

Part of #3980.

vogella added 2 commits July 4, 2026 19:35
CSSValueImpl is unreferenced since the computed-style cascade moved to
internal types; delete it, together with the COUNTER_ERROR and
RECT_ERROR message keys it was the last user of. Document the remaining
W3C surface (the CssValues records and CSSStyleDeclarationImpl) as a
permanent compatibility facade rather than a transitional bridge:
IStylingEngine.getStyle and IThemeEngine.getStyle return W3C types and
propertyHandler contributions receive values as W3C CSSValue, so this
surface stays. Also drop the redundant CSSStyleDeclaration implements
clause from CSSComputedStyleImpl.
After the parser and DOM-mirror rework only two of the 19
DOMExceptionImpl message keys were still referenced. Throw plain
DOMException with the message inlined at the four remaining call sites
and delete DOMExceptionImpl and its ExceptionResource bundle.
vogella added a commit to vogella/eclipse.platform.ui that referenced this pull request Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Test Results

   855 files  +   22     855 suites  +23   49m 25s ⏱️ + 23m 12s
 8 102 tests ±    0   7 859 ✅ ±    0  243 💤 ±  0  0 ❌ ±0 
20 208 runs  +3 140  19 554 ✅ +2 897  654 💤 +243  0 ❌ ±0 

Results for commit d31e744. ± Comparison against base commit 8603a98.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant