Bug 186131
| Summary: | hidden attribute on colgroup col thead tbody tfoot tr td th should have visibility: collapse | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Pieters (:zcorpan) <zcorpan> |
| Component: | Tables | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ahmad.saleem792, ntim |
| Priority: | P2 | Keywords: | WPTImpact |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 8735 | ||
| Bug Blocks: | |||
Simon Pieters (:zcorpan)
Tests: https://github.com/web-platform-tests/wpt/pull/11264
Spec: https://html.spec.whatwg.org/multipage/rendering.html#tables-2
Use case: Filtering a table and using the "hidden" attribute to hide rows causes the widths of the columns to change if it's hidden by display: none. With visibility: collapse the widths of the columns do not change. (Type something in the filter of https://bocoup.github.io/wpt-disabled-tests-report/ for a demo.)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Pieters (:zcorpan)
Update: table cells should still be display: none.
https://github.com/whatwg/html/pull/3736
https://github.com/web-platform-tests/wpt/pull/11339