script: Expose legacy table `cellSpacing`, `cellPadding`, and `align` DOM properties by mrobinson · Pull Request #43903 · servo/servo · GitHub
Skip to content

script: Expose legacy table cellSpacing, cellPadding, and align DOM properties#43903

Merged
TimvdLippe merged 1 commit into
servo:mainfrom
mrobinson:expose-a-few-more-legacy-table-attributes
Apr 3, 2026
Merged

script: Expose legacy table cellSpacing, cellPadding, and align DOM properties#43903
TimvdLippe merged 1 commit into
servo:mainfrom
mrobinson:expose-a-few-more-legacy-table-attributes

Conversation

@mrobinson

Copy link
Copy Markdown
Member

We support these setting these as attributes on the <table> element
itself, so I suppose it also makes sense to support their DOM APIs as
well. This trades a teensy bit of code for compatability with a some old
web content.

Testing: This causes a handful of reflection subtests to start passing. There
isn't much testing for the behavior of the attributes, but this is legacy
behavior so it sort of makes sense.

… DOM properties

We support these setting these as attributes on the `<table>` element
itself, so I suppose it also makes sense to support their DOM APIs as
well. This trades a teensy bit of code for compatability with a some old
web content.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
@mrobinson mrobinson requested a review from gterzian as a code owner April 3, 2026 16:43
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 3, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 3, 2026
@TimvdLippe TimvdLippe added this pull request to the merge queue Apr 3, 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 Apr 3, 2026
Merged via the queue into servo:main with commit b9df624 Apr 3, 2026
33 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 Apr 3, 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.

3 participants