WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 210791
[css-flexbox] The percentage height resolution quirk shouldn't be applied to flexboxes
https://bugs.webkit.org/show_bug.cgi?id=210791
Summary
[css-flexbox] The percentage height resolution quirk shouldn't be applied to ...
Carlos Alberto Lopez Perez
Reported
2020-04-21 05:02:48 PDT
The following WPT test fails on WebKit:
https://wpt.live/css/css-flexbox/quirks-auto-block-size-with-percentage-item.html
This test will pass if strict mode its enabled instead of quirks: --- a/css/css-flexbox/quirks-auto-block-size-with-percentage-item.html +++ b/css/css-flexbox/quirks-auto-block-size-with-percentage-item.html @@ -1,4 +1,4 @@ -<!-- quirks mode --> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd
"> <link rel="author" title="Morten Stenshorne" href="
mailto:mstensho@chromium.org
"> <link rel="help" href="
https://www.w3.org/TR/CSS22/visudet.html#the-height-property
"> <meta name="assert" content="The percentage height resolution quirk isn't applied to flexboxes."> This passes on both Firefox and Chrome. See also
bug 210243
Attachments
Patch
(16.30 KB, patch)
2021-07-23 11:56 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(15.93 KB, patch)
2021-07-23 13:39 PDT
,
Rob Buis
no flags
Details
Formatted Diff
Diff
Patch
(15.99 KB, patch)
2021-07-24 00:10 PDT
,
Rob Buis
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Philip Jägenstedt
Comment 1
2020-12-10 00:27:03 PST
I believe that this Safari-only test failure is also because of this bug:
https://wpt.fyi/results/quirks/percentage-height-quirk-excludes-flex-grid-001.html
Rob Buis
Comment 2
2021-07-23 11:56:18 PDT
Created
attachment 434108
[details]
Patch
Rob Buis
Comment 3
2021-07-23 13:39:57 PDT
Created
attachment 434116
[details]
Patch
EWS Watchlist
Comment 4
2021-07-23 13:40:55 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see
https://trac.webkit.org/wiki/WPTExportProcess
Rob Buis
Comment 5
2021-07-24 00:10:49 PDT
Created
attachment 434160
[details]
Patch
Ahmad Saleem
Comment 6
2022-09-18 04:52:03 PDT
Safari Technology Preview 153 is only browser failing this test:
https://wpt.fyi/results/quirks/percentage-height-quirk-excludes-flex-grid-001.html?label=experimental&label=master&aligned
Is something planned or in queue? Thanks!
Radar WebKit Bug Importer
Comment 7
2024-02-08 13:17:00 PST
<
rdar://problem/122574943
>
Sammy Gill
Comment 8
2024-03-04 15:33:46 PST
We pass css-flexbox/quirks-auto-block-size-with-percentage-item.html now but looks like we are failing the row flexbox portion of
https://wpt.fyi/results/quirks/percentage-height-quirk-excludes-flex-grid-001.html
Ahmad Saleem
Comment 9
2024-03-04 15:54:58 PST
(In reply to Sammy Gill from
comment #8
)
> We pass css-flexbox/quirks-auto-block-size-with-percentage-item.html now but > looks like we are failing the row flexbox portion of >
https://wpt.fyi/results/quirks/percentage-height-quirk-excludes-flex-grid
- > 001.html
NOTE - I tried this PR in the past and have background discussion as well (it is based of Rob's patch):
https://github.com/WebKit/WebKit/pull/16581
It leads to failing `datalist-searchinput-appearance.html` test with just change in 'DumpTree' output but rendering-wise, we don't have any issue.
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