Implement outline-offset in layout-2020

Tests that are now passing:
- /_mozilla/css/outline_offset_a.htm
- /css/css-ui/outline-010.html
- /css/css-ui/outline-012.html
- /css/css-ui/outline-013.html
- /css/css-ui/outline-017.html
- /css/css-ui/outline-negative-offset-composited-scroll.html
- /css/css-ui/outline-offset-001.html
- /css/css-ui/outline-offset-table-001.html
- /css/css-ui/outline-offset.html
- /css/css-ui/parsing/outline-offset-computed.html
- /css/css-ui/parsing/outline-offset-valid.html

Also improvements in:
- /_mozilla/mozilla/calc.html
- /css/css-ui/animation/outline-offset-interpolation.html
- /css/css-ui/inheritance.html
This commit is contained in:
Oriol Brufau 2023-05-02 01:24:53 +02:00
parent 0cffe557c2
commit 16b07ee456
16 changed files with 30 additions and 340 deletions

View file

@ -2,147 +2,54 @@
[Web Animations: property <outline-offset> from [inherit\] to [20px\] at (-0.3) should be [33px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [initial\] to [20px\] at (1.5) should be [30px\]]
expected: FAIL
[Web Animations: property <outline-offset> from neutral to [20px\] at (1) should be [20px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from neutral to [20px\] at (1.5) should be [25px\]]
expected: FAIL
[Web Animations: property <outline-offset> from neutral to [20px\] at (0.6) should be [16px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [unset\] to [20px\] at (0) should be [0px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [initial\] to [20px\] at (0.3) should be [6px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [unset\] to [20px\] at (0.6) should be [12px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [-5px\] to [5px\] at (0.3) should be [-2px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [inherit\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from neutral to [20px\] at (0.3) should be [13px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from neutral to [20px\] at (0.6) should be [16px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [initial\] to [20px\] at (0.6) should be [12px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [inherit\] to [20px\] at (-0.3) should be [33px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [initial\] to [20px\] at (-0.3) should be [-6px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from neutral to [20px\] at (-0.3) should be [7px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [initial\] to [20px\] at (1.5) should be [30px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [initial\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [initial\] to [20px\] at (0) should be [0px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [initial\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [unset\] to [20px\] at (0.3) should be [6px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [inherit\] to [20px\] at (0) should be [30px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [initial\] to [20px\] at (1.5) should be [30px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from neutral to [20px\] at (1.5) should be [25px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [-5px\] to [5px\] at (1.5) should be [10px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [inherit\] to [20px\] at (0.3) should be [27px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from neutral to [20px\] at (1) should be [20px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [inherit\] to [20px\] at (1.5) should be [15px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [initial\] to [20px\] at (0.6) should be [12px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [-5px\] to [5px\] at (-0.3) should be [-8px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [-5px\] to [5px\] at (0.6) should be [1px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [inherit\] to [20px\] at (0.3) should be [27px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from neutral to [20px\] at (0) should be [10px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [-5px\] to [5px\] at (1.5) should be [10px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [-5px\] to [5px\] at (0.6) should be [1px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [inherit\] to [20px\] at (0.3) should be [27px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [-5px\] to [5px\] at (0) should be [-5px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [unset\] to [20px\] at (-0.3) should be [-6px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [initial\] to [20px\] at (1.5) should be [30px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [-5px\] to [5px\] at (1) should be [5px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [unset\] to [20px\] at (1.5) should be [30px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [-5px\] to [5px\] at (0.3) should be [-2px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [unset\] to [20px\] at (0.3) should be [6px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [initial\] to [20px\] at (0) should be [0px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [inherit\] to [20px\] at (0) should be [30px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [unset\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[Web Animations: property <outline-offset> from neutral to [20px\] at (1.5) should be [25px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [-5px\] to [5px\] at (0.3) should be [-2px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [unset\] to [20px\] at (1) should be [20px\]]
expected: FAIL
@ -152,209 +59,32 @@
[Web Animations: property <outline-offset> from neutral to [20px\] at (0) should be [10px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from neutral to [20px\] at (1) should be [20px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [initial\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [initial\] to [20px\] at (-0.3) should be [-6px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [initial\] to [20px\] at (-0.3) should be [-6px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [unset\] to [20px\] at (1.5) should be [30px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from neutral to [20px\] at (1) should be [20px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [unset\] to [20px\] at (1.5) should be [30px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [-5px\] to [5px\] at (1.5) should be [10px\]]
expected: FAIL
[Web Animations: property <outline-offset> from neutral to [20px\] at (-0.3) should be [7px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from neutral to [20px\] at (-0.3) should be [7px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [initial\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [initial\] to [20px\] at (0.3) should be [6px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [-5px\] to [5px\] at (1) should be [5px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [-5px\] to [5px\] at (0.6) should be [1px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [unset\] to [20px\] at (1.5) should be [30px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [inherit\] to [20px\] at (1.5) should be [15px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [-5px\] to [5px\] at (1.5) should be [10px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [initial\] to [20px\] at (0.3) should be [6px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [unset\] to [20px\] at (0.6) should be [12px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [inherit\] to [20px\] at (0) should be [30px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [unset\] to [20px\] at (-0.3) should be [-6px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [unset\] to [20px\] at (-0.3) should be [-6px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [inherit\] to [20px\] at (0.3) should be [27px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [initial\] to [20px\] at (0.6) should be [12px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [inherit\] to [20px\] at (-0.3) should be [33px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [unset\] to [20px\] at (0.6) should be [12px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [initial\] to [20px\] at (0) should be [0px\]]
expected: FAIL
[Web Animations: property <outline-offset> from neutral to [20px\] at (0.3) should be [13px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [initial\] to [20px\] at (0.6) should be [12px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from neutral to [20px\] at (0.3) should be [13px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [initial\] to [20px\] at (0.3) should be [6px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [unset\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [inherit\] to [20px\] at (1.5) should be [15px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [inherit\] to [20px\] at (1.5) should be [15px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [inherit\] to [20px\] at (0) should be [30px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [inherit\] to [20px\] at (0.6) should be [24px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from neutral to [20px\] at (1.5) should be [25px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [initial\] to [20px\] at (0) should be [0px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [-5px\] to [5px\] at (0.6) should be [1px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [inherit\] to [20px\] at (-0.3) should be [33px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from neutral to [20px\] at (0.3) should be [13px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [-5px\] to [5px\] at (0) should be [-5px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [inherit\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [unset\] to [20px\] at (0) should be [0px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [unset\] to [20px\] at (0.3) should be [6px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from neutral to [20px\] at (0.6) should be [16px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from neutral to [20px\] at (-0.3) should be [7px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [inherit\] to [20px\] at (0.6) should be [24px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from neutral to [20px\] at (0) should be [10px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [inherit\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [-5px\] to [5px\] at (-0.3) should be [-8px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from neutral to [20px\] at (0) should be [10px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [unset\] to [20px\] at (0) should be [0px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [unset\] to [20px\] at (-0.3) should be [-6px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [unset\] to [20px\] at (0.6) should be [12px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [inherit\] to [20px\] at (0.6) should be [24px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [-5px\] to [5px\] at (-0.3) should be [-8px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [initial\] to [20px\] at (-0.3) should be [-6px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [-5px\] to [5px\] at (-0.3) should be [-8px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [-5px\] to [5px\] at (0) should be [-5px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [-5px\] to [5px\] at (1) should be [5px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [inherit\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[CSS Transitions: property <outline-offset> from [-5px\] to [5px\] at (0.3) should be [-2px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [inherit\] to [20px\] at (0.6) should be [24px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from neutral to [20px\] at (0.6) should be [16px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [unset\] to [20px\] at (1) should be [20px\]]
expected: FAIL
[CSS Transitions with transition: all: property <outline-offset> from [-5px\] to [5px\] at (0) should be [-5px\]]
expected: FAIL
[CSS Animations: property <outline-offset> from [unset\] to [20px\] at (0.3) should be [6px\]]
expected: FAIL
[Web Animations: property <outline-offset> from [unset\] to [20px\] at (0) should be [0px\]]
expected: FAIL

View file

@ -41,12 +41,6 @@
[Property nav-up does not inherit]
expected: FAIL
[Property outline-offset has initial value 0px]
expected: FAIL
[Property outline-offset does not inherit]
expected: FAIL
[Property resize has initial value none]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline-010.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline-012.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline-013.html]
expected: FAIL

View file

@ -1,3 +0,0 @@
[outline-017.html]
[outline-offset is animated as a length]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline-negative-offset-composited-scroll.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline-offset-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline-offset-table-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline-offset.html]
expected: FAIL

View file

@ -1,15 +0,0 @@
[outline-offset-computed.html]
[Property outline-offset value '2.5px']
expected: FAIL
[Property outline-offset value '0.5em']
expected: FAIL
[Property outline-offset value 'calc(10px + 0.5em)']
expected: FAIL
[Property outline-offset value 'calc(10px - 0.5em)']
expected: FAIL
[Property outline-offset value '10px']
expected: FAIL

View file

@ -1,12 +0,0 @@
[outline-offset-valid.html]
[e.style['outline-offset'\] = "calc(3rem + 4vw)" should set the property value]
expected: FAIL
[e.style['outline-offset'\] = "0" should set the property value]
expected: FAIL
[e.style['outline-offset'\] = "1px" should set the property value]
expected: FAIL
[e.style['outline-offset'\] = "2em" should set the property value]
expected: FAIL

View file

@ -1,2 +0,0 @@
[outline_offset_a.html]
expected: FAIL

View file

@ -19,6 +19,3 @@
[calc for column-width]
expected: FAIL
[calc for outline-offset]
expected: FAIL