WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
46421
Make CSS3 Multicol layout work with vertical text.
https://bugs.webkit.org/show_bug.cgi?id=46421
Summary
Make CSS3 Multicol layout work with vertical text.
Dave Hyatt
Reported
2010-09-23 15:28:25 PDT
Make CSS3 Multicol layout work with vertical text.
Attachments
Patch
(1.95 MB, patch)
2011-01-26 12:01 PST
,
Dave Hyatt
mitz: review+
Details
Formatted Diff
Diff
Fix float writing-mode flipping and patch min preferred logical width computation to not use marginLeft/Right
(82.52 KB, patch)
2011-01-26 14:56 PST
,
Dave Hyatt
mitz: review+
Details
Formatted Diff
Diff
failing tests on Qt
(68.25 KB, patch)
2011-01-27 02:56 PST
,
Csaba Osztrogonác
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Adele Peterson
Comment 1
2010-10-29 15:14:26 PDT
<
rdar://problem/8612056
>
Dave Hyatt
Comment 2
2011-01-26 12:01:07 PST
Created
attachment 80215
[details]
Patch
WebKit Review Bot
Comment 3
2011-01-26 12:05:07 PST
Attachment 80215
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/WebCore/rendering/RenderBlock.h:460: An else statement can be removed when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Source/WebCore/rendering/RenderBlock.h:468: An else statement can be removed when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Source/WebCore/rendering/RenderBlock.h:692: The parameter name "marginInfo" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 3 in 97 files If any of these errors are false positives, please file a bug against check-webkit-style.
mitz
Comment 4
2011-01-26 12:53:23 PST
Comment on
attachment 80215
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=80215&action=review
> Source/WebCore/rendering/InlineTextBox.h:84 > + virtual IntRect calculateBoundaries() const { return IntRect(x(), y(), width(), height()); }
:)
> Source/WebCore/rendering/RenderBlock.cpp:1327 > + int overflowRight = style()->isLeftToRightDirection() ? max(width(), lastRect.x() + lastRect.width()) : 0;
Can say lastRect.right() instead of x() + width().
> Source/WebCore/rendering/RenderBlock.cpp:1331 > + IntRect lastRect = columnRectAt(colInfo, columnCount(colInfo) - 1);
You’ve already defined and initialized this outside.
> Source/WebCore/rendering/RenderBlock.cpp:1333 > + int overflowBottom = style()->isLeftToRightDirection() ? max(height(), lastRect.y() + lastRect.height()) : 0;
Can say lastRect.bottom() instead of y() + height().
> Source/WebCore/rendering/RenderBlock.cpp:2278 > + IntRect firstColRect = columnRectAt(colInfo, 0);
I don’t think this is used.
> Source/WebCore/rendering/RenderInline.cpp:752 > +
ZOMG whitespace
Dave Hyatt
Comment 5
2011-01-26 14:56:24 PST
Created
attachment 80242
[details]
Fix float writing-mode flipping and patch min preferred logical width computation to not use marginLeft/Right
WebKit Review Bot
Comment 6
2011-01-26 14:58:28 PST
Attachment 80242
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/rendering/RenderBlock.h:462: An else statement can be removed when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Source/WebCore/rendering/RenderBlock.h:470: An else statement can be removed when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Source/WebCore/rendering/RenderBlock.h:694: The parameter name "marginInfo" adds no information, so it should be removed. [readability/parameter_name] [5] Source/WebCore/rendering/RenderBlock.cpp:4983: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Total errors found: 4 in 19 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dave Hyatt
Comment 7
2011-01-26 15:11:13 PST
Fixed in
r76726
.
WebKit Review Bot
Comment 8
2011-01-26 15:53:35 PST
http://trac.webkit.org/changeset/76726
might have broken Qt Linux Release The following tests are not passing: fast/dom/vertical-scrollbar-in-rtl-doesnt-fire-onscroll.html fast/lists/002-vertical.html fast/lists/003-vertical.html fast/overflow/overflow-rtl-vertical.html fast/table/028-vertical.html fast/table/border-collapsing/003-vertical.html fast/table/height-percent-test-vertical.html
Csaba Osztrogonác
Comment 9
2011-01-27 02:55:33 PST
(In reply to
comment #8
)
>
http://trac.webkit.org/changeset/76726
might have broken Qt Linux Release > The following tests are not passing: > fast/dom/vertical-scrollbar-in-rtl-doesnt-fire-onscroll.html > fast/lists/002-vertical.html > fast/lists/003-vertical.html > fast/overflow/overflow-rtl-vertical.html > fast/table/028-vertical.html > fast/table/border-collapsing/003-vertical.html > fast/table/height-percent-test-vertical.html
Expected results fixed in
http://trac.webkit.org/changeset/76766
. Expected results for new tests landed in
http://trac.webkit.org/changeset/76779
.
Csaba Osztrogonác
Comment 10
2011-01-27 02:56:57 PST
Created
attachment 80311
[details]
failing tests on Qt Two tests seem very strange on Qt. Could you check it, please?
Jessie Berlin
Comment 11
2011-01-28 09:11:01 PST
At least two of the new tests have different actual results on the Windows 7 Release Test bots:
https://bugs.webkit.org/show_bug.cgi?id=53307
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