Bug 134121 - [New Multicolumn] Writing mode and direction of flow thread can mismatch enclosing paginated RenderView
Summary: [New Multicolumn] Writing mode and direction of flow thread can mismatch encl...
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: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-20 14:08 PDT by Dave Hyatt
Modified: 2014-06-23 11:57 PDT (History)
6 users (show)

See Also:


Attachments
Patch (2.12 KB, patch)
2014-06-20 14:09 PDT, Dave Hyatt
no flags Details | Formatted Diff | Diff
Patch (2.23 MB, patch)
2014-06-23 11:18 PDT, Dave Hyatt
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2014-06-20 14:08:50 PDT
When a document propagates a writing mode change or direction change up to the view, we don't properly update the writing-mode and direction of column sets or flow thread if the view is paginated.
Comment 1 Dave Hyatt 2014-06-20 14:09:35 PDT
Created attachment 233452 [details]
Patch
Comment 2 WebKit Commit Bot 2014-06-20 14:12:00 PDT
Attachment 233452 [details] did not pass style-queue:


ERROR: Source/WebCore/rendering/RenderBox.cpp:401:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/WebCore/rendering/RenderBox.cpp:401:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Source/WebCore/rendering/RenderBox.cpp:402:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Source/WebCore/rendering/RenderBox.cpp:403:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Total errors found: 4 in 1 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Dave Hyatt 2014-06-23 11:18:02 PDT
Created attachment 233617 [details]
Patch
Comment 4 WebKit Commit Bot 2014-06-23 11:20:11 PDT
Attachment 233617 [details] did not pass style-queue:


ERROR: Source/WebCore/rendering/RenderBlockFlow.cpp:1977:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/WebCore/rendering/RenderBlockFlow.cpp:1978:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
ERROR: Source/WebCore/rendering/RenderBlockFlow.cpp:1979:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Total errors found: 3 in 8 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Dean Jackson 2014-06-23 11:34:38 PDT
Comment on attachment 233617 [details]
Patch

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

> Source/WebCore/rendering/RenderBox.cpp:372
> +        RenderObject* rootRenderer = isBodyRenderer ? document().documentElement()->renderer() : nullptr;

Slightly risky that someone will move rootRenderer outside the isBodyRenderer blocks below, but hopefully no one will be that careless ($10 that it will be me in 4 years time).
Comment 6 Dave Hyatt 2014-06-23 11:57:25 PDT
Fix landed in r170304.