WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 77505
Paginated display does not respect page-break-{before,after}
https://bugs.webkit.org/show_bug.cgi?id=77505
Summary
Paginated display does not respect page-break-{before,after}
mitz
Reported
2012-01-31 20:08:23 PST
Paginated display does not respect page-break-{before,after}
Attachments
Make RenderView pagination respect page-break properties by default and add API to make it respect column-break properties instead
(22.12 KB, patch)
2012-02-01 10:35 PST
,
mitz
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2012-01-31 20:09:03 PST
<
rdar://problem/10442663
>
mitz
Comment 2
2012-02-01 10:35:55 PST
Created
attachment 124967
[details]
Make RenderView pagination respect page-break properties by default and add API to make it respect column-break properties instead
Darin Adler
Comment 3
2012-02-01 14:18:52 PST
Comment on
attachment 124967
[details]
Make RenderView pagination respect page-break properties by default and add API to make it respect column-break properties instead View in context:
https://bugs.webkit.org/attachment.cgi?id=124967&action=review
> Source/WebCore/rendering/RenderBlock.h:908 > + virtual ColumnInfo::PaginationUnit paginationUnit();
Make this member function const?
> Source/WebCore/rendering/RenderView.cpp:209 > + if (m_frameView) { > + if (Frame* frame = m_frameView->frame()) { > + if (Page* page = frame->page()) > + return (frame == page->mainFrame() && page->pagination().behavesLikeColumns) ? ColumnInfo::Column : ColumnInfo::Page; > + } > + }
I think it would be nice to have a helper for the “page if this is the main frame of a page” logic. It’s repeated a few different places and it would be nice if it wasn’t.
mitz
Comment 4
2012-02-01 16:02:58 PST
Fixed in <
http://trac.webkit.org/r106511
>.
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