Support for the isolation CSS property (#35552)

* Support for the isolation CSS property

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>

* Temporarily bump stylo to refs/pull/125/head for testing

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>

* Remove FAIL expectation of CSS isolation tests

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>

* Add behavior test

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

* Revert temporary changes in Cargo.toml

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>

---------

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Kingsley Yung 2025-02-25 00:25:34 +08:00 committed by GitHub
parent d42146ce91
commit fc14b10099
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 60 additions and 144 deletions

View file

@ -1,67 +1,4 @@
[isolation-no-interpolation.html]
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (-0.3) should be [initial\]]
expected: FAIL
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (0) should be [initial\]]
expected: FAIL
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (0.3) should be [initial\]]
expected: FAIL
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (0.5) should be [isolate\]]
expected: FAIL
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (0.6) should be [isolate\]]
expected: FAIL
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (1) should be [isolate\]]
expected: FAIL
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (1.5) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition: all: property <isolation> from [initial\] to [isolate\] at (-0.3) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition: all: property <isolation> from [initial\] to [isolate\] at (0) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition: all: property <isolation> from [initial\] to [isolate\] at (0.3) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition: all: property <isolation> from [initial\] to [isolate\] at (0.5) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition: all: property <isolation> from [initial\] to [isolate\] at (0.6) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition: all: property <isolation> from [initial\] to [isolate\] at (1) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition: all: property <isolation> from [initial\] to [isolate\] at (1.5) should be [isolate\]]
expected: FAIL
[CSS Animations: property <isolation> from [initial\] to [isolate\] at (-0.3) should be [initial\]]
expected: FAIL
[CSS Animations: property <isolation> from [initial\] to [isolate\] at (0) should be [initial\]]
expected: FAIL
[CSS Animations: property <isolation> from [initial\] to [isolate\] at (0.3) should be [initial\]]
expected: FAIL
[CSS Animations: property <isolation> from [initial\] to [isolate\] at (0.5) should be [isolate\]]
expected: FAIL
[CSS Animations: property <isolation> from [initial\] to [isolate\] at (0.6) should be [isolate\]]
expected: FAIL
[CSS Animations: property <isolation> from [initial\] to [isolate\] at (1) should be [isolate\]]
expected: FAIL
[CSS Animations: property <isolation> from [initial\] to [isolate\] at (1.5) should be [isolate\]]
expected: FAIL
[Web Animations: property <isolation> from [initial\] to [isolate\] at (-0.3) should be [initial\]]
expected: FAIL
@ -82,54 +19,3 @@
[Web Animations: property <isolation> from [initial\] to [isolate\] at (1.5) should be [isolate\]]
expected: FAIL
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (-0.3) should be [isolate\]]
expected: FAIL
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (0) should be [isolate\]]
expected: FAIL
[CSS Transitions: property <isolation> from [initial\] to [isolate\] at (0.3) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <isolation> from [initial\] to [isolate\] at (-0.3) should be [initial\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <isolation> from [initial\] to [isolate\] at (0) should be [initial\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <isolation> from [initial\] to [isolate\] at (0.3) should be [initial\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <isolation> from [initial\] to [isolate\] at (0.5) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <isolation> from [initial\] to [isolate\] at (0.6) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <isolation> from [initial\] to [isolate\] at (1) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition-behavior:allow-discrete: property <isolation> from [initial\] to [isolate\] at (1.5) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <isolation> from [initial\] to [isolate\] at (-0.3) should be [initial\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <isolation> from [initial\] to [isolate\] at (0) should be [initial\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <isolation> from [initial\] to [isolate\] at (0.3) should be [initial\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <isolation> from [initial\] to [isolate\] at (0.5) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <isolation> from [initial\] to [isolate\] at (0.6) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <isolation> from [initial\] to [isolate\] at (1) should be [isolate\]]
expected: FAIL
[CSS Transitions with transition-property:all and transition-behavor:allow-discrete: property <isolation> from [initial\] to [isolate\] at (1.5) should be [isolate\]]
expected: FAIL