New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 710378 link

Starred by 8 users

Issue metadata

Status: Duplicate
Merged: issue 675904
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Compat

Blocked on:
issue 656232



Sign in to add a comment

Enclosing table headers are not repeated when printing if they have nested table headers

Reported by nasser.c...@gmail.com, Apr 11 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Example URL:

Steps to reproduce the problem:
1. HTML table has <thead> table header
2. HTML table spans more than one page when printed
3. HTML table has another table nested in a <td>

What is the expected behavior?
The headers of both outer table and inner table are shown in printed pages, if the table appears in more than one page. 

What went wrong?
Only the inner table headers are repeated on printed pages

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 57  Channel: n/a
OS Version: 10.0
Flash Version: 

<!-- source below --> 
<html>
<head>
<title>Repeating Table Headers on Each Page</title>
<style type="text/css">
    table {font-family: Helvetica, Arial, Verdana; font-size: 24pt
    }
   thead {display: table-header-group;}
</style>
</head>
<body>
    <table>
        <thead>
            <tr>
                <td>Just One Outer Column Header</td>
            </tr>
        </thead>
        <tbody>
            <tr><td>
            <table>
                <thead>
                    <tr>
                        <td>Inner Column 1</td>
                        <td>Inner Column 2</td>
                        <td>Inner Column 3</td>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>1-1</td>
                        <td>2-1</td>
                        <td>3-1</td>
                    </tr>
                    <tr>
                        <td>1-2</td>
                        <td>2-2</td>
                        <td>3-2</td>
                    </tr>
                    <tr>
                        <td>1-3</td>
                        <td>2-3</td>
                        <td>3-3</td>
                    </tr>
                    <tr>
                        <td>1-4</td>
                        <td>2-4</td>
                        <td>3-4</td>
                    </tr>
                    <tr>
                        <td>1-5</td>
                        <td>2-5</td>
                        <td>3-5</td>
                    </tr>
                    <tr>
                        <td>1-6</td>
                        <td>2-6</td>
                        <td>3-6</td>
                    </tr>
                    <tr>
                        <td>1-7</td>
                        <td>2-7</td>
                        <td>3-7</td>
                    </tr>
                    <tr>
                        <td>1-8</td>
                        <td>2-8</td>
                        <td>3-8</td>
                    </tr>
                    <tr>
                        <td>1-9</td>
                        <td>2-9</td>
                        <td>3-9</td>
                    </tr>
                    <tr>
                        <td>1-10</td>
                        <td>2-10</td>
                        <td>3-10</td>
                    </tr>
                    <tr>
                        <td>1-11</td>
                        <td>2-11</td>
                        <td>3-11</td>
                    </tr>
                    <tr>
                        <td>1-12</td>
                        <td>2-12</td>
                        <td>3-12</td>
                    </tr>
                    <tr>
                        <td>1-13</td>
                        <td>2-13</td>
                        <td>3-13</td>
                    </tr>
                    <tr>
                        <td>1-14</td>
                        <td>2-14</td>
                        <td>3-14</td>
                    </tr>
                    <tr>
                        <td>1-15</td>
                        <td>2-15</td>
                        <td>3-15</td>
                    </tr>
                    <tr>
                        <td>1-16</td>
                        <td>2-16</td>
                        <td>3-16</td>
                    </tr>
                    <tr>
                        <td>1-17</td>
                        <td>2-17</td>
                        <td>3-17</td>
                    </tr>
                    <tr>
                        <td>1-18</td>
                        <td>2-18</td>
                        <td>3-18</td>
                    </tr>
                    <tr>
                        <td>1-19</td>
                        <td>2-19</td>
                        <td>3-19</td>
                    </tr>
                    <tr>
                        <td>1-20</td>
                        <td>2-20</td>
                        <td>3-20</td>
                    </tr>
                    <tr>
                        <td>1-21</td>
                        <td>2-21</td>
                        <td>3-21</td>
                    </tr>
                    <tr>
                        <td>1-22</td>
                        <td>2-22</td>
                        <td>3-22</td>
                    </tr>
                    <tr>
                        <td>1-23</td>
                        <td>2-23</td>
                        <td>3-23</td>
                    </tr>
                    <tr>
                        <td>1-24</td>
                        <td>2-24</td>
                        <td>3-24</td>
                    </tr>
                    <tr>
                        <td>1-25</td>
                        <td>2-25</td>
                        <td>3-25</td>
                    </tr>
                    <tr>
                        <td>1-26</td>
                        <td>2-26</td>
                        <td>3-26</td>
                    </tr>
                    <tr>
                        <td>1-27</td>
                        <td>2-27</td>
                        <td>3-27</td>
                    </tr>
                    <tr>
                        <td>1-28</td>
                        <td>2-28</td>
                        <td>3-28</td>
                    </tr>
                    <tr>
                        <td>1-29</td>
                        <td>2-29</td>
                        <td>3-29</td>
                    </tr>
                    <tr>
                        <td>1-30</td>
                        <td>2-30</td>
                        <td>3-30</td>
                    </tr>
                    <tr>
                        <td>1-31</td>
                        <td>2-31</td>
                        <td>3-31</td>
                    </tr>
                    <tr>
                        <td>1-32</td>
                        <td>2-32</td>
                        <td>3-32</td>
                    </tr>
                    <tr>
                        <td>1-33</td>
                        <td>2-33</td>
                        <td>3-33</td>
                    </tr>
                    <tr>
                        <td>1-34</td>
                        <td>2-34</td>
                        <td>3-34</td>
                    </tr>
                    <tr>
                        <td>1-35</td>
                        <td>2-35</td>
                        <td>3-35</td>
                    </tr>
                </tbody>
                </table>
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>
 
Chromium-printed.png
60.1 KB View Download
Firefox-printed.png
55.3 KB View Download
Cc: msten...@opera.com
Components: Internals>Printing Blink>Layout>Table
Labels: -Type-Compat Hotlist-Interop Type-Bug
Status: Untriaged (was: Unconfirmed)
Summary: Enclosing table headers are not repeated when printing if they have nested table headers (was: Repeating table headers in nested tables on printed pages )
Reproduced on Windows 7.

Comment 2 by e...@chromium.org, Apr 18 2017

Cc: robho...@gmail.com
Labels: -Type-Bug -Pri-2 Pri-3 Type-Compat
Status: Available (was: Untriaged)
Blockedon: 656232
Mergedinto: 675904
Status: Duplicate (was: Available)
Fixed by https://codereview.chromium.org/2882043002

Sign in to add a comment