servo/components/style/values/computed
Emilio Cobos Álvarez 6cfdd989d5 style: Implement <tabpanels> and <deck> without XUL layout
Gijs for front-end bits, layout for the new CSS properties and the
removal of nsDeckFrame / nsStackLayout, Jamie and Morgan for the a11y
changes.

As discussed in the bug, the main tricky part here is handling a11y
correctly. For <deck>, that's trivial (just use `visibility: hidden` to
hide the panels visually, while removing the unselected panels from the
a11y tree).

For <tabpanels> however we need to do something special. We do want to
hide stuff visually, but we want to preserve the contents in the a11y
tree.

For that, the easiest fix is introducing a new privileged CSS property
(-moz-subtree-hidden-only-visually), which takes care of not painting
the frame, but marks stuff offscreen in the accessibility tree. This is
not intended to be a property used widely.

Other than that, the changes are relatively straight-forward, though
some of the accessible/mac changes I could get a sanity-check on.

Differential Revision: https://phabricator.services.mozilla.com/D157875
2023-11-03 08:59:49 +01:00
..
align.rs style: Rustfmt recent changes. 2020-06-04 02:02:50 +02:00
angle.rs style: Use serde to serialize LengthPercentage and StyleRayFunction. 2019-11-04 13:36:32 +01:00
background.rs style: Use rust types for background-size. 2019-02-23 21:02:46 -08:00
basic_shape.rs style: Split clip-path and shape-outside values. 2020-04-16 16:35:07 +02:00
border.rs style: Reformat recent style system changes. 2019-05-29 16:14:30 +02:00
box.rs style: Move line-clamp out of mako and do some adjacent clean-up 2023-11-03 08:59:49 +01:00
color.rs style: Use style interpolation code for gradients 2023-10-02 14:37:19 +00:00
column.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
counters.rs style: [css-lists] Style system changes to support 'reversed(<counter-name>)' 2023-06-09 10:22:18 +02:00
easing.rs style: C++ ComputedTimingFunction uses Rust's timing function calculation 2023-10-02 14:37:19 +00:00
effects.rs Implement support for the drop-shadow filter (#30439) 2023-10-04 11:32:45 +00:00
flex.rs style: Use Rust sizes for flex-basis, width, height, and their min/max properties. 2019-02-23 21:02:18 -08:00
font.rs Further changes required by Servo 2023-10-02 14:37:19 +00:00
image.rs Further changes required by Servo 2023-08-16 17:46:41 +02:00
length.rs style: Make viewport-relative units zoomable via "zoom text only" 2023-10-02 14:37:19 +00:00
length_percentage.rs style: 0% values are not skipped when parsing CSS transform 2023-11-03 08:59:49 +01:00
list.rs style: [css-lists] Remove the internal '-moz-list-reversed' CSS property that is no longer needed 2023-06-09 10:22:19 +02:00
mod.rs style: Implement <tabpanels> and <deck> without XUL layout 2023-11-03 08:59:49 +01:00
motion.rs style: Use Serde for OffsetRotate and PositionOrAuto. 2020-02-12 02:43:14 +01:00
outline.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
page.rs style: Add support for parsing container-query-specific features 2023-08-16 17:46:41 +02:00
percentage.rs style: Use ColorMix for interpolated colors in the computed style rather than ComplexColorRatios 2023-08-16 17:46:41 +02:00
position.rs style: Move Ratio into independent files. 2021-02-26 16:44:05 +01:00
ratio.rs style: Refactor media feature expression representation in preparation to support multi-range syntax 2023-08-16 17:46:41 +02:00
rect.rs style: Use Rust types for some misc properties. 2019-02-23 21:04:33 -08:00
resolution.rs style: Implement parsing and serialization for most of image-set(). 2021-02-26 16:44:05 +01:00
svg.rs style: Use ColorMix for interpolated colors in the computed style rather than ComplexColorRatios 2023-08-16 17:46:41 +02:00
table.rs style: Move caption-side outside of mako. 2021-02-26 16:44:05 +01:00
text.rs style: Remove servo/components/{hashglobe,fallible} in favor of try_reserve 2023-06-09 10:22:24 +02:00
time.rs style: Derive ToResolvedValue. 2019-04-12 12:20:09 +02:00
transform.rs style: Run rustfmt on servo/components/style and servo/ports/geckolib 2023-06-09 10:22:19 +02:00
ui.rs style: Implement <tabpanels> and <deck> without XUL layout 2023-11-03 08:59:49 +01:00
url.rs style: Support full <image> syntax in list-style-image as per spec. 2021-02-26 16:44:05 +01:00