Bug 131740

Summary: [New Multicolumn] columnNumberForOffset isn't patched yet
Product: WebKit Reporter: Dave Hyatt <hyatt>
Component: Layout and RenderingAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, kangil.han, kondapallykalyan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch enrica: review+

Description Dave Hyatt 2014-04-16 10:15:23 PDT
There is code for iOS selection that passes in the "page number" to selection to try to improve selection in vertical books. This hasn't been patched for the new multi-column layout. We should take the opportunity to clean this code up at the same time, i.e., move the function to RenderView, rename it to pageNumberForOffset, and make it clear it's not necessary for generic multi-column.
Comment 1 Dave Hyatt 2014-04-17 11:17:34 PDT
Created attachment 229563 [details]
Patch
Comment 2 WebKit Commit Bot 2014-04-17 11:20:05 PDT
Attachment 229563 [details] did not pass style-queue:


ERROR: Source/WebCore/rendering/RenderView.cpp:38:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 8 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Enrica Casucci 2014-04-17 11:45:09 PDT
Comment on attachment 229563 [details]
Patch

Looks good to me.
Comment 4 Dave Hyatt 2014-04-17 11:48:49 PDT
Fix landed in r167444.