mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
Add gecko glue for perspective and perspective-origin.
This commit is contained in:
parent
aeb5d34394
commit
ed7945e747
3 changed files with 28 additions and 4 deletions
|
@ -1531,12 +1531,12 @@ ${helpers.single_keyword("resize",
|
|||
${helpers.predefined_type("perspective",
|
||||
"LengthOrNone",
|
||||
"Either::Second(None_)",
|
||||
products="servo",
|
||||
gecko_ffi_name="mChildPerspective",
|
||||
animatable=True)}
|
||||
|
||||
// FIXME: This prop should be animatable
|
||||
// https://drafts.csswg.org/css-transforms/#perspective-origin-property
|
||||
<%helpers:longhand name="perspective-origin" products="servo" animatable="False">
|
||||
<%helpers:longhand name="perspective-origin" animatable="False">
|
||||
use std::fmt;
|
||||
use style_traits::ToCss;
|
||||
use values::HasViewportPercentage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue