layout: Respond to shorthand property requests with real values (#31277)

* Respond to shorthand property requests with real values

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

* Cleanup formatting and old comments

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

* Update WPT expectations

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

* Refactor out helper fn

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

* Cleanup

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

---------

Signed-off-by: Sebastian C <sebsebmc@gmail.com>
This commit is contained in:
Sebastian C 2024-02-10 17:15:17 -06:00 committed by GitHub
parent 0342d6beb0
commit 19667e117a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 155 additions and 1666 deletions

View file

@ -1,88 +1,3 @@
[background-position-computed.html]
[Property background-position value 'center left']
expected: FAIL
[Property background-position value 'center right 7%']
expected: FAIL
[Property background-position value '12px 13px, 50% 6px, 30px -10px']
expected: FAIL
[Property background-position value 'bottom']
expected: FAIL
[Property background-position value 'right 11% bottom']
expected: FAIL
[Property background-position value 'right 9%']
expected: FAIL
[Property background-position value 'bottom 16% left']
expected: FAIL
[Property background-position value '5% top']
expected: FAIL
[Property background-position value 'left']
expected: FAIL
[Property background-position value '-2% -3%']
expected: FAIL
[Property background-position value 'calc(10px + 0.5em) calc(10px - 0.5em)']
expected: FAIL
[Property background-position value 'center 6px']
expected: FAIL
[Property background-position value 'center center']
expected: FAIL
[Property background-position value 'left bottom']
expected: FAIL
[Property background-position value 'right top 14%']
expected: FAIL
[Property background-position value 'left 10px center']
expected: FAIL
[Property background-position value 'bottom center']
expected: FAIL
[Property background-position value 'left 12px top 13px']
expected: FAIL
[Property background-position value 'right center']
expected: FAIL
[Property background-position value 'center']
expected: FAIL
[Property background-position value 'center top 8px']
expected: FAIL
[Property background-position value '1px center']
expected: FAIL
[Property background-position value 'bottom right 19%']
expected: FAIL
[Property background-position value 'calc(10px - 0.5em) calc(10px + 0.5em)']
expected: FAIL
[Property background-position value 'top 15px center']
expected: FAIL
[Property background-position value '1px']
expected: FAIL
[Property background-position value 'top 17px right -18px']
expected: FAIL
[Property background-position value 'top left']
expected: FAIL
[Property background-position value 'center bottom']
expected: FAIL