RESOLVED FIXED 94401
Add support for making a web site become paginated using overflow: paged-x | paged-y
https://bugs.webkit.org/show_bug.cgi?id=94401
Summary Add support for making a web site become paginated using overflow: paged-x | ...
Beth Dakin
Reported 2012-08-17 17:32:21 PDT
Hyatt wants something like overflow-style implemented in WebKit (read about overflow-style here: http://dev.w3.org/csswg/css3-gcpm/#paged-presentations ), but as new values on overflow-y instead of a new property named overflow-style. <rdar://problem/11831783> I have a patch that gets a lot of this done, and I will post it soon to get feedback.
Attachments
Patch for feedback (56.67 KB, patch)
2012-08-17 18:01 PDT, Beth Dakin
no flags
Patch (827.85 KB, patch)
2012-08-20 17:29 PDT, Beth Dakin
no flags
Patch for style bot (827.84 KB, patch)
2012-08-20 17:39 PDT, Beth Dakin
no flags
Attempt to get other ports building (828.92 KB, patch)
2012-08-20 18:17 PDT, Beth Dakin
gustavo: commit-queue-
Archive of layout-test-results from gce-cr-linux-08 (1.47 MB, application/zip)
2012-08-20 19:38 PDT, WebKit Review Bot
no flags
Will it build, v2 (829.38 KB, patch)
2012-08-21 11:28 PDT, Beth Dakin
gustavo: commit-queue-
Archive of layout-test-results from gce-cr-linux-06 (1.27 MB, application/zip)
2012-08-21 13:47 PDT, WebKit Review Bot
no flags
Will it build, v3 (830.65 KB, patch)
2012-08-21 13:49 PDT, Beth Dakin
webkit.review.bot: commit-queue-
Archive of layout-test-results from gce-cr-linux-07 (1.27 MB, application/zip)
2012-08-21 15:02 PDT, WebKit Review Bot
no flags
Will it build, v4 (832.24 KB, patch)
2012-08-21 15:50 PDT, Beth Dakin
no flags
Without printfs this time (832.21 KB, patch)
2012-08-21 16:02 PDT, Beth Dakin
buildbot: commit-queue-
Will it build, v5 (832.33 KB, patch)
2012-08-21 17:02 PDT, Beth Dakin
hyatt: review+
Archive of layout-test-results from gce-cr-linux-07 (1.38 MB, application/zip)
2012-08-21 22:30 PDT, WebKit Review Bot
no flags
Beth Dakin
Comment 1 2012-08-17 18:01:55 PDT
Created attachment 159247 [details] Patch for feedback
Dave Hyatt
Comment 2 2012-08-20 11:19:52 PDT
Comment on attachment 159247 [details] Patch for feedback View in context: https://bugs.webkit.org/attachment.cgi?id=159247&action=review Everything looks good. As also mentioned, when dealing with overflow areas, the content width is what you want to use to set up the column width. > Source/WebCore/css/CSSParser.cpp:1776 > + overflowXValue = cssValuePool().createIdentifierValue(CSSValueHidden); As discussed, for now, let's make this default to auto for paged-x and hidden for paged-y. > Source/WebCore/page/FrameView.cpp:159 > + // is horizontal, then the direction of the horizontality dictates the choice. If the WritingMode It is fantastic that you managed to work "horizontality" into a comment. What a great word! :)
Beth Dakin
Comment 3 2012-08-20 17:29:12 PDT
WebKit Review Bot
Comment 4 2012-08-20 17:33:30 PDT
Attachment 159572 [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/Pagination.h:26: #ifndef header guard has wrong style, please use: Pagination_h [build/header_guard] [5] Total errors found: 1 in 38 files If any of these errors are false positives, please file a bug against check-webkit-style.
Beth Dakin
Comment 5 2012-08-20 17:39:35 PDT
Created attachment 159576 [details] Patch for style bot
Beth Dakin
Comment 6 2012-08-20 18:17:19 PDT
Created attachment 159582 [details] Attempt to get other ports building
Gustavo Noronha (kov)
Comment 7 2012-08-20 18:50:43 PDT
Comment on attachment 159582 [details] Attempt to get other ports building Attachment 159582 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/13538883
WebKit Review Bot
Comment 8 2012-08-20 19:38:13 PDT
Comment on attachment 159582 [details] Attempt to get other ports building Attachment 159582 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13549192 New failing tests: fast/overflow/paged-y-div.html fast/overflow/paged-y-on-root.html fast/overflow/paged-x-on-root.html fast/overflow/paged-x-div.html
WebKit Review Bot
Comment 9 2012-08-20 19:38:18 PDT
Created attachment 159594 [details] Archive of layout-test-results from gce-cr-linux-08 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: gce-cr-linux-08 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Build Bot
Comment 10 2012-08-21 08:00:05 PDT
Comment on attachment 159582 [details] Attempt to get other ports building Attachment 159582 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/13547493
Beth Dakin
Comment 11 2012-08-21 11:28:57 PDT
Created attachment 159727 [details] Will it build, v2
Gustavo Noronha (kov)
Comment 12 2012-08-21 12:40:57 PDT
Comment on attachment 159727 [details] Will it build, v2 Attachment 159727 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/13550496
WebKit Review Bot
Comment 13 2012-08-21 13:47:16 PDT
Comment on attachment 159727 [details] Will it build, v2 Attachment 159727 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13550518 New failing tests: fast/overflow/paged-y-div.html fast/overflow/paged-y-on-root.html fast/overflow/paged-x-on-root.html fast/overflow/paged-x-div.html
WebKit Review Bot
Comment 14 2012-08-21 13:47:22 PDT
Created attachment 159761 [details] Archive of layout-test-results from gce-cr-linux-06 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: gce-cr-linux-06 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Beth Dakin
Comment 15 2012-08-21 13:49:03 PDT
Created attachment 159762 [details] Will it build, v3 Okay, I am optimistic about this one for GTK.
WebKit Review Bot
Comment 16 2012-08-21 15:02:02 PDT
Comment on attachment 159762 [details] Will it build, v3 Attachment 159762 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13564012 New failing tests: fast/overflow/paged-y-div.html fast/overflow/paged-y-on-root.html fast/overflow/paged-x-on-root.html fast/overflow/paged-x-div.html
WebKit Review Bot
Comment 17 2012-08-21 15:02:07 PDT
Created attachment 159774 [details] Archive of layout-test-results from gce-cr-linux-07 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: gce-cr-linux-07 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Build Bot
Comment 18 2012-08-21 15:17:02 PDT
Comment on attachment 159762 [details] Will it build, v3 Attachment 159762 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/13561016
Beth Dakin
Comment 19 2012-08-21 15:50:59 PDT
Created attachment 159783 [details] Will it build, v4
WebKit Review Bot
Comment 20 2012-08-21 15:56:01 PDT
Attachment 159783 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'LayoutTests/ChangeLog', u'La..." exit_code: 1 Source/WebCore/rendering/RenderView.cpp:229: Missing space after , [whitespace/comma] [3] Total errors found: 1 in 43 files If any of these errors are false positives, please file a bug against check-webkit-style.
Beth Dakin
Comment 21 2012-08-21 16:02:02 PDT
Created attachment 159787 [details] Without printfs this time
Build Bot
Comment 22 2012-08-21 16:52:26 PDT
Comment on attachment 159787 [details] Without printfs this time Attachment 159787 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/13557084
Beth Dakin
Comment 23 2012-08-21 17:02:03 PDT
Created attachment 159808 [details] Will it build, v5
Dean Jackson
Comment 24 2012-08-21 17:32:51 PDT
It's time to go HAM on these builders.
WebKit Review Bot
Comment 25 2012-08-21 22:30:06 PDT
Comment on attachment 159808 [details] Will it build, v5 Attachment 159808 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13566133 New failing tests: fast/overflow/paged-y-div.html fast/overflow/paged-y-on-root.html fast/overflow/paged-x-on-root.html fast/overflow/paged-x-div.html
WebKit Review Bot
Comment 26 2012-08-21 22:30:10 PDT
Created attachment 159861 [details] Archive of layout-test-results from gce-cr-linux-07 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: gce-cr-linux-07 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Beth Dakin
Comment 27 2012-08-22 10:44:03 PDT
(In reply to comment #26) > Created an attachment (id=159861) [details] > Archive of layout-test-results from gce-cr-linux-07 > > The attached test failures were seen while running run-webkit-tests on the chromium-ews. > Bot: gce-cr-linux-07 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid I think Chromium-specific test results are in order here. It just seems like small pixel differences that come down to platform differences.
Beth Dakin
Comment 28 2012-08-22 11:32:45 PDT
(In reply to comment #27) > (In reply to comment #26) > > Created an attachment (id=159861) [details] [details] > > Archive of layout-test-results from gce-cr-linux-07 > > > > The attached test failures were seen while running run-webkit-tests on the chromium-ews. > > Bot: gce-cr-linux-07 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid > > I think Chromium-specific test results are in order here. It just seems like small pixel differences that come down to platform differences. I wonder if these results should go in the chromium directory or the chromium-linux directory?
Dave Hyatt
Comment 29 2012-08-22 12:56:35 PDT
Comment on attachment 159808 [details] Will it build, v5 r=me
Beth Dakin
Comment 30 2012-08-22 13:21:26 PDT
Thanks, Dave! Committed change with http://trac.webkit.org/changeset/126343 I didn't check in the new chromium expectations because I wasn't sure whether to put them in chromium or chromium-linux.
Note You need to log in before you can comment on or make changes to this bug.