mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #11417 - stshine:flex-longhand-properties, r=mbrubeck
Support remaining longhand flexbox style properties for servo - [x] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] There are tests for these changes Add the remaining longhand CSS properties of flexbox for servo, including `flex-wrap`, `flex-grow`, `flex-shrink`, `justify-content`, `align-items`, `align-self` and `align-content`. Tests for the remaining longhand properties are also enabled. Test for default value of `align-self` is modified because the new default value for this property is "auto" is current flexbox CR. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11417) <!-- Reviewable:end -->
This commit is contained in:
commit
f0b3d1e77d
44 changed files with 82 additions and 122 deletions
|
@ -310,7 +310,21 @@ partial interface CSSStyleDeclaration {
|
|||
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexDirection;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-direction;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexWrap;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-wrap;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString justifyContent;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString justify-content;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString alignItems;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString align-items;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString alignContent;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString align-content;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString order;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexBasis;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-basis;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString order;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexGrow;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-grow;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flexShrink;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString flex-shrink;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString alignSelf;
|
||||
[SetterThrows, TreatNullAs=EmptyString] attribute DOMString align-self;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue