Auto merge of #29748 - Loirooriol:sync, r=mrobinson

Backport several style changes from Gecko

<!-- 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
- [ ] These changes fix #___ (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-19 22:49:36 +02:00 committed by GitHub
commit 2426a38a4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
101 changed files with 2063 additions and 1553 deletions

View file

@ -1,12 +0,0 @@
[clamp-length-computed.html]
[Property letter-spacing value 'clamp(10px, 35px , 30px)']
expected: FAIL
[Property letter-spacing value 'clamp(10px, 35px /*foo*/, 30px)']
expected: FAIL
[Property letter-spacing value 'clamp(10px /* foo */ , 35px, 30px)']
expected: FAIL
[Property letter-spacing value 'clamp(10px , 35px, 30px)']
expected: FAIL

View file

@ -1,7 +1,4 @@
[inheritance.html]
[Property text-justify inherits]
expected: FAIL
[Property text-align-all has initial value start]
expected: FAIL

View file

@ -1,3 +0,0 @@
[text-justify-computed-legacy.html]
[Property text-justify value 'distribute']
expected: FAIL

View file

@ -1,7 +1,3 @@
[text-justify-computed.html]
[Property text-justify value 'inter-character' computes to 'inter-character']
expected: FAIL
[Property text-justify value 'inter-character']
expected: FAIL

View file

@ -1,4 +0,0 @@
[text-justify-valid.html]
[e.style['text-justify'\] = "inter-character" should set the property value]
expected: FAIL

View file

@ -1,3 +0,0 @@
[distribute-alias.tentative.html]
[text-justify: distribute is a parse-time alias of inter-character]
expected: FAIL

View file

@ -47,18 +47,6 @@
[CSS Transitions: property <text-justify> from [auto\] to [inter-character\] at (0.3) should be [inter-character\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [auto\] to [inter-character\] at (0.5) should be [inter-character\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [auto\] to [inter-character\] at (0.6) should be [inter-character\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [auto\] to [inter-character\] at (1) should be [inter-character\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [auto\] to [inter-character\] at (1.5) should be [inter-character\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [auto\] to [inter-character\] at (-0.3) should be [inter-character\]]
expected: FAIL
@ -68,39 +56,6 @@
[CSS Transitions with transition: all: property <text-justify> from [auto\] to [inter-character\] at (0.3) should be [inter-character\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [auto\] to [inter-character\] at (0.5) should be [inter-character\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [auto\] to [inter-character\] at (0.6) should be [inter-character\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [auto\] to [inter-character\] at (1) should be [inter-character\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [auto\] to [inter-character\] at (1.5) should be [inter-character\]]
expected: FAIL
[CSS Animations: property <text-justify> from [auto\] to [inter-character\] at (-0.3) should be [auto\]]
expected: FAIL
[CSS Animations: property <text-justify> from [auto\] to [inter-character\] at (0) should be [auto\]]
expected: FAIL
[CSS Animations: property <text-justify> from [auto\] to [inter-character\] at (0.3) should be [auto\]]
expected: FAIL
[CSS Animations: property <text-justify> from [auto\] to [inter-character\] at (0.5) should be [inter-character\]]
expected: FAIL
[CSS Animations: property <text-justify> from [auto\] to [inter-character\] at (0.6) should be [inter-character\]]
expected: FAIL
[CSS Animations: property <text-justify> from [auto\] to [inter-character\] at (1) should be [inter-character\]]
expected: FAIL
[CSS Animations: property <text-justify> from [auto\] to [inter-character\] at (1.5) should be [inter-character\]]
expected: FAIL
[Web Animations: property <text-justify> from [auto\] to [inter-character\] at (-0.3) should be [auto\]]
expected: FAIL
@ -131,60 +86,6 @@
[CSS Transitions: property <text-justify> from [inter-character\] to [distribute\] at (0.3) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-character\] to [distribute\] at (0.5) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-character\] to [distribute\] at (0.6) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-character\] to [distribute\] at (1) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-character\] to [distribute\] at (1.5) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-character\] to [distribute\] at (-0.3) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-character\] to [distribute\] at (0) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-character\] to [distribute\] at (0.3) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-character\] to [distribute\] at (0.5) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-character\] to [distribute\] at (0.6) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-character\] to [distribute\] at (1) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-character\] to [distribute\] at (1.5) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-character\] to [distribute\] at (-0.3) should be [inter-character\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-character\] to [distribute\] at (0) should be [inter-character\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-character\] to [distribute\] at (0.3) should be [inter-character\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-character\] to [distribute\] at (0.5) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-character\] to [distribute\] at (0.6) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-character\] to [distribute\] at (1) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-character\] to [distribute\] at (1.5) should be [distribute\]]
expected: FAIL
[Web Animations: property <text-justify> from [inter-character\] to [distribute\] at (-0.3) should be [inter-character\]]
expected: FAIL
@ -215,18 +116,6 @@
[CSS Transitions: property <text-justify> from [inter-word\] to [distribute\] at (0.3) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-word\] to [distribute\] at (0.5) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-word\] to [distribute\] at (0.6) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-word\] to [distribute\] at (1) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-word\] to [distribute\] at (1.5) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-word\] to [distribute\] at (-0.3) should be [distribute\]]
expected: FAIL
@ -236,39 +125,6 @@
[CSS Transitions with transition: all: property <text-justify> from [inter-word\] to [distribute\] at (0.3) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-word\] to [distribute\] at (0.5) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-word\] to [distribute\] at (0.6) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-word\] to [distribute\] at (1) should be [distribute\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [inter-word\] to [distribute\] at (1.5) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-word\] to [distribute\] at (-0.3) should be [inter-word\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-word\] to [distribute\] at (0) should be [inter-word\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-word\] to [distribute\] at (0.3) should be [inter-word\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-word\] to [distribute\] at (0.5) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-word\] to [distribute\] at (0.6) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-word\] to [distribute\] at (1) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [inter-word\] to [distribute\] at (1.5) should be [distribute\]]
expected: FAIL
[Web Animations: property <text-justify> from [inter-word\] to [distribute\] at (-0.3) should be [inter-word\]]
expected: FAIL
@ -299,18 +155,6 @@
[CSS Transitions: property <text-justify> from [distribute\] to [none\] at (0.3) should be [none\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [distribute\] to [none\] at (0.5) should be [none\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [distribute\] to [none\] at (0.6) should be [none\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [distribute\] to [none\] at (1) should be [none\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [distribute\] to [none\] at (1.5) should be [none\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [distribute\] to [none\] at (-0.3) should be [none\]]
expected: FAIL
@ -320,39 +164,6 @@
[CSS Transitions with transition: all: property <text-justify> from [distribute\] to [none\] at (0.3) should be [none\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [distribute\] to [none\] at (0.5) should be [none\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [distribute\] to [none\] at (0.6) should be [none\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [distribute\] to [none\] at (1) should be [none\]]
expected: FAIL
[CSS Transitions with transition: all: property <text-justify> from [distribute\] to [none\] at (1.5) should be [none\]]
expected: FAIL
[CSS Animations: property <text-justify> from [distribute\] to [none\] at (-0.3) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [distribute\] to [none\] at (0) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [distribute\] to [none\] at (0.3) should be [distribute\]]
expected: FAIL
[CSS Animations: property <text-justify> from [distribute\] to [none\] at (0.5) should be [none\]]
expected: FAIL
[CSS Animations: property <text-justify> from [distribute\] to [none\] at (0.6) should be [none\]]
expected: FAIL
[CSS Animations: property <text-justify> from [distribute\] to [none\] at (1) should be [none\]]
expected: FAIL
[CSS Animations: property <text-justify> from [distribute\] to [none\] at (1.5) should be [none\]]
expected: FAIL
[Web Animations: property <text-justify> from [distribute\] to [none\] at (-0.3) should be [distribute\]]
expected: FAIL
@ -373,39 +184,3 @@
[Web Animations: property <text-justify> from [distribute\] to [none\] at (1.5) should be [none\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [auto\] to [inter-character\] at (-0.3) should be [auto\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [auto\] to [inter-character\] at (0) should be [auto\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [auto\] to [inter-character\] at (0.3) should be [auto\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-character\] to [distribute\] at (-0.3) should be [inter-character\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-character\] to [distribute\] at (0) should be [inter-character\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-character\] to [distribute\] at (0.3) should be [inter-character\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-word\] to [distribute\] at (-0.3) should be [inter-word\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-word\] to [distribute\] at (0) should be [inter-word\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [inter-word\] to [distribute\] at (0.3) should be [inter-word\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [distribute\] to [none\] at (-0.3) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [distribute\] to [none\] at (0) should be [distribute\]]
expected: FAIL
[CSS Transitions: property <text-justify> from [distribute\] to [none\] at (0.3) should be [distribute\]]
expected: FAIL

View file

@ -10,15 +10,3 @@
[Property letter-spacing value 'clamp(10px, 20px, 30px)' computes to '20px']
expected: FAIL
[Property letter-spacing value 'clamp(10px, 35px , 30px)']
expected: FAIL
[Property letter-spacing value 'clamp(10px, 35px /*foo*/, 30px)']
expected: FAIL
[Property letter-spacing value 'clamp(10px /* foo */ , 35px, 30px)']
expected: FAIL
[Property letter-spacing value 'clamp(10px , 35px, 30px)']
expected: FAIL

View file

@ -4402,3 +4402,9 @@
[expression_should_be_unknown: overflow-block: optional-paged]
expected: FAIL
[expression_should_be_parseable: width > = 0px]
expected: FAIL
[expression_should_be_parseable: width < = 0px]
expected: FAIL