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 94616
[New Multicolumn] Get column rules painting
https://bugs.webkit.org/show_bug.cgi?id=94616
Summary
[New Multicolumn] Get column rules painting
Dave Hyatt
Reported
2012-08-21 10:36:04 PDT
Get the column rules painting properly in column sets.
Attachments
Patch
(16.57 KB, patch)
2012-08-21 10:44 PDT
,
Dave Hyatt
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dave Hyatt
Comment 1
2012-08-21 10:44:36 PDT
Created
attachment 159721
[details]
Patch
Simon Fraser (smfr)
Comment 2
2012-08-21 11:02:27 PDT
Comment on
attachment 159721
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=159721&action=review
> Source/WebCore/ChangeLog:11 > + No new tests (OOPS!).
OOPS! Are ref tests possible? Would be good to test rule painting with mixed writing modes.
> Source/WebCore/rendering/RenderMultiColumnBlock.h:46 > + RenderMultiColumnFlowThread* flowThread() const { return m_flowThread; }
Should it return a const RenderMultiColumnFlowThread*?
> Source/WebCore/rendering/RenderMultiColumnSet.cpp:65 > +int RenderMultiColumnSet::columnGap() const
This doesn't need to return a LayoutUnit?
> Source/WebCore/rendering/RenderMultiColumnSet.cpp:69 > + return static_cast<int>(style()->columnGap());
Maybe use pixelSnap, or make the rounding mode more explicit?
> Source/WebCore/rendering/RenderMultiColumnSet.cpp:72 > +LayoutRect RenderMultiColumnSet::columnRectAt( unsigned index) const
Space after (
> Source/WebCore/rendering/RenderMultiColumnSet.cpp:74 > + // Compute the appropriate rect based off our information.
Not sure that this comment adds anything.
Dave Hyatt
Comment 3
2012-08-21 11:15:34 PDT
Fixed in
r126177
.
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