Bug 71028 - Allow column progression to be independent of writing mode
Summary: Allow column progression to be independent of writing mode
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-10-27 09:51 PDT by mitz
Modified: 2011-10-27 11:00 PDT (History)
4 users (show)

See Also:


Attachments
Enable column progression along the block axis and add a CSS property to enable it (396.52 KB, patch)
2011-10-27 10:18 PDT, mitz
darin: review+
webkit-ews: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2011-10-27 09:51:58 PDT
<rdar://problem/10262205>
Comment 1 mitz 2011-10-27 10:18:21 PDT
Created attachment 112701 [details]
Enable column progression along the block axis and add a CSS property to enable it
Comment 2 WebKit Review Bot 2011-10-27 10:23:18 PDT
Attachment 112701 [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/style/RenderStyle.h:762:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Total errors found: 1 in 26 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Darin Adler 2011-10-27 10:26:10 PDT
Comment on attachment 112701 [details]
Enable column progression along the block axis and add a CSS property to enable it

View in context: https://bugs.webkit.org/attachment.cgi?id=112701&action=review

> Source/WebCore/ChangeLog:14
> +        Allow âcolumnsâ to be stacked along the block axis rather than the inline axis. This can facilitate

Character set unhappiness?

> Source/WebCore/rendering/RenderBlock.cpp:2391
> +        BoxSide boxSide = isHorizontalWritingMode() ?
> +            style()->isLeftToRightDirection() ? BSLeft : BSRight
> +            : style()->isLeftToRightDirection() ? BSTop : BSBottom;

I normally put the ? on the next line just over the : in a construction like this.
Comment 4 mitz 2011-10-27 10:38:32 PDT
(In reply to comment #3)

Thanks for the review!

> (From update of attachment 112701 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=112701&action=review
> 
> > Source/WebCore/ChangeLog:14
> > +        Allow âcolumnsâ to be stacked along the block axis rather than the inline axis. This can facilitate
> 
> Character set unhappiness?

Yes, this is a bug in the component that shows “pretty” patches on bugs.webkit.org. If you view attachment 112701 [details] directly, the characters appear correctly.

> > Source/WebCore/rendering/RenderBlock.cpp:2391
> > +        BoxSide boxSide = isHorizontalWritingMode() ?
> > +            style()->isLeftToRightDirection() ? BSLeft : BSRight
> > +            : style()->isLeftToRightDirection() ? BSTop : BSBottom;
> 
> I normally put the ? on the next line just over the : in a construction like this.

I did it that way at first, but then I thought it might be too easy to think that the first line was the entire statement. I will change it back, though.
Comment 5 Early Warning System Bot 2011-10-27 10:47:14 PDT
Comment on attachment 112701 [details]
Enable column progression along the block axis and add a CSS property to enable it

Attachment 112701 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/10229563
Comment 6 mitz 2011-10-27 11:00:29 PDT
Landed in <http://trac.webkit.org/r98608>.