Michael Watt
3b1d1d4582
LibWeb: Compute display: contents as none for unusual elements
...
https://drafts.csswg.org/css-display-3/#unbox-html specifies certain
elements that have their `display` style computed as `none` when
specified as `contents`.
This fixes at least one WPT test:
http://wpt.live/css/css-display/display-contents-suppression-dynamic-001.html
2024-11-13 11:11:07 +01:00
Aliaksandr Kalenik
bd50a31be6
Tests/LibWeb: Import CSS floats tests from WPT
2024-11-11 13:31:35 +01:00
Lucas CHOLLET
d0dfc0c3e1
Tests: Import WPT tests from css-color
...
Specifically, they are related to parsing the `lab()`, `lch()` and
`color(xyz-d50 ...)` color functions.
2024-11-09 17:53:53 +01:00
Lucas CHOLLET
10dc7ff042
LibWeb/CSS: Support the xyz-d65 colorspace in the color() function
...
This also adds support for `xyz` as it defaults to `xyz-d65`. We now
pass the following WPT tests:
- css/css-color/xyz-001.html
- css/css-color/xyz-002.html
- css/css-color/xyz-004.html
- css/css-color/xyz-d65-001.html
- css/css-color/xyz-d65-002.html
- css/css-color/xyz-d65-004.html
2024-11-09 15:15:36 +01:00
Sam Atkins
b0e79ce549
Tests: Import all WPT css/css-nesting tests
...
A few are skipped for now:
- A few ref tests fail
- Crash tests are not supported by our runner and time out
- top-level-is-scope.html crashes and needs further investigation
2024-11-07 15:11:24 +01:00
Tim Ledbetter
29f419d637
Tests: Import an xht test from WPT
2024-11-07 12:02:31 +00:00
Sam Atkins
f5d67cefc1
Tests: Import a couple of CSS nesting tests from WPT
...
This is partly to check that importing ref tests works, and that I
didn't break the text-test import.
2024-11-05 17:58:16 +00:00
Sam Atkins
b7efb61fbe
Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others
...
Now each test type has the same directories:
- input
- expected
- data
Also, tests can be in subdirectories within ./input.
2024-11-05 14:02:07 +00:00