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

@ -17,7 +17,7 @@ body {
var passed =
getComputedStyle(body).getPropertyValue("align-self") ==
"stretch";
"auto";
body.textContent = body.className = passed ? "PASS" : "FAIL";
</script>
</body></html>
</body></html>