NEW 109681
Incorrectly applies column-gap between pages in overflow: paged
https://bugs.webkit.org/show_bug.cgi?id=109681
Summary Incorrectly applies column-gap between pages in overflow: paged
Rune Lillesveen
Reported 2013-02-13 04:27:54 PST
For element or root pagination with overflow:paged-*, WebKit applies the column-gap length between individual pages in the paged container. This looks like is a side-effect of using the multicol implementation to paginate. That is an implementation detail and column-gap should not apply in this case.
Attachments
Test case for paged-y with column gap (997 bytes, text/html)
2013-02-13 04:29 PST, Rune Lillesveen
no flags
Test case for paged-y on root with column gap (993 bytes, text/html)
2013-02-13 04:32 PST, Rune Lillesveen
no flags
Patch (492.77 KB, patch)
2013-02-14 03:38 PST, Rune Lillesveen
no flags
Patch (12.58 KB, patch)
2013-02-15 07:40 PST, Rune Lillesveen
no flags
Patch (12.64 KB, patch)
2013-02-18 00:57 PST, Rune Lillesveen
bfulgham: review-
Rune Lillesveen
Comment 1 2013-02-13 04:29:30 PST
Created attachment 188055 [details] Test case for paged-y with column gap
Rune Lillesveen
Comment 2 2013-02-13 04:32:15 PST
Created attachment 188056 [details] Test case for paged-y on root with column gap
Rune Lillesveen
Comment 3 2013-02-14 03:38:40 PST
WebKit Review Bot
Comment 4 2013-02-14 04:48:14 PST
Comment on attachment 188300 [details] Patch Attachment 188300 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/16514605 New failing tests: fast/overflow/paged-y-with-column-gap.html fast/overflow/paged-x-div-with-column-gap.html fast/overflow/paged-y-on-root-with-column-gap.html fast/overflow/paged-x-with-column-gap.html fast/overflow/paged-y-div.html fast/overflow/paged-x-div.html
Rune Lillesveen
Comment 5 2013-02-14 05:00:27 PST
Since the expected results changed with my path, I regenerated the "expected" files for gtk since that is the target I'm using. I don't know if I need to regenerate the "expected" files for every build target, if I should remove them, or what.
Rune Lillesveen
Comment 6 2013-02-14 05:01:10 PST
(In reply to comment #5) > Since the expected results changed with my path "patch"
Beth Dakin
Comment 7 2013-02-14 17:35:18 PST
Comment on attachment 188300 [details] Patch Hi Rune! Thanks for your contribution! In the email I sent you, I was worried that this patch would break the Page::setPagination() API, but I actually think it will be fine. Check out this wiki page for layout test failures on other platforms, and let m know if you still have questions about how best to proceed: http://trac.webkit.org/wiki/TestExpectations
Build Bot
Comment 8 2013-02-15 00:34:53 PST
Comment on attachment 188300 [details] Patch Attachment 188300 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/16530985 New failing tests: fast/overflow/paged-y-div.html fast/overflow/paged-x-div-with-column-gap.html fast/overflow/paged-x-div.html fast/overflow/paged-x-with-column-gap.html
Rune Lillesveen
Comment 9 2013-02-15 07:40:24 PST
Eric Seidel (no email)
Comment 10 2013-02-15 07:42:49 PST
Comment on attachment 188569 [details] Patch dumpAsText() tests don't generally need rebaselining by other ports. I would not expect this to fail for others.
Rune Lillesveen
Comment 11 2013-02-15 07:44:49 PST
(In reply to comment #7) > (From update of attachment 188300 [details]) > Hi Rune! Thanks for your contribution! In the email I sent you, I was worried that this patch would break the Page::setPagination() API, but I actually think it will be fine. I've only modified the CSS parts of what affects pagination gap, so unless gap is set via -webkit-column-gap UA styles, it should be fine. > Check out this wiki page for layout test failures on other platforms, and let m know if you still have questions about how best to proceed: http://trac.webkit.org/wiki/TestExpectations Wasn't all clear to me if/when I was supposed to do rebaselining for various platforms. I've added "Failure"s in TestExpectations.
Rune Lillesveen
Comment 12 2013-02-15 07:49:04 PST
(In reply to comment #10) > (From update of attachment 188569 [details]) > dumpAsText() tests don't generally need rebaselining by other ports. I would not expect this to fail for others. The tests I marked as Failures for rebaselining were the old tests which didn't use dumpAsText().
Rune Lillesveen
Comment 13 2013-02-18 00:57:35 PST
Brent Fulgham
Comment 14 2016-03-14 12:34:13 PDT
Comment on attachment 188810 [details] Patch Unfortunately, this patch has been neglected for so long that it doesn't apply anymore. Could you please rebase the patch against our current sources so we can properly evaluate it?
Brent Fulgham
Comment 15 2022-07-13 14:05:30 PDT
This continues to be an issue in Safari 15.
Radar WebKit Bug Importer
Comment 16 2022-07-13 14:05:46 PDT
Note You need to log in before you can comment on or make changes to this bug.