Callum Law
c4d6deb5c7
LibWeb: Parse widows CSS property
2025-09-26 16:32:54 +01:00
Callum Law
3d85532752
LibWeb: Parse orphans CSS property
2025-09-26 16:32:54 +01:00
Andreas Kling
81d4079c12
LibWeb: Support CSS content property images (and lists, too!)
...
This patch expands our generated content support beyond single strings
to lists of strings and/or images.
Pseudo-elements like ::before and ::after can now use content:url(...)
to insert anonymous image boxes into the layout tree.
This is heavily used in Google Docs for UI elements.
2025-07-28 22:46:27 +02:00
dmaivel
52a23dc02e
AK+LibWeb/CSS: Add lower-greek counter style
2025-07-21 15:18:17 +01:00
Tim Ledbetter
689dff3ee8
Tests: Synchronize imported tests with the WPT repository
2025-06-22 23:51:34 +02:00
Tim Ledbetter
e0af205d69
LibWeb/CSS: Implement the empty-cells property
...
This property sets whether table borders and backgrounds are painted
if a given table cell has no visible content.
2025-06-18 14:55:03 +01:00
Gingeh
84150f972f
LibWeb: Properly serialize position/edge style values
2024-12-13 11:35:38 +00:00
Tim Ledbetter
f1bbba2ba5
Tests: Enable imported WPT tests that were previously too slow for CI
2024-12-04 21:25:33 +00:00
Sam Atkins
8e3adbe082
LibWeb: Serialize text-decoration closer to spec
...
This gets us 32 WPT subtest passes that I'm aware of. :^)
2024-11-30 11:01:12 +01:00
Sam Atkins
9453c25925
LibWeb/CSS: Don't repeat CSS-wide keywords when serializing shorthands
...
Regardless of what the shorthand property is, if all its longhands are
the same CSS-wide keyword such as "initial" or "inherit", then it's the
same as the shorthand being that value.
This gets us 2 WPT subtest passes.
2024-11-30 11:01:12 +01:00
Sam Atkins
0c39d07b4d
LibWeb/CSS: Serialize overflow correctly
...
When the x and y values are the same, we only want to serialize one.
This gets us 10 local WPT subtest passes. :^)
2024-11-30 11:01:12 +01:00
Sam Atkins
bc17a3c2eb
LibWeb: Correctly skip "decimal" in counter() serialization
...
It's not a keyword, it's a custom-ident. The simplest way of comparing
is by serializing it as a string.
This gets us 2 subtest passes.
2024-11-30 11:01:12 +01:00
Sam Atkins
917d659f8b
LibWeb/CSS: Remove unwanted newline from list serialization
...
Gets us 1 subtest pass.
2024-11-30 11:01:12 +01:00
Sam Atkins
8cdb8ca193
LibWeb/CSS: Add missing commas to rect() serialization
...
Gets us 1 WPT subtest pass.
2024-11-30 11:01:12 +01:00
Sam Atkins
5bcd9abc42
LibWeb/CSS: Serialize background-repeat correctly
...
This gets us 4 WPT subtest passes.
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