[Webkit-unassigned] [Bug 5097] CSS2: page-break-after does not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 17 06:50:57 PDT 2013


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


hus.buy at hotmail.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hus.buy at hotmail.fr




--- Comment #23 from hus.buy at hotmail.fr  2013-06-17 06:49:33 PST ---
BUG: "page-break-inside: avoid"

There is a bug for Chrome when div elements are in a "table".
Try the code below, and you will see :
   - at pages 3,9 and 15: some unexpected space between first and second div;
   - at pages 4,10 and 16: some unexpected space between second and third div;
   - at pages 5,11 and 17: only 2 divs are visible instead of 3;

There is a cyclic behavour every 6 pages.

Thank you.

**********************************************************
<html>
    <head>
        <style>
            table {                
                width: 100%;
            }
            div {
                height: 270px;
                border: solid 2px;
                margin-bottom: 10px;
                page-break-inside: avoid;
            }
        </style>
    </head>
    <body>
        <table><tbody>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
            <tr><td><div>Hello</div></td></tr>
        </tbody></table>

    </body>
</html>

-- 
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