Skip to content

Commit

Permalink
Enable clip-path for layout_2020 (servo#62)
Browse files Browse the repository at this point in the history
Signed-off-by: Chocolate Pie <[email protected]>
  • Loading branch information
chocolate-pie committed Aug 27, 2024
1 parent 3359447 commit 65f8d13
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion style/properties/longhands/svg.mako.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ${helpers.predefined_type(
"clip-path",
"basic_shape::ClipPath",
"generics::basic_shape::ClipPath::None",
engines="gecko",
engines="gecko servo",
extra_prefixes="webkit",
animation_value_type="basic_shape::ClipPath",
spec="https://drafts.fxtf.org/css-masking-1/#propdef-clip-path",
Expand Down
2 changes: 1 addition & 1 deletion style/properties/properties.mako.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2935,7 +2935,7 @@ macro_rules! longhand_properties_idents {
}

// Large pages generate tens of thousands of ComputedValues.
size_of_test!(ComputedValues, 200);
size_of_test!(ComputedValues, 208);
// FFI relies on this.
size_of_test!(Option<Arc<ComputedValues>>, 8);

Expand Down
6 changes: 6 additions & 0 deletions style_static_prefs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ macro_rules! pref {
("layout.css.system-ui.enabled") => {
true
};
("layout.css.basic-shape-rect.enabled") => {
true
};
("layout.css.basic-shape-xywh.enabled") => {
true
};
($string:literal) => {
false
};
Expand Down

0 comments on commit 65f8d13

Please sign in to comment.