Sam Atkins
017d6c3314
LibWeb: Implement counter-[increment,reset,set] properties
...
These control the state of CSS counters.
Parsing code for `reversed(counter-name)` is implemented, but disabled
for now until we are able to resolve values for those.
2024-07-26 11:04:30 +01:00
Edwin Hoksberg
020b20d817
LibWeb: Support content-visibility css
2024-07-19 09:04:30 +01:00
Colin Reeder
5c315b532e
LibWeb: Add more legacy -webkit- aliases
2024-07-15 15:45:33 +01:00
Colin Reeder
449f81bfbe
LibWeb: Add support for -webkit-text-fill-color
2024-07-10 10:25:04 -06:00
Luke Warlow
6623177265
LibWeb: Implement support for scrollbar-gutter
...
This property is now correctly parsed.
Ladybird always uses overlay scrollbars so this property does nothing.
2024-07-04 13:22:40 +02:00
Tim Ledbetter
0b0ad5c9db
LibWeb: Calculate width property resolved value correctly
...
This means that relative width values are now correctly resolved when
calling `getComputedStyle()`.
2024-05-28 08:08:31 +02:00
MacDue
6c9069fa5d
LibWeb: Implement the SVG clip-rule attribute
...
This controls the fill rule used when rasterizing `<clipPath>` elements.
2024-05-14 23:01:18 +01:00
MacDue
03f957dc79
LibWeb: Add the clip-path property and resolve it for SVG elements
2024-03-29 21:59:56 +01:00
Matthew Olsson
1e6ad075f3
LibWeb: Add transition properties to Properties.json
2024-03-29 21:58:12 +01:00
implicitfield
18fe86adc3
LibWeb: Add support for the inline-size CSS property
2024-03-09 16:02:17 +01:00
MacDue
1fbf1073ab
LibWeb: Define the rest of the SVG geometry properties
...
This defines all the (remaining) geometry properties from
https://svgwg.org/svg2-draft/geometry.html#Sizing .
2024-03-04 10:50:32 +01:00
Aliaksandr Kalenik
8d9e20cb03
LibWeb: Parse the CSS scrollbar-width property
2024-02-28 07:51:13 -05:00
Aliaksandr Kalenik
7411f66fcf
LibWeb/CSS: Resolve value of "height" in special way according to spec
...
Per spec value of height should be resolved to used value if "display"
property is not "none" or "contents".
2024-02-06 08:41:21 +01:00
MacDue
b10f58a1fe
LibWeb: Support x and y attributes on nested SVGs
...
This allows positioning a child SVG relative to its parent SVG.
Note: These have been implemented as CSS properties as in SVG 2, these
are geometry properties that can be used in CSS (see
https://www.w3.org/TR/SVG/geometry.html ), but there is not much browser
support for this. It is nicer to implement than the ad-hoc SVG
attribute parsing though, so I feel it may make sense to port the rest
of the attributes specified here (which should fix some issues with
viewport relative sizes).
2024-01-29 10:01:10 +00:00
Sam Atkins
391cfdc085
LibWeb: Parse the CSS transform-box property
2024-01-27 07:46:37 +01:00
Aliaksandr Kalenik
56ff9bffae
LibWeb: Support "normal" and "stretch" justify-content in CSS parser
2024-01-04 09:47:20 +01:00
Aliaksandr Kalenik
b395cfccb0
LibWeb: Add support for "align-content: normal" in CSS parser
2024-01-04 09:47:20 +01:00
Bastiaan van der Plaat
44ff957784
LibWeb: Make -webkit-appearance an alias for the appearance css property
2023-12-23 10:12:36 +01:00
Tobias Christiansen
3b1083c4cb
Tests/LibWeb: Add object-position to the getComputedStyle test
...
The test was failing because we now support the new and shiny
object-position property.
2023-10-31 07:03:05 +01:00
MacDue
479451498b
LibWeb: Implement mask-type CSS property
...
This property allows specifying if a mask is an alpha or luminance mask.
See: https://drafts.fxtf.org/css-masking/#the-mask-type
2023-10-09 07:28:18 +02:00
Sam Atkins
b8ede72107
LibWeb: Add a test for getComputedStyle()
...
Print out the value of each property in the computed-style of the body
element. This is by no means a thorough test that we're serializing
every property's value correctly in every configuration, (and in fact,
some are definitely wrong,) but it does give us a nice baseline.
2023-09-29 20:20:55 +02:00