mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
script: Implement CSS.registerProperty
(#38682)
The implementation is mostly equivalent to https://searchfox.org/mozilla-central/source/servo/ports/geckolib/glue.rs#9480. Testing: New web platform tests start to pass --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
3a0e8fefde
commit
43da933247
9 changed files with 185 additions and 46 deletions
|
@ -1,17 +1,6 @@
|
|||
[animation-important-001.html]
|
||||
expected: ERROR
|
||||
[Interpolated value is observable]
|
||||
[Standard property animations appearing via setKeyframes do not override important declarations]
|
||||
expected: FAIL
|
||||
|
||||
[Important rules override animations (::before)]
|
||||
[Custom property animations appearing via setKeyframes do not override important declarations]
|
||||
expected: FAIL
|
||||
|
||||
[Non-overriden interpolations are observable]
|
||||
expected: FAIL
|
||||
|
||||
[Important rules do not override animations on :visited as seen from JS]
|
||||
expected: FAIL
|
||||
|
||||
[Important rules override animations]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
[container-units-computational-independence.html]
|
||||
[Container relative unit cqw is not computationally independent]
|
||||
expected: FAIL
|
||||
|
||||
[Container relative unit cqh is not computationally independent]
|
||||
expected: FAIL
|
||||
|
||||
[Container relative unit cqi is not computationally independent]
|
||||
expected: FAIL
|
||||
|
||||
[Container relative unit cqb is not computationally independent]
|
||||
expected: FAIL
|
||||
|
||||
[Container relative unit cqmin is not computationally independent]
|
||||
expected: FAIL
|
||||
|
||||
[Container relative unit cqmax is not computationally independent]
|
||||
expected: FAIL
|
|
@ -1,5 +1,4 @@
|
|||
[attr-security.html]
|
||||
expected: ERROR
|
||||
[CSS Values and Units Test: attr() security limitations]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -74,3 +73,24 @@
|
|||
|
||||
['--x: image-set(var(--some-string-list))' with data-foo="https://does-not-exist.test/404.png"]
|
||||
expected: FAIL
|
||||
|
||||
['--registered-color: attr(data-foo type(<color>))' with data-foo="blue"]
|
||||
expected: FAIL
|
||||
|
||||
['--x: image-set(var(--some-other-url))' with data-foo="https://does-not-exist.test/404.png"]
|
||||
expected: FAIL
|
||||
|
||||
['--x: image-set(if(style(--true): attr(data-foo);))' with data-foo="https://does-not-exist.test/404.png"]
|
||||
expected: FAIL
|
||||
|
||||
['background-image: image-set(\n if(style(--true): url(https://does-not-exist-2.test/404.png);\n else: attr(data-foo);))' with data-foo="https://does-not-exist-2.test/404.png"]
|
||||
expected: FAIL
|
||||
|
||||
['background-image: image-set(if(style(--true): url(https://does-not-exist.test/404.png);\n style(--condition-val): url(https://does-not-exist.test/404.png);\n else: url(https://does-not-exist.test/404.png);))' with data-foo="attr(data-foo type(*))"]
|
||||
expected: FAIL
|
||||
|
||||
['--x: image-set(if(style(--condition-val: if(style(--true): attr(data-foo type(*));)): url(https://does-not-exist.test/404.png);))' with data-foo="3"]
|
||||
expected: FAIL
|
||||
|
||||
['--x: image-set(if(style(--condition-val >= attr(data-foo type(*))): url(https://does-not-exist.test/404.png);))' with data-foo="3"]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue