Bug 131825

Summary: [New Multicolumn] Enable new multi-column mode
Product: WebKit Reporter: Jon Lee <jonlee>
Component: Layout and RenderingAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal CC: abucur, buildbot, commit-queue, eric.carlson, glenn, jer.noble, mmaxfield, philipj, rniwa, sergio, webkit-bug-importer, WebkitBugTracker
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 131233, 131805, 131808, 131809, 132071, 132078, 132080, 132081, 132392    
Bug Blocks:    
Attachments:
Description Flags
Patch
thorton: review+, buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion
none
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2
none
Patch simon.fraser: review+

Description Jon Lee 2014-04-17 15:48:07 PDT
Enable new multi-column mode

<rdar://problem/16615061>
Comment 1 Dave Hyatt 2014-04-21 14:00:16 PDT
These are the remaining three bugs that look like they really need a code fix:

https://bugs.webkit.org/show_bug.cgi?id=131805
https://bugs.webkit.org/show_bug.cgi?id=131808
https://bugs.webkit.org/show_bug.cgi?id=131809

This one makes me nervous, but I'm going to hope it's not an iBooks issue:

https://bugs.webkit.org/show_bug.cgi?id=131233
Comment 2 Dave Hyatt 2014-04-23 13:56:54 PDT
https://bugs.webkit.org/show_bug.cgi?id=132071 is a blocker for turning new columns on. Was exposed after implementing nested columns support.
Comment 3 Dave Hyatt 2014-04-23 14:56:24 PDT
Found a few more failures now that all the noise from the mock scrollbar bug is out of the way:

https://bugs.webkit.org/show_bug.cgi?id=132078
https://bugs.webkit.org/show_bug.cgi?id=132080
https://bugs.webkit.org/show_bug.cgi?id=132081
Comment 4 Dave Hyatt 2014-04-25 15:12:42 PDT
Created attachment 230211 [details]
Patch
Comment 5 Tim Horton 2014-04-25 15:15:32 PDT
Comment on attachment 230211 [details]
Patch

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

> Source/WebKit/mac/WebView/WebPreferences.mm:520
> +        [NSNumber numberWithBool:YES],   WebKitRegionBasedColumnsEnabledKey,

indentation
Comment 6 Build Bot 2014-04-25 16:26:21 PDT
Comment on attachment 230211 [details]
Patch

Attachment 230211 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/4504061487349760

New failing tests:
fast/borders/border-antialiasing.html
compositing/columns/untransformed-composited-in-paginated.html
compositing/columns/hittest-composited-in-paginated.html
compositing/geometry/composited-in-columns.html
compositing/columns/composited-nested-columns.html
compositing/columns/clipped-in-paginated.html
css3/unicode-bidi-isolate-basic.html
compositing/columns/composited-columns.html
compositing/columns/composited-lr-paginated-repaint.html
fast/block/float/float-not-removed-from-next-sibling4.html
compositing/columns/rotated-in-paginated.html
compositing/columns/composited-columns-vertical-rl.html
compositing/columns/ancestor-clipped-in-paginated.html
fast/line-grid/line-grid-inside-columns.html
compositing/columns/composited-in-paginated.html
fast/overflow/paged-x-div-with-column-gap.html
compositing/columns/composited-in-paginated-writing-mode-rl.html
fast/overflow/paged-x-with-column-gap.html
fast/line-grid/line-grid-into-columns.html
fast/dom/Element/getBoundingClientRect.html
fast/forms/number/number-spinbutton-in-multi-column.html
fast/events/document-elementFromPoint.html
fast/forms/range/slider-in-multi-column.html
fast/overflow/paged-x-div.html
fast/forms/select/listbox-in-multi-column.html
compositing/columns/composited-in-paginated-rl.html
fast/multicol/shrink-to-column-height-for-pagination.html
fast/overflow/paged-x-on-root.html
fast/events/offsetX-offsetY.html
Comment 7 Build Bot 2014-04-25 16:26:28 PDT
Created attachment 230220 [details]
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-06  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 8 Build Bot 2014-04-25 17:12:29 PDT
Comment on attachment 230211 [details]
Patch

Attachment 230211 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/5770698882547712

New failing tests:
fast/borders/border-antialiasing.html
compositing/columns/untransformed-composited-in-paginated.html
compositing/columns/hittest-composited-in-paginated.html
compositing/geometry/composited-in-columns.html
compositing/columns/composited-nested-columns.html
compositing/columns/clipped-in-paginated.html
css3/unicode-bidi-isolate-basic.html
compositing/columns/composited-columns.html
fast/overflow/paged-y-div.html
fast/block/float/float-not-removed-from-next-sibling4.html
compositing/columns/rotated-in-paginated.html
compositing/columns/composited-columns-vertical-rl.html
compositing/columns/ancestor-clipped-in-paginated.html
fast/line-grid/line-grid-inside-columns.html
compositing/columns/composited-in-paginated.html
fast/overflow/paged-x-div-with-column-gap.html
compositing/columns/composited-in-paginated-writing-mode-rl.html
fast/overflow/paged-x-on-root.html
fast/line-grid/line-grid-into-columns.html
fast/overflow/paged-y-on-root.html
fast/dom/Element/getBoundingClientRect.html
fast/forms/number/number-spinbutton-in-multi-column.html
fast/events/document-elementFromPoint.html
fast/forms/range/slider-in-multi-column.html
fast/overflow/paged-x-div.html
fast/forms/select/listbox-in-multi-column.html
compositing/columns/composited-in-paginated-rl.html
fast/overflow/paged-x-with-column-gap.html
fast/events/offsetX-offsetY.html
Comment 9 Build Bot 2014-04-25 17:12:41 PDT
Created attachment 230227 [details]
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-11  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 10 Dave Hyatt 2014-04-28 09:37:49 PDT
https://bugs.webkit.org/show_bug.cgi?id=132284 is a new blocker for the fast/forms control tests (which are genuinely failing).
Comment 11 Dave Hyatt 2014-04-28 09:52:49 PDT
Another blocker (the elementFromPoint test) that might be the same bug as 132284.

https://bugs.webkit.org/show_bug.cgi?id=132285
Comment 12 Dave Hyatt 2014-04-28 13:13:47 PDT
https://bugs.webkit.org/show_bug.cgi?id=132298 covers compositing layout tests that use RenderView's pagination mode failing.
Comment 13 Dave Hyatt 2014-04-28 13:17:21 PDT
https://bugs.webkit.org/show_bug.cgi?id=132299 covers the nested columns compositing test failing.
Comment 14 Dave Hyatt 2014-04-28 13:22:11 PDT
So basically four issues now that coverage has expanded to all layout tests (wish I had known about the compositing/columns directory ugh).

(1) All the compositing tests involving pagination on the RenderView fail.
(2) Compositing on nested columns fails.
(3) Hitting an assert related to compositing in RenderGeometryMap for columns cases.
(4) event.offsetX/event.offsetY don't work (mapAbsoluteToLocal isn't patched for new columns).
Comment 15 Dave Hyatt 2014-04-29 16:24:17 PDT
Down to just the assert in the geometry map.
Comment 16 Dave Hyatt 2014-04-29 22:47:31 PDT
Glitch with the fast/events tests still. They are off by the border of the multicolumn block. Should be easy to fix.
Comment 17 Dave Hyatt 2014-04-30 09:03:20 PDT
https://bugs.webkit.org/show_bug.cgi?id=132383 is the blocker for the little offset glitch.
Comment 18 Dave Hyatt 2014-04-30 11:41:21 PDT
https://bugs.webkit.org/show_bug.cgi?id=132392 is cropping up now. Not sure why it didn't show up before.
Comment 19 Dave Hyatt 2014-04-30 13:56:25 PDT
Patch has been posted for it. Just waiting for someone to review it.
Comment 20 Dave Hyatt 2014-04-30 14:31:33 PDT
Created attachment 230523 [details]
Patch
Comment 21 Dave Hyatt 2014-04-30 14:54:41 PDT
Landed in r168046.
Comment 22 Myles C. Maxfield 2014-04-30 20:24:17 PDT
Looks like this broke an API test: WebKit2.ResizeReversePaginatedWebView
http://build.webkit.org/builders/Apple%20Mavericks%20Debug%20WK2%20%28Tests%29/builds/4324/steps/run-api-tests/logs/stdio
Comment 23 Jon Lee 2014-04-30 22:54:17 PDT
unless the patch for this is being rolled out, subsequent issues should be tracked in other bugs. back to resolved.