WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
98265
[CSSRegions] Content flowed in 0px height region not displayed
https://bugs.webkit.org/show_bug.cgi?id=98265
Summary
[CSSRegions] Content flowed in 0px height region not displayed
Mihnea Ovidenie
Reported
2012-10-03 07:36:48 PDT
In the following case: <html> <head> <style> #p1 { -webkit-flow-into: named-flow; background-color: green; width: 50px; height: 50px; } .region { -webkit-flow-from: named-flow; height: 0px; } </style> </head> <body> <p id="p1"></p> <div class="region"></div> </body> </html> The content overflows the region and it should be visible (region-overflow is auto and this is the last region in the chain). In this case, WebKit should display a green rectangle, but it does not display anything.
Attachments
Patch
(3.02 KB, patch)
2014-03-19 23:01 PDT
,
Mihnea Ovidenie
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andrei Bucur
Comment 1
2012-10-09 04:55:11 PDT
There's a topic on www-style about 0 height regions:
http://lists.w3.org/Archives/Public/www-style/2012Sep/0137.html
The special case of the last region could contribute to that discussion.
Mihai Balan
Comment 2
2013-07-15 06:26:01 PDT
The interesting thing here is that the content does not get displayed only if the region doesn't have a border/padding. As soon as the region has border or padding, the contents are correctly rendered.
Andrei Bucur
Comment 3
2013-07-15 06:48:48 PDT
This is probably another overflow related issue. Because the content is not a child of the region, it assumes there is nothing to paint so it skips the whole thing.
Mihnea Ovidenie
Comment 4
2014-03-19 23:01:35 PDT
Created
attachment 227256
[details]
Patch
Andrei Bucur
Comment 5
2014-03-19 23:42:25 PDT
Comment on
attachment 227256
[details]
Patch r=me
WebKit Commit Bot
Comment 6
2014-03-20 00:14:43 PDT
Comment on
attachment 227256
[details]
Patch Clearing flags on attachment: 227256 Committed
r165951
: <
http://trac.webkit.org/changeset/165951
>
WebKit Commit Bot
Comment 7
2014-03-20 00:14:48 PDT
All reviewed patches have been landed. Closing bug.
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