Skip to content

Pin parser behaviour for !important, value lists, and at-rules#4052

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:css-parser-value-rule-tests
Jun 2, 2026
Merged

Pin parser behaviour for !important, value lists, and at-rules#4052
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:css-parser-value-rule-tests

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Jun 2, 2026

Extends StyleSheetStructureTest with value- and at-rule-level cases that lock in the current CSS parser's output, so the engine rework's replacement parser has a behavioural gate to reproduce. New cases cover !important priority handling, optional trailing and stray semicolons, multi-value lists, length and percentage units, unquoted @import URLs, and @media / @font-face tolerance.

The assertions were pinned against the actual Batik parser output rather than assumed. All 21 tests in the class pass.

Extend StyleSheetStructureTest with value- and at-rule-level cases that
lock in the parser output the CSS engine rework's replacement parser must
reproduce: !important priority, optional trailing and stray semicolons,
multi-value lists, length and percentage units, unquoted @import URLs, and
@media / @font-face tolerance.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

Test Results

   861 files  ± 0     861 suites  ±0   58m 43s ⏱️ + 6m 32s
 8 033 tests + 9   7 790 ✅ + 9  243 💤 ±0  0 ❌ ±0 
20 538 runs  +27  19 883 ✅ +27  655 💤 ±0  0 ❌ ±0 

Results for commit 8d1cb21. ± Comparison against base commit bacf493.

@vogella vogella merged commit 2000403 into eclipse-platform:master Jun 2, 2026
18 checks passed
@vogella vogella deleted the css-parser-value-rule-tests branch June 2, 2026 14:05
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