WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
114566
REGRESSION (
r147261
): Flex box regression: min-height defaults to 0 instead of -webkit-min-content
https://bugs.webkit.org/show_bug.cgi?id=114566
Summary
REGRESSION (r147261): Flex box regression: min-height defaults to 0 instead o...
David Kilzer (:ddkilzer)
Reported
2013-04-13 09:29:37 PDT
Created
attachment 197945
[details]
Test case * SUMMARY When refreshing a web page that has an overflowing console log, graphical glitches occur in the Web Inspector on nightly.webkit.org builds. * STEPS TO REPRODUCE 1. Load attached test case in WebKit nightly build on Mac. 2. Open the Inspector (Cmd-Opt-I). 3. Click on the console to display it. 4. Reload the web page. * RESULTS Text overlaps in console (see attached screenshot). * REGRESSION This is a regression from commit
r147261
which was the fix for
Bug 111790
. <
http://trac.webkit.org/changeset/147261
> * NOTES This works as expected in WebKit nightly build
r147249
. The bug starts occurring in WebKit nightly build
r147268
.
Attachments
Test case
(144 bytes, text/html)
2013-04-13 09:29 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2013-04-13 09:30:58 PDT
Analysis from Tim Hatcher: ''' min-height is defaulting to 0 now and not -webkit-min-content. However, putting min-height: -webkit-min-content on the element does not work. It seems -webkit-min-content only works on min-width? '''
David Kilzer (:ddkilzer)
Comment 2
2013-04-13 09:31:23 PDT
<
rdar://problem/13602668
>
Ojan Vafai
Comment 3
2013-04-13 11:51:56 PDT
Another workaround that should work is setting -webkit-flex-shrink to 0. It's a bummer to change the API this late in the game, but I think the benefits still outweigh the cost.
Ojan Vafai
Comment 4
2013-04-13 11:55:02 PDT
Also, you may want to bring in
https://chromium.googlesource.com/chromium/blink/+/5214cf3a1d0d78e880688ccd451e6145b9e69267
to make -webkit-min-content work on heights.
Karl Dubost
Comment 5
2025-02-20 00:41:26 PST
This attachment doesn't seem to be the right one for this bug.
Karl Dubost
Comment 6
2025-02-20 00:44:09 PST
Ah the attachment was demonstrating the visualization of the issue in web inspector. But this is gone now so the testcase is not meaningful anymore. I removed it.
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