servo/components/style/properties/longhands
Emilio Cobos Álvarez ec6099563e style: Implement parsing / serialization for container{,-type,-name} CSS properties
Two noteworthy details that may seem random otherwise:

 * Moving values around in nsStyleDisplay is needed so that the struct
   remains under the size limit that we have to avoid jumping allocator
   buckets.

 * All the test expectation churn is because tests depend on
   `container-type: size` parsing to run, and now they run. Tests for
   the relevant bits I implemented are passing, with the only exception
   of some `container-name-computed.html` failures which are
   https://github.com/w3c/csswg-drafts/issues/7181. Safari agrees with
   us there.

Other notes when looking at the spec and seeing how it matches the
implementation:

 * `container` syntax doesn't match spec, but matches tests and sanity:
   https://github.com/w3c/csswg-drafts/issues/7180

 * `container-type` syntax doesn't _quite_ match spec, but matches tests
   and I think it's a spec bug since the definition for the missing
   keyword is gone:
   https://github.com/w3c/csswg-drafts/issues/7179

Differential Revision: https://phabricator.services.mozilla.com/D142419
2023-08-16 17:46:41 +02:00
..
background.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
border.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
box.mako.rs style: Implement parsing / serialization for container{,-type,-name} CSS properties 2023-08-16 17:46:41 +02:00
column.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
counters.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
effects.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
font.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
inherited_box.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
inherited_svg.mako.rs style: Properly hide -moz-context-properties from content 2023-05-24 18:32:30 +02:00
inherited_table.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
inherited_text.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
inherited_ui.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
list.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
margin.mako.rs Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
outline.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
padding.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
page.mako.rs style: Implement parsing of the page property 2023-06-09 10:22:22 +02:00
position.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
svg.mako.rs Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
table.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
text.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
ui.mako.rs Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
xul.mako.rs style: Rename alias to aliases in Longhand and Shorthand 2021-02-26 16:44:05 +01:00