-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add width
and height
presentational hints for table-related elements
#33405
Conversation
🔨 Triggering try run (#10815737864) for Linux WPT |
We may need to handle zero especially in some cases:
Edit: addressed in #33425 |
Test results for linux-wpt-layout-2020 from try job (#10815737864): Flaky unexpected result (27)
Stable unexpected results that are known to be intermittent (15)
Stable unexpected results (10)
|
|
Oh, we are crashing the assert from #33098
|
3ccc607
to
faa1874
Compare
🔨 Triggering try run (#10831392427) for Linux WPT |
Test results for linux-wpt-layout-2020 from try job (#10831392427): Flaky unexpected result (17)
Stable unexpected results that are known to be intermittent (13)
|
✨ Try run (#10831392427) succeeded. |
We were only parsing the `width` attribute as a presentation hint for `<table>`, `<td>` and `<th>`. This patch also handles `<colgroup>` and `<col>`. Also, we weren't parsing `height` at all, now we do it for `<table>`, `<td>`, `<th>`, `<tr>`, `<tbody>`, `<thead>` and `<tfoot>`. One test is now crashing, but this was an existing issue: servo#33423 Signed-off-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
faa1874
to
9b5d3f2
Compare
We were only parsing the
width
attribute as a presentation hint for<table>
,<td>
and<th>
. This patch also handles<colgroup>
and<col>
.Also, we weren't parsing
height
at all, now we do it for<table>
,<td>
,<th>
,<tr>
,<tbody>
,<thead>
and<tfoot>
.One test is now crashing, but this was an existing issue: #33423
./mach build -d
does not report any errors./mach test-tidy
does not report any errors