Skip to content

layout: Only apply form in table UA style rule in HTML documents - #44920

Merged
Loirooriol merged 1 commit into
servo:mainfrom
avis137:ua-html-only
May 20, 2026
Merged

Loirooriol merged 1 commit into
servo:mainfrom
avis137:ua-html-only

Conversation

@avis137

@avis137 avis137 commented May 14, 2026

Copy link
Copy Markdown
Contributor

Follows-up #44837, which applied this rule in all documents. This PR adds a separate stylesheet for HTML documents, as suggested in #44886 (comment), which turned out way simpler than I somehow had expected.

Testing: more WPT tests passing
Fixes: #44886, as this rule appears to be the only case where a distinction between HTML and non-HTML documents is needed

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 14, 2026
@avis137 avis137 changed the title Layout: Only apply form in table UA style rule in HTML documents layout: Only apply form in table UA style rule in HTML documents May 14, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label May 20, 2026
@Loirooriol
Loirooriol added this pull request to the merge queue May 20, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 20, 2026
Merged via the queue into servo:main with commit dc6f057 May 20, 2026
30 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 20, 2026
@avis137
avis137 deleted the ua-html-only branch May 21, 2026 19:20
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.

Can't distinguish HTML and non-HTML documents in UA stylesheets

3 participants