WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
236702
[CSS Container Queries] Size queries on unsupported axis should evaluate to unknown
https://bugs.webkit.org/show_bug.cgi?id=236702
Summary
[CSS Container Queries] Size queries on unsupported axis should evaluate to u...
Antti Koivisto
Reported
2022-02-16 02:48:37 PST
"If ... the query container does not support container size queries on the relevant axes, then the result of evaluating the size feature is unknown.
https://drafts.csswg.org/css-contain-3/#size-container
Attachments
Patch
(17.74 KB, patch)
2022-02-16 03:05 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch for landing
(17.69 KB, patch)
2022-02-16 05:18 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2022-02-16 03:05:00 PST
Created
attachment 452170
[details]
Patch
Dean Jackson
Comment 2
2022-02-16 04:28:54 PST
Comment on
attachment 452170
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=452170&action=review
> Source/WebCore/style/ContainerQueryEvaluator.cpp:203 > + if (axis == Axis::Width) > + axis = container.renderer.isHorizontalWritingMode() ? Axis::Inline : Axis::Block; > + else if (axis == Axis::Height) > + axis = container.renderer.isHorizontalWritingMode() ? Axis::Block : Axis::Inline;
I guess this is only needed in the ::InlineSize case - maybe it could go there? I don't have strong opinions.
Antti Koivisto
Comment 3
2022-02-16 04:56:39 PST
> I guess this is only needed in the ::InlineSize case - maybe it could go > there? I don't have strong opinions.
Good point!
Antti Koivisto
Comment 4
2022-02-16 05:18:24 PST
Created
attachment 452186
[details]
Patch for landing
EWS
Comment 5
2022-02-16 08:54:09 PST
Committed
r289890
(
247328@main
): <
https://commits.webkit.org/247328@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 452186
[details]
.
Radar WebKit Bug Importer
Comment 6
2022-02-16 08:55:21 PST
<
rdar://problem/89028172
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug