servo/components/style/values/generics
Boris Chiou a41194a318 style: Make <ray-size> optional and default to 'closest-side'
Per the spec update, the new syntax is:
  `ray() = ray( <angle> && <ray-size>? && contain? )`
And for `<ray-size>`:
  "If no <ray-size> is specified it defaults to closest-side."

So `<ray-size>` is optional and we omit it if it's default value, for
serialization.

By the way, offset=* properties are supported only in Gecko, so we don't
need a servo function to check the preference.

Differential Revision: https://phabricator.services.mozilla.com/D171625
2023-11-06 09:35:57 +01:00
..
background.rs style: Fix the serialization of the computed value of background-size. 2019-06-25 13:11:31 +02:00
basic_shape.rs style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
border.rs style: Remove -moz-outline-radius 2023-05-24 18:32:35 +02:00
box.rs style: Share computed animation-iteration-count representation between Servo and Gecko 2023-11-06 09:35:57 +01:00
calc.rs style: Implement CSS exponential functions 2023-11-06 09:35:57 +01:00
color.rs style: Part 3 - Color mixing is done with new color spaces 2023-11-06 09:35:57 +01:00
column.rs style: Derive ToResolvedValue. 2019-04-12 12:20:09 +02:00
counters.rs style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
easing.rs style: Implement ipdl reads without needing default ctors 2023-11-06 09:35:57 +01:00
effects.rs Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
flex.rs style: Miscellaneous servo build fixes. 2020-06-04 01:50:36 +02:00
font.rs style: De-dup items with the same tag in the computed value of font-feature-settings and font-variation-settings 2023-11-06 09:35:57 +01:00
grid.rs style: add subgrid to list of suggestions for grid-template-* properties 2023-11-06 09:35:57 +01:00
image.rs style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
length.rs style: Unprefix -moz-fit-content 2023-05-30 23:26:03 +02:00
mod.rs style: Use Rust's ComputedTimingFunction for IPDL 2023-10-02 14:37:19 +00:00
motion.rs style: Make <ray-size> optional and default to 'closest-side' 2023-11-06 09:35:57 +01:00
page.rs style: Style changes to support the 'page-orientation' property 2023-11-04 08:17:09 +01:00
position.rs style: Implement ipdl reads without needing default ctors 2023-11-06 09:35:57 +01:00
ratio.rs style: Implement Animate trait and ComputeSquaredDistance trait for <ratio>. 2021-02-26 16:44:05 +01:00
rect.rs style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
size.rs style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
svg.rs Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
text.rs style: Resolve <number> to <length> in ToResolvedValue for line-height 2023-11-06 09:35:57 +01:00
transform.rs style: Implement ipdl reads without needing default ctors 2023-11-06 09:35:57 +01:00
ui.rs style: Use write_char in place of write_str when serializing single-character literals 2023-11-06 09:35:57 +01:00
url.rs style: Update cbindgen. 2019-09-12 22:34:16 +02:00