Improve serialization of the outline shorthand

This is a backport of https://phabricator.services.mozilla.com/D155569,
by Connor Pearson.

Test: /css/css-ui/parsing/outline-valid-mandatory.html
This commit is contained in:
Oriol Brufau 2023-05-03 23:20:32 +02:00
parent f29834608a
commit 960f496948
3 changed files with 22 additions and 116 deletions

View file

@ -1,57 +0,0 @@
[outline-valid-mandatory.html]
[e.style['outline'\] = "double" should set the property value]
expected: FAIL
[e.style['outline'\] = "thick" should set the property value]
expected: FAIL
[e.style['outline'\] = "medium" should set the property value]
expected: FAIL
[e.style['outline'\] = "solid" should set the property value]
expected: FAIL
[e.style['outline'\] = "dashed thin" should set the property value]
expected: FAIL
[e.style['outline'\] = "1px" should set the property value]
expected: FAIL
[e.style['outline'\] = "dotted" should set the property value]
expected: FAIL
[e.style['outline'\] = "auto" should set the property value]
expected: FAIL
[e.style['outline'\] = "inset" should set the property value]
expected: FAIL
[e.style['outline'\] = "dashed" should set the property value]
expected: FAIL
[e.style['outline'\] = "ridge" should set the property value]
expected: FAIL
[e.style['outline'\] = "outset" should set the property value]
expected: FAIL
[e.style['outline'\] = "none" should set the property value]
expected: FAIL
[e.style['outline'\] = "calc(2em + 3ex)" should set the property value]
expected: FAIL
[e.style['outline'\] = "medium rgba(10, 20, 30, 0.4)" should set the property value]
expected: FAIL
[e.style['outline'\] = "rgba(10, 20, 30, 0.4)" should set the property value]
expected: FAIL
[e.style['outline'\] = "groove" should set the property value]
expected: FAIL
[e.style['outline'\] = "0" should set the property value]
expected: FAIL
[e.style['outline'\] = "thin" should set the property value]
expected: FAIL

View file

@ -1,58 +0,0 @@
[outline-valid-mandatory.html]
[e.style['outline'\] = "rgba(10, 20, 30, 0.4)" should set the property value]
expected: FAIL
[e.style['outline'\] = "auto" should set the property value]
expected: FAIL
[e.style['outline'\] = "none" should set the property value]
expected: FAIL
[e.style['outline'\] = "dotted" should set the property value]
expected: FAIL
[e.style['outline'\] = "dashed" should set the property value]
expected: FAIL
[e.style['outline'\] = "solid" should set the property value]
expected: FAIL
[e.style['outline'\] = "double" should set the property value]
expected: FAIL
[e.style['outline'\] = "groove" should set the property value]
expected: FAIL
[e.style['outline'\] = "ridge" should set the property value]
expected: FAIL
[e.style['outline'\] = "inset" should set the property value]
expected: FAIL
[e.style['outline'\] = "outset" should set the property value]
expected: FAIL
[e.style['outline'\] = "0" should set the property value]
expected: FAIL
[e.style['outline'\] = "1px" should set the property value]
expected: FAIL
[e.style['outline'\] = "calc(2em + 3ex)" should set the property value]
expected: FAIL
[e.style['outline'\] = "thin" should set the property value]
expected: FAIL
[e.style['outline'\] = "medium" should set the property value]
expected: FAIL
[e.style['outline'\] = "thick" should set the property value]
expected: FAIL
[e.style['outline'\] = "dashed thin" should set the property value]
expected: FAIL
[e.style['outline'\] = "medium rgba(10, 20, 30, 0.4)" should set the property value]
expected: FAIL