Skip to content

script: set checked element state when cloning input element - #63573

Merged
Loirooriol merged 1 commit into
web-platform-tests:masterfrom
servo:servo_export_48845
Oct 13, 2026
Merged

Loirooriol merged 1 commit into
web-platform-tests:masterfrom
servo:servo_export_48845

Conversation

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

Previously, cloned input elements did not correctly match the :checked pseudoclass, as the cloning steps only set the checkedness of the input and did not update the element state accordingly.

This PR fixes this issue by properly updating both the checkedness and the checked state.

Testing: This adds a new web platform test.

Reviewed in servo/servo#48845

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Servo project.

@servo-wpt-sync servo-wpt-sync added stale-servo-export PRs that were supposed to merge but were not able to do so. and removed do not merge yet labels Oct 12, 2026
@servo-wpt-sync

Copy link
Copy Markdown
Collaborator Author

⛔ The downstream PR has merged (servo/servo#48845), but these changes could not be merged properly. Please address any CI issues and try to merge manually.

@Loirooriol
Loirooriol merged commit 2c3d0bc into web-platform-tests:master Oct 13, 2026
29 checks passed
@Loirooriol
Loirooriol deleted the servo_export_48845 branch October 13, 2026 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

html servo-export stale-servo-export PRs that were supposed to merge but were not able to do so.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants