Auto merge of #29708 - Loirooriol:outline-serialization, r=mrobinson

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

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #29697 (GitHub issue number if applicable)

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
bors-servo 2023-05-05 16:22:51 +02:00 committed by GitHub
commit 0e6db5266d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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