WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
77909
Floated flexboxes render as regular RenderBlocks
https://bugs.webkit.org/show_bug.cgi?id=77909
Summary
Floated flexboxes render as regular RenderBlocks
Ojan Vafai
Reported
2012-02-06 16:00:18 PST
I expect layoutBlock never gets called for floats.
Attachments
Patch
(6.66 KB, patch)
2012-02-07 16:38 PST
,
Ojan Vafai
no flags
Details
Formatted Diff
Diff
Patch
(6.95 KB, patch)
2012-02-07 18:59 PST
,
Ojan Vafai
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
2012-02-07 16:38:52 PST
Created
attachment 125953
[details]
Patch
Ojan Vafai
Comment 2
2012-02-07 16:42:45 PST
Comment on
attachment 125953
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=125953&action=review
> LayoutTests/css3/flexbox/floated-flexbox-expected.txt:2 > +FAIL: > +Expected 130 for width, but got 110.
This fails because of not implementing computePreferredLogicalWidth as per
https://bugs.webkit.org/show_bug.cgi?id=76867
. This patch fixes the expected height to be 30 instead of 50 since the flex-items no longer wrap now that we properly treat the parent as a flexbox.
WebKit Review Bot
Comment 3
2012-02-07 17:29:23 PST
Comment on
attachment 125953
[details]
Patch
Attachment 125953
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/11460165
New failing tests: fast/lists/001-vertical.html fast/block/float/016.html fast/lists/001.html fast/lists/positioned-count-crash.html
Darin Adler
Comment 4
2012-02-07 17:51:04 PST
Comment on
attachment 125953
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=125953&action=review
> Source/WebCore/css/CSSStyleSelector.cpp:1730 > +static void adjustDisplay(RenderStyle* style, Element *e, bool strictParsing)
Element* element, not Element *e
Ojan Vafai
Comment 5
2012-02-07 18:59:01 PST
Created
attachment 125984
[details]
Patch
Ojan Vafai
Comment 6
2012-02-07 18:59:43 PST
Restructured after discussion with Eric.
Eric Seidel (no email)
Comment 7
2012-02-08 11:46:50 PST
Comment on
attachment 125984
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=125984&action=review
> Source/WebCore/css/CSSStyleSelector.cpp:1771 > + case NONE: // FIXME: Should NONE really map to BLOCK here?
I'm not sure thsi FIXME makes sense anymore, but the code seems fine.
Ojan Vafai
Comment 8
2012-02-08 11:58:50 PST
Committed
r107112
: <
http://trac.webkit.org/changeset/107112
>
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