Add remaining longhand flexbox style properties

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.
This commit is contained in:
Pu Xingyu 2016-05-06 08:10:43 +08:00
parent 52f17a8814
commit a7733b38d4
42 changed files with 44 additions and 111 deletions

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-content-center.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-content-flex-end.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-content-flex-start.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-content-space-around.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-content-space-between.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-items-baseline.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-items-center.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-items-flex-end.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-items-flex-start.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-items-invalid.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-items-stretch.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-self-baseline.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-self-center.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-self-flex-end.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-self-flex-start.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-self-invalid.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_align-self-stretch.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +1,3 @@
[flexbox_computedstyle_flex-flow-nowrap.htm]
type: reftest
expected: FAIL
expected: PASS

View file

@ -1,3 +1,3 @@
[flexbox_computedstyle_flex-flow-row-nowrap.htm]
type: reftest
expected: FAIL
expected: PASS

View file

@ -1,3 +1,3 @@
[flexbox_computedstyle_flex-flow-row.htm]
type: reftest
expected: FAIL
expected: PASS

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-grow-0.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-grow-invalid.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-grow-number.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +1,3 @@
[flexbox_computedstyle_flex-shorthand-0-auto.htm]
type: reftest
expected: FAIL
expected: PASS

View file

@ -1,3 +1,3 @@
[flexbox_computedstyle_flex-shorthand-initial.htm]
type: reftest
expected: FAIL
expected: PASS

View file

@ -1,3 +1,3 @@
[flexbox_computedstyle_flex-shorthand-invalid.htm]
type: reftest
expected: FAIL
expected: PASS

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-shrink-0.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-shrink-invalid.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-shrink-number.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-wrap-invalid.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-wrap-nowrap.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-wrap-wrap-reverse.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_flex-wrap-wrap.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_justify-content-center.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_justify-content-flex-end.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_justify-content-flex-start.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_justify-content-space-around.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[flexbox_computedstyle_justify-content-space-between.htm]
type: reftest
expected: FAIL