mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb: Implement anchor-size(..)
function parsing
This parses `anchor-size(..)` functions in CSS, but does not yet result in a useful `Size`: we need style & layout interleaving similar to container queries for this, since the resulting value depends on layout results. Not supported yet: `anchor-size()` appearing inside a `calc()` node. Adds 4280 WPT subtest passes in `css/css-anchor-position`.
This commit is contained in:
parent
02598040ad
commit
c4f5e7bee3
Notes:
github-actions[bot]
2025-07-30 17:15:09 +00:00
Author: https://github.com/gmta
Commit: c4f5e7bee3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5655
Reviewed-by: https://github.com/tcl3 ✅
16 changed files with 318 additions and 3 deletions
|
@ -396,6 +396,7 @@ private:
|
|||
RefPtr<StringStyleValue const> parse_opentype_tag_value(TokenStream<ComponentValue>&);
|
||||
RefPtr<FontSourceStyleValue const> parse_font_source_value(TokenStream<ComponentValue>&);
|
||||
|
||||
RefPtr<CSSStyleValue const> parse_anchor_size(TokenStream<ComponentValue>&);
|
||||
RefPtr<CSSStyleValue const> parse_angle_value(TokenStream<ComponentValue>&);
|
||||
RefPtr<CSSStyleValue const> parse_angle_percentage_value(TokenStream<ComponentValue>&);
|
||||
RefPtr<CSSStyleValue const> parse_flex_value(TokenStream<ComponentValue>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue