servo/components/style/values/specified
Emilio Cobos Álvarez b7773d02d2 style: Make anonymous box wrapping inside XUL boxes be similar to modern flex boxes
I haven't spotted any UI regression from this, and this should generally
make the XUL -> modern flex transition easier, and simplify some
of the relevant code.

This does fix a few layout issues with emulated flexbox.

For the most part, this shouldn't change behavior without that. This
changes behavior if you have mixed inline/non-inline content in the same
XUL box (before they'd get a single item, now you'd get the flexbox /
grid behavior of one item per inline run), and multiple inline-elements
(which would become their own flex items). But I pushed a patch with
some asserts and they didn't fire on our browser mochitests, so I think
we're good.

The UA rule refactoring (removing the inherit from xul anon blocks)
shouldn't matter in practice, since we only have one item (so
box-ordinal is irrelevant) and they have overflow: visible (so
text-overflow and overflow-clip-box shouldn't have an effect).

Differential Revision: https://phabricator.services.mozilla.com/D156375
2023-11-03 08:59:49 +01:00
..
align.rs style: Switch all callsites of try() to try_parse() in the style crate. 2020-06-18 23:51:14 +02:00
angle.rs style: Add experimental support for "e", "pi", and various trigonometric functions in calc() 2023-05-30 23:26:01 +02:00
background.rs style: Switch all callsites of try() to try_parse() in the style crate. 2020-06-18 23:51:14 +02:00
basic_shape.rs style: Remove layout.css.clip-path-path.enabled 2023-05-24 18:32:38 +02:00
border.rs style: Switch all callsites of try() to try_parse() in the style crate. 2020-06-18 23:51:14 +02:00
box.rs style: Make anonymous box wrapping inside XUL boxes be similar to modern flex boxes 2023-11-03 08:59:49 +01:00
calc.rs Further changes required by Servo 2023-10-02 14:37:19 +00:00
color.rs style: Make color-scheme affect Windows' non-native menus 2023-10-02 14:37:19 +00:00
column.rs style: Improve #[derive(Parse)]. 2019-02-23 21:04:44 -08:00
counters.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +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: Improve #[derive(Parse)]. 2019-02-23 21:04:44 -08:00
font.rs style: Make viewport-relative units zoomable via "zoom text only" 2023-10-02 14:37:19 +00:00
gecko.rs style: Run rustfmt on servo/components/style and servo/ports/geckolib 2023-06-09 10:22:19 +02:00
grid.rs style: Switch all callsites of try() to try_parse() in the style crate. 2020-06-18 23:51:14 +02:00
image.rs style: Improve Percentage -> LengthPercentage conversion 2023-08-16 17:46:41 +02:00
length.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: Move line-clamp out of mako and do some adjacent clean-up 2023-11-03 08:59:49 +01:00
motion.rs Reformat with rustfmt 1.4.36-nightly (7de6968 2021-02-07) 2021-02-25 20:31:42 +01:00
outline.rs style: Switch all callsites of try() to try_parse() in the style crate. 2020-06-18 23:51:14 +02: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: Allow to derive Parse/ToCss/SpecifiedValueInfo on bitflags 2023-08-16 17:46:41 +02:00
ratio.rs style: Move Ratio into independent files. 2021-02-26 16:44:05 +01:00
rect.rs style: Use Rust types for some misc properties. 2019-02-23 21:04:33 -08:00
resolution.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
source_size_list.rs style: Add support for parsing container-query-specific features 2023-08-16 17:46:41 +02:00
svg.rs style: Part 1: Add SVG d property in CSS 2023-05-24 18:32:33 +02:00
svg_path.rs style: Run rustfmt on servo/components/style and servo/ports/geckolib 2023-06-09 10:22:19 +02:00
table.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
text.rs style: Migrate <th> text-align behaviour from presentation hint to UA CSS 2023-08-16 17:46:41 +02:00
time.rs style: Centralize calc function parsing. 2020-02-12 02:43:12 +01:00
transform.rs style: Implement transform: perspective(none) 2023-05-24 18:32:43 +02:00
ui.rs style: Run rustfmt on servo/components/style and servo/ports/geckolib 2023-06-09 10:22:19 +02:00
url.rs style: Support full <image> syntax in list-style-image as per spec. 2021-02-26 16:44:05 +01:00