Luke Warlow
fdee82d203
LibWeb: Implement ::file-selector-button pseudo element
...
The button for a file input now matches `::file-selector-button`.
2024-12-05 10:49:57 +00:00
Lucas CHOLLET
6804ce348e
LibWeb/CSS: Interpret NaN as 0 when resolving alpha and rgb values
...
Fixes the crash in css/css-color/parsing/color-valid-hwb.html.
The crash was probably introduced in 248e4bb5 , as it was the first
commit to VERIFY that the value given to `Color::with_opacity` were in
the correct range. As the values in color-valid-hwb.html were resolved
as NaN, the check never passed.
2024-12-04 16:11:41 +00:00
Sam Atkins
624b4689ac
Tests: Remove invalid WPT flexbox test
...
`css/css-flexbox/order-001.htm` is a ref test that does not include any
page to match against.
https://github.com/web-platform-tests/wpt/issues/49521
2024-12-04 13:33:42 +00:00
Lucas CHOLLET
ad3dd547b7
LibWeb/CSS: Shorten the length of srgb serialization
...
The WPT tests require the shortest possible serialization that support
an 8 bits roundtrip.
As an example, `128` is serialized to `0.5` while `127` needs more
precision and thus will be serialized to `0.498`.
This commit fixes 33 WPT subtests in css/css-color.
2024-12-04 11:30:44 +00:00
Gingeh
0afd7f166a
LibWeb: Improve grid-template-area parsing and serialization
2024-12-02 16:19:47 +00:00
Sam Atkins
fa1e102f3c
Tests: Import text-decoration WPT tests
2024-11-30 11:01:12 +01:00
Sam Atkins
2fc164c0b6
Tests: Import WPT CSSOM tests about serialization
...
This is an area we're lacking in, so let's bring these in-tree to track
them more easily. :^)
2024-11-30 11:01:12 +01:00
Pavel Shliak
c00b97a1f0
Tests: Fix 404 at css selector test
...
Fixes css/selectors/focus-visible-017-2.html
2024-11-29 12:16:50 +00:00
Pavel Shliak
1d2ceaf33f
Tests: Fix 404 at css selector test
...
Fixes css/selectors/focus-visible-009.html
2024-11-29 12:16:50 +00:00
Pavel Shliak
dcca24868c
Tests: Fix 404 at css-grid alignment tests
...
Fixes Tests/LibWeb/Text/expected/wpt-import/css/css-grid/alignment/
2024-11-29 12:16:50 +00:00
Glenn Skrzypczak
0d15cc4672
LibWeb/Animation: Fall back to discrete animation in more cases
...
Use discrete animation when the number of components or the types
of corresponding components do not match. This commit does not cover
all cases, but adds FIXME comments in the appropriate places.
2024-11-25 18:10:24 +01:00
Andreas Kling
d6f7fccf49
Tests: Import a bunch of WPT tests from /css/css-transforms
2024-11-22 20:06:44 +01:00
Gingeh
4b1deb6fe1
LibWeb: Don't skip filtering when CSS contains null or surrogates
2024-11-20 15:47:19 +01:00
Andreas Kling
70695e4fce
LibWeb: Import a bunch of /css/css-display tests from WPT
2024-11-15 14:46:09 +01:00
Aliaksandr Kalenik
d0646236ca
Tests/LibWeb: Import some CSSOM WPT tests
2024-11-13 11:07:14 +01:00
Aliaksandr Kalenik
bd50a31be6
Tests/LibWeb: Import CSS floats tests from WPT
2024-11-11 13:31:35 +01:00
Andreas Kling
2a741f81c7
Tests: Import some WPT tests for the CSS gap properties
2024-11-09 19:21:00 +01:00
Andreas Kling
87dd8714c5
Tests: Import WPT tests from css/css-backgrounds/animation
...
These give us some basic coverage of backgrounds, borders and animation
mechanisms.
2024-11-07 22:50:33 +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
Andreas Kling
6c945fc353
Tests: Import more CSS selector tests from WPT
2024-11-06 21:42:53 +01:00
Andreas Kling
9dff6bca1f
Tests: Import more style invalidation tests from WPT
...
These will help us work on style invalidation with more confidence.
2024-11-06 21:42:53 +01:00
Sam Atkins
8f21513902
Tests: Re-import tests that used ahem.css
...
This causes 36 new subtests to pass locally. :^)
Unfortunately at least one of these is flaky when it's able to load the
font file, apparently because we don't wait for the font and its
stylesheet to actually load before the tests run.
2024-11-06 20:03:38 +01: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
Aliaksandr Kalenik
75e26af117
Tests/LibWeb: Import css grid alignment tests from WPT
2024-11-05 17:44:08 +01:00
Aliaksandr Kalenik
d13011bfbc
Tests/LibWeb: Import WPT tests for CSS grid properties parsing
...
Increase test coverage for our grid implementation.
2024-11-03 22:02:29 +01:00
Andreas Kling
abd24d001d
Tests: Import a bunch of WPT tests from /css/css-flexbox
2024-10-30 10:17:21 +01:00
Andreas Kling
ce6a7ba050
Tests: Import WPT tests from /css/css-sizing/parsing
2024-10-27 21:02:54 +01:00
Andreas Kling
037c034468
Tests: Remove an imported WPT test we can't run without WebDriver
...
We can bring this back if we gain the necessary faculties later.
2024-10-27 18:40:20 +01:00
Andreas Kling
a640fcc693
LibWeb: Import a bunch of :has() selector tests from WPT
2024-10-27 13:33:46 +01:00