summaryrefslogtreecommitdiffstats
path: root/servo/components/style/properties/longhands/inherited_box.mako.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /servo/components/style/properties/longhands/inherited_box.mako.rs
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'servo/components/style/properties/longhands/inherited_box.mako.rs')
-rw-r--r--servo/components/style/properties/longhands/inherited_box.mako.rs15
1 files changed, 6 insertions, 9 deletions
diff --git a/servo/components/style/properties/longhands/inherited_box.mako.rs b/servo/components/style/properties/longhands/inherited_box.mako.rs
index 7fd94d1a1f..add367798b 100644
--- a/servo/components/style/properties/longhands/inherited_box.mako.rs
+++ b/servo/components/style/properties/longhands/inherited_box.mako.rs
@@ -4,13 +4,11 @@
<%namespace name="helpers" file="/helpers.mako.rs" />
-<% data.new_style_struct("InheritedBox", inherited=True, gecko_name="Visibility") %>
-
// TODO: collapse. Well, do tables first.
${helpers.single_keyword(
"visibility",
"visible hidden collapse",
- engines="gecko servo-2013 servo-2020",
+ engines="gecko servo",
gecko_ffi_name="mVisible",
animation_value_type="ComputedValue",
spec="https://drafts.csswg.org/css-box/#propdef-visibility",
@@ -23,13 +21,12 @@ ${helpers.single_keyword(
${helpers.single_keyword(
"writing-mode",
"horizontal-tb vertical-rl vertical-lr",
- engines="gecko servo-2013 servo-2020",
+ engines="gecko servo",
extra_gecko_values="sideways-rl sideways-lr",
gecko_aliases="lr=horizontal-tb lr-tb=horizontal-tb \
rl=horizontal-tb rl-tb=horizontal-tb \
tb=vertical-rl tb-rl=vertical-rl",
- servo_2013_pref="layout.writing-mode.enabled",
- servo_2020_pref="layout.writing-mode.enabled",
+ servo_pref="layout.writing-mode.enabled",
animation_value_type="none",
spec="https://drafts.csswg.org/css-writing-modes/#propdef-writing-mode",
gecko_enum_prefix="StyleWritingModeProperty",
@@ -40,8 +37,8 @@ ${helpers.single_keyword(
${helpers.single_keyword(
"direction",
"ltr rtl",
- engines="gecko servo-2013 servo-2020",
- servo_2020_pref="layout.2020.unimplemented",
+ engines="gecko servo",
+ servo_pref="layout.legacy_layout",
animation_value_type="none",
spec="https://drafts.csswg.org/css-writing-modes/#propdef-direction",
gecko_enum_prefix="StyleDirection",
@@ -88,7 +85,7 @@ ${helpers.predefined_type(
"image-rendering",
"ImageRendering",
"computed::ImageRendering::Auto",
- engines="gecko servo-2013 servo-2020",
+ engines="gecko servo",
spec="https://drafts.csswg.org/css-images/#propdef-image-rendering",
animation_value_type="discrete",
affects="paint",