Skip to content

Conversation

@servo-wpt-sync
Copy link
Collaborator

@servo-wpt-sync servo-wpt-sync commented Apr 26, 2025

Previously, spans were partially clamped during layout, but this means
that accessing and setting these properties via script wouldn't behave
according to the HTML specification. In addition, the value wasn't
floored in layout, so could lead to panics. This change improves
clamping and moves it to script.

Testing: This change includes a new WPT test.
Fixes #36699.

Reviewed in servo/servo#36703

Copy link
Collaborator

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

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 changed the title layout: Ensure all rowspans and colspans are at least one script: Clamp table spans according to the HTML specification Apr 27, 2025
@servo-wpt-sync servo-wpt-sync force-pushed the servo_export_36703 branch 2 times, most recently from ad913c2 to 48b7dae Compare April 27, 2025 19:07
Previously, spans were partially clamped during layout, but this means
that accessing and setting these properties via script wouldn't behave
according to the HTML specification. In addition, the value wasn't
floored in layout, so could lead to panics. This change improves
clamping and moves it to script.

Fixes web-platform-tests#36699.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
@servo-wpt-sync servo-wpt-sync merged commit f2938c1 into web-platform-tests:master May 1, 2025
20 checks passed
@servo-wpt-sync servo-wpt-sync deleted the servo_export_36703 branch May 1, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants