Bug 34699 - Provide a way to get total number of pages to be printed
Summary: Provide a way to get total number of pages to be printed
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Shinichiro Hamaji
Depends on:
Reported: 2010-02-08 01:02 PST by Shinichiro Hamaji
Modified: 2010-02-09 00:33 PST (History)
3 users (show)

See Also:

Patch v1 (16.91 KB, patch)
2010-02-08 01:05 PST, Shinichiro Hamaji
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shinichiro Hamaji 2010-02-08 01:02:22 PST
WebKit fails this test: http://www.w3.org/Style/CSS/Test/CSS2.1/20100127/html4/page-break-after-003.htm

You can reproduce the failure by

1. open the URL above,
2. select Print from menu,
3. see the number of pages to be printed, and
4. you will see the number is 3, but the test says there should be only 2 pages.

The fix for this issue may be not difficult, but currently we cannot test the fix. I propose a new layoutTestController API which returns the number of pages to be printed.

See also: Bug 34695
Comment 1 Shinichiro Hamaji 2010-02-08 01:05:05 PST
Created attachment 48326 [details]
Patch v1
Comment 2 Eric Seidel (no email) 2010-02-08 11:21:45 PST
Attachment 48326 [details] was posted by a committer and has review+, assigning to Shinichiro Hamaji for commit.
Comment 3 Shinichiro Hamaji 2010-02-09 00:33:08 PST
Comment on attachment 48326 [details]
Patch v1

Clearing flags on attachment: 48326

Committed r54533: <http://trac.webkit.org/changeset/54533>
Comment 4 Shinichiro Hamaji 2010-02-09 00:33:17 PST
All reviewed patches have been landed.  Closing bug.