servo/components/layout_2020
Oriol Brufau 6e80a34d09
Simplify table logic in effective_overflow() (#33431)
On tables, we need to treat an overflow value of `scroll` or `auto` as
`visible`. Both `scroll` or `auto` are scrollable, which implies that
the other axis must also have a scrollable value.

Therefore, when we make the value behave as the non-scrollable `visible`,
we need to adjust the other axis too.

The previous logic was checking `is_scrollable()` but that wasn't
necessary, since computed values must have the same scrollability.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-09-13 07:31:23 +00:00
..
display_list Let table-related boxes adjust their overflow values (#33400) 2024-09-11 15:30:17 +00:00
flexbox Cleanup after #33396 (#33429) 2024-09-12 19:23:17 +00:00
flow Cleanup after #33396 (#33429) 2024-09-12 19:23:17 +00:00
fragment_tree Let table-related boxes adjust their overflow values (#33400) 2024-09-11 15:30:17 +00:00
table Cleanup after #33396 (#33429) 2024-09-12 19:23:17 +00:00
tests layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
Cargo.toml layout: Stop using unicode-segmentation in layout (#33250) 2024-08-29 14:51:39 +00:00
cell.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
context.rs Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
dom.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
dom_traversal.rs layout: Fix display of new text in textarea elements (#32886) 2024-07-30 14:39:17 +00:00
formatting_contexts.rs layout: Use Au in ComputedValuesExt (#33396) 2024-09-10 21:35:17 +00:00
geom.rs Cleanup after #33396 (#33429) 2024-09-12 19:23:17 +00:00
layout_debug.rs clippy: Fix warnings in shared and config, fonts, layout, and layout_2020 components (#32674) 2024-07-04 14:18:58 +00:00
lib.rs layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
lists.rs layout: Add a basic support for list-style-position: outside (#32114) 2024-04-22 14:23:35 +00:00
positioned.rs layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
query.rs layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
replaced.rs layout: Right-to-left support for other layout modes (#33375) 2024-09-11 13:40:11 +00:00
sizing.rs Fix various issues with replaced elements in flex layout (#33263) 2024-08-30 23:39:18 +00:00
style_ext.rs Simplify table logic in effective_overflow() (#33431) 2024-09-13 07:31:23 +00:00
traversal.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00