[Webkit-unassigned] [Bug 39733] New: Printing code should break a page only at allowed page breake positions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 26 07:20:16 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39733

           Summary: Printing code should break a page only at allowed page
                    breake positions
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Printing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hayato at chromium.org
                CC: hamaji at chromium.org, yuzo at google.com


For example, suppose the height of page is 1000px and try to print the following html.

<html>
<body>
  <div id="block1" style="height:800px;border:1px solid red"></div>
  <div id="block2" style="height:800px;border:1px solid green"></div>
</body>
</html>

According to CSS3's Paged Media specification (see bellow), a page break should occur between 'block1' and 'block2'. The current printing code breaks a page inside 'block2'. Breaking a page at disallowed position should be a last resort.

- Opera 10.5.3 (Mac OS X 10.5) breaks a page between 'block1' and 'block2' correctly.
- Firefox 3.6.2 (Mac OS X 10.5) has the same behaviour as WebKit.

CSS3 PagedMedia 9.4. Allowed page breaks and Rule A, B, C and D.
http://dev.w3.org/csswg/css3-page/#allowed-pg-brk

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list