Skip to content

Match shadowrootmode keywords ASCII case-insensitively - #818

Closed
kdevrou wants to merge 1 commit into
servo:mainfrom
kdevrou:shadowrootmode-case-insensitive
Closed

kdevrou wants to merge 1 commit into
servo:mainfrom
kdevrou:shadowrootmode-case-insensitive

Conversation

@kdevrou

@kdevrou kdevrou commented Dec 3, 2026

Copy link
Copy Markdown

Fixes #814.

shadowrootmode is an enumerated attribute, so its keywords match ASCII case-insensitively. This compares open and closed with eq_ignore_ascii_case and adds a test in html5ever/tests/driver.rs.

🤖 Generated with Claude Code

shadowrootmode is an enumerated attribute, so "OPEN" or "Closed" must
attach a declarative shadow root too. Fixes servo#814.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mrobinson mrobinson closed this Dec 4, 2026
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.

Declarative shadowrootmode keyword matching should be ASCII case-insensitive

2 participants