-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
LibWeb: Implement anchor-size(..)
function parsing
#5655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f70ce27
to
9ae335e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we import the improved parsing tests. http://wpt.live/css/css-anchor-position/anchor-size-parse-valid.html runs reasonably quickly on my machine when imported.
If it's too slow can we at least import css/css-anchor-position/anchor-size-parse-invalid.html
to prevent future regressions.
9ae335e
to
a642527
Compare
a642527
to
3d9f605
Compare
3d9f605
to
cfda8dc
Compare
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`.
cfda8dc
to
fdd0542
Compare
This parses
anchor-size(..)
functions in CSS, but does not yet result in a usefulSize
: 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 acalc()
node.Adds 4280 WPT subtest passes in
css/css-anchor-position
.