mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Use cbindgen to back CSS transforms.
This avoids the expensive conversion, and cleans up a bunch. Further cleanup is possible, just not done yet to avoid growing the patch even more. Differential Revision: https://phabricator.services.mozilla.com/D30748
This commit is contained in:
parent
85752fa479
commit
3034d66eef
11 changed files with 59 additions and 356 deletions
|
@ -352,7 +352,6 @@ ${helpers.predefined_type(
|
|||
"generics::transform::Transform::none()",
|
||||
extra_prefixes=transform_extra_prefixes,
|
||||
animation_value_type="ComputedValue",
|
||||
gecko_ffi_name="mSpecifiedTransform",
|
||||
flags="CREATES_STACKING_CONTEXT FIXPOS_CB \
|
||||
GETCS_NEEDS_LAYOUT_FLUSH CAN_ANIMATE_ON_COMPOSITOR",
|
||||
spec="https://drafts.csswg.org/css-transforms/#propdef-transform",
|
||||
|
|
|
@ -81,7 +81,6 @@ ${helpers.predefined_type(
|
|||
"Transform",
|
||||
"generics::transform::Transform::none()",
|
||||
products="gecko",
|
||||
gecko_ffi_name="mSpecifiedWindowTransform",
|
||||
flags="GETCS_NEEDS_LAYOUT_FLUSH",
|
||||
animation_value_type="ComputedValue",
|
||||
spec="None (Nonstandard internal property)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue