mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Parse flex-direction CSS property.
This commit is contained in:
parent
1f9778fad9
commit
45b7ee9bdb
2 changed files with 10 additions and 0 deletions
|
@ -204,4 +204,6 @@ partial interface CSSStyleDeclaration {
|
||||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionTimingFunction;
|
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionTimingFunction;
|
||||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionProperty;
|
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionProperty;
|
||||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionDelay;
|
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString transitionDelay;
|
||||||
|
|
||||||
|
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexDirection;
|
||||||
};
|
};
|
||||||
|
|
|
@ -4746,6 +4746,14 @@ pub mod longhands {
|
||||||
pub use properties::longhands::transition_duration::{get_initial_single_value};
|
pub use properties::longhands::transition_duration::{get_initial_single_value};
|
||||||
pub use properties::longhands::transition_duration::{get_initial_value, parse, parse_one};
|
pub use properties::longhands::transition_duration::{get_initial_value, parse, parse_one};
|
||||||
</%self:longhand>
|
</%self:longhand>
|
||||||
|
|
||||||
|
// CSS Flexible Box Layout Module Level 1
|
||||||
|
// http://www.w3.org/TR/css3-flexbox/
|
||||||
|
|
||||||
|
${new_style_struct("Flex", is_inherited=False)}
|
||||||
|
|
||||||
|
// Flex container properties
|
||||||
|
${single_keyword("flex-direction", "row row-reverse column column-reverse", experimental=True)}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue