Skip to content

feat/dart impl is selector#838

Merged
andycall merged 17 commits intomainfrom
feat/dart_impl_is_selector
Feb 1, 2026
Merged

feat/dart impl is selector#838
andycall merged 17 commits intomainfrom
feat/dart_impl_is_selector

Conversation

@andycall
Copy link
Member

@andycall andycall commented Feb 1, 2026

Summary

  • Expose Dart CSSOM via document.styleSheets, including CSSStyleSheet/CSSRule bindings (insert/delete/replace) that keep rule sets in sync and trigger style updates when Blink CSS is disabled.
  • Implement cascade layer parsing and ordering for Dart CSS (inline + @media + @layer + CSSOM), improving specificity tracking, rule collection, and selector matching (adds :is()/:where() forgiving parsing, fixes querySelector coverage).
  • Stabilize layout/styling behavior: ignore invalid gap values, normalize WebkitAlignItems to align-items, preserve transitions when syncing Blink styles, relayout after @font-face registration to trigger font loading, fix % translate reset, and refresh blink-only integration specs/snapshots (default Blink mode off with new blink-only spec group).

…k mode

Tests in specs/blink-only/ are now conditionally included only when
  --enable-blink flag is passed. This allows features like document.styleSheets
  that require Blink mode to be tested separately from the default test suite.
  Blink emits clearStyle + full winning set, which cleared Dart-side inline styles
  and caused transitions to jump to the end state. Defer clearing until after the
  winning properties are applied and then remove only properties not re-sent.
@vercel
Copy link

vercel bot commented Feb 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
use-case Ready Ready Preview, Comment Feb 1, 2026 5:21am
vue_usecase Ready Ready Preview, Comment Feb 1, 2026 5:21am

Request Review

@andycall andycall merged commit 223b1bb into main Feb 1, 2026
30 of 35 checks passed
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