InvalidUsernameException
667f195d1e
LibWeb/CSS: Parse mask-position property
2025-08-06 23:09:07 +01:00
InvalidUsernameException
d022eea9fc
LibWeb/CSS: Parse mask-mode property
2025-08-06 23:09:07 +01:00
InvalidUsernameException
22d7a58998
LibWeb/CSS: Parse mask-composite property
2025-08-06 23:09:07 +01:00
Tim Ledbetter
e36df5ea0a
LibWeb: Serialize background-size
auto correctly
...
When `background-size` is `auto` in both axes, the `auto` value is no
longer repeated.
2025-08-02 08:51:23 +02:00
Tim Ledbetter
062862f315
LibWeb/CSS: Add -webkit-filter
as a legacy alias
2025-07-23 09:32:39 +02:00
Lucien Fiorini
d3684a36b0
LibWeb/SVG: Add FEFloodElement
2025-07-09 18:07:12 +01:00
Callum Law
da40419c5b
LibWeb: Support border-{block,inline} shorthands
...
Gains us 4 WPT tests
2025-07-09 10:10:38 +01:00
Tim Ledbetter
923deb0c01
LibWeb: Parse border-image
shorthand property
2025-07-03 10:19:44 +01:00
Tim Ledbetter
c0390f759c
LibWeb: Parse the border-image-repeat
property
2025-07-03 10:19:44 +01:00
Tim Ledbetter
98e63e3dd5
LibWeb: Parse the border-image-outset
property
2025-07-03 10:19:44 +01:00
Tim Ledbetter
245905b833
LibWeb: Parse the border-image-slice
property
2025-07-03 10:19:44 +01:00
Tim Ledbetter
70c2621634
LibWeb: Parse the border-image-source
property
2025-07-03 10:19:44 +01:00
Tim Ledbetter
5b522c096e
LibWeb: Add border-*-radius
logical properties
2025-07-01 11:16:37 +02:00
Tim Ledbetter
04a3a227c3
LibWeb: Add the border-inline-*
shorthand properties
2025-06-30 14:52:18 +02:00
Tim Ledbetter
90da2f5418
LibWeb: Add the border-block-*
shorthand properties
2025-06-30 14:52:18 +02:00
Tim Ledbetter
68035a2b8d
LibWeb/CSS: Add the text-rendering
property
2025-06-27 16:51:30 +01:00
Callum Law
34a52baeed
LibWeb: Add generic functionality for logical alias computed values
2025-06-23 15:19:07 +01:00
Tim Ledbetter
9b6da84fff
LibWeb/CSS: Implement the font-kerning
property
...
This sets whether the kerning information stored on the current font is
used.
2025-06-23 13:26:48 +01: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
Callum Law
12c9da2d3f
LibWeb: Serialize grid/grid-template as "none" when applicable
...
This exposes a bunch of false-positives in the
grid-{shorthand,template}-invalid.html WPT tests, but gains us some
new passes as well.
2025-06-16 12:37:40 +01:00
Tim Ledbetter
68d3ddb1a7
LibWeb: Parse the transform-origin
z-value
2025-06-15 16:01:54 +02:00
Callum Law
d31a58a7d6
LibWeb: Add support for the 'all' CSS property
...
The "longhands" array is populated in the code generator to avoid the
overhead of manually maintaining the list in Properties.json
There is one subtest that still fails in
'cssstyledeclaration-csstext-all-shorthand', this is related to
us not maintaining the relative order of CSS declarations for custom vs
non-custom properties.
2025-06-12 15:25:35 +01:00
Callum Law
0a53aaa3b6
LibWeb: Omit initial values from background CSS property serialization
2025-06-09 10:43:50 +01:00
Callum Law
50cce72ab9
LibWeb: Implement text-wrap
CSS property
...
This resolves an issue introduced in 94f5a51
with the
tab-size-text-wrap test
2025-06-04 12:48:36 +01:00
Callum Law
9ba74316d2
LibWeb: Implement text-wrap-style
CSS property
2025-06-04 12:48:36 +01:00
Tim Ledbetter
e2d0d8e2b9
LibWeb/CSS: Implement the scrollbar-color
property
...
This allows the user to set the scrollbar thumb and track colors.
2025-06-02 00:17:51 +02:00
Callum Law
9480b1fc5c
LibWeb: Parse and propagate white-space-trim
CSS property
2025-05-29 12:04:28 +02:00
Callum Law
50bdd2cb85
LibWeb: Parse and propagate text-wrap-mode
CSS property
2025-05-29 12:04:28 +02:00
Callum Law
ea30356fba
LibWeb: Parse and propagate white-space-collapse
CSS property
2025-05-29 12:04:28 +02:00
Mark Langen
6cbb5d2785
LibWeb: Parse and propagate touch-action CSS property
...
Co-authored-by: Sam Atkins <sam@ladybird.org>
2025-05-06 12:22:01 +01:00
Bastiaan van der Plaat
58b735010b
LibWeb: Add -webkit-box-* legacy CSS property aliases
2025-05-05 23:36:31 +02:00
Tim Ledbetter
542c3cbe51
LibWeb: Implement the transition-behavior
CSS property
...
This specifies whether transitions should be started for transitions
whose animation behavior is discrete.
2025-05-02 11:07:19 +01:00
Tim Ledbetter
263cb3f8ca
LibWeb/CSS: Remove unnecessary shorthand serialization special cases
...
The serialization of these properties is improved by using the new
default behavior.
2025-04-07 11:38:56 +01:00
Tim Ledbetter
3186adeaa1
LibWeb/CSS: Don't serialize longhands which match their initial values
...
Shorthand subproperties that match their initial values are now
excluded from serialization, by default.
Properties where this behavior is not desired, like `gap`, are
special-cased.
2025-04-07 11:38:56 +01:00
Tim Ledbetter
32812f5db0
LibWeb: Return absolutized computed value for outline width property
2025-04-05 12:54:22 +02:00
Tim Ledbetter
8738987e44
LibWeb: Return absolutized computed value for border width properties
2025-04-04 23:45:06 +02:00
Glenn Skrzypczak
9973b01848
LibWeb/CSS: Improved implementation of background-blend-mode
...
This is a improved version of a73cd88f0c
The old commit was reverted in 552dd18696
The new version only paints an element into a new layer if background
blend modes other than normal are used. The rasterization performance
of most websites should therefore not suffer.
Co-Authored-By: Alexander Kalenik <kalenik.aliaksandr@gmail.com>
2025-04-01 13:38:00 +02:00
Aliaksandr Kalenik
552dd18696
Revert "LibWeb/CSS: Implement 'background-blend-mode'"
...
This reverts commit a73cd88f0c
.
Emitting SaveLayer for each paintable made rasterization a lot slower
on every website because now Skia has to allocate enormous amounts of
temporary surfaces. Let's revert it for now and figure how to implement
it with less aggressive SaveLayer usage.
2025-03-28 16:48:03 +00:00
Glenn Skrzypczak
a73cd88f0c
LibWeb/CSS: Implement 'background-blend-mode'
...
This implements the 'background-blend-mode' CSS property.
2025-03-28 09:41:06 +00:00
Tim Ledbetter
7b0b6e7493
LibWeb/CSS: Make empty GridTrackSize value serialize to "none"
...
This is the default value of the `grid-template-rows` and
`grid-template-columns` properties.
2025-03-22 17:33:37 +01:00
Tim Ledbetter
cbf47abd24
LibWeb/CSS: Set the initial value of the appearance
property to "none"
2025-03-22 17:05:17 +01:00
Tim Ledbetter
ecd6636b3e
LibWeb/CSS: Use "0s" as the initial value for animation-duration
2025-03-22 17:04:33 +01:00
Tim Ledbetter
c029a9c98c
LibWeb: Serialize grid-area
as auto
if all sub-properties are auto
2025-03-20 16:59:27 +00:00
Tim Ledbetter
54351e7327
LibWeb: Use shortest serialization for shorthands with repeated values
...
For shorthands where all the values are repeated, we now only output
the value once.
2025-03-20 14:30:55 +01:00
Sam Atkins
a28197669a
LibWeb/CSS: Move property code from CSSStyleDeclaration to *Properties
...
CSSStyleDeclaration is a base class that's used by various collections
of style properties or descriptors. This commit moves all
style-property-related code into CSSStyleProperties, where it belongs.
As noted in the previous commit, we also apply the CSSStyleProperties
prototype now.
2025-03-19 13:53:00 +00:00