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

Issue 721735 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Compat



Sign in to add a comment

table thead element adds padding on top of the page in Print Preview

Reported by 625...@gmail.com, May 12 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Example URL:

Steps to reproduce the problem:
1) Create a page with a table, having a thead element.
2) Print Preview the page.

*) A sample code:

<!DOCTYPE html>
<html>
    <head>
        <style>
            * { padding: 0; margin: 0; }
        </style>
    </head>
    <body>
        <table>
            <thead>
                <tr>
                    <td>test</td>
                </tr>
            </thead>
        </table>
    </body>
</html>

What is the expected behavior?
There shouldn't be any padding at top in the print mode.

What went wrong?
Additional Padding appeard on top of the page in the print preview mode.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 58.0.3029.110  Channel: stable
OS Version: 10.0
Flash Version: 

Replacing thead with a tbody seems to solve the problem.
 
Labels: Needs-Triage-M58
Cc: kkaluri@chromium.org
Components: UI>Browser>PrintPreview
Labels: -Needs-Triage-M58 M-60 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Windows 10, Ubuntu 14.04 and Mac 10.12.4 with Chrome #58.0.3029.110, Canary #60.0.3100.0 and also in earlier version M30-30.0.1549.0

This is a non-regression issue, hence marking it as untriaged.

Attaching a screen-cast for reference.
Issue 721735.mp4
761 KB View Download
Components: Blink>Layout>Table
This should go in the Blink>Layout>Table triage queue.
Cc: robhogan@chromium.org
I can't reproduce this. Can you advise?
May 20 2017 10-59 AM.webm
472 KB View Download
Status: WontFix (was: Untriaged)
I can reproduce on chrome 58 but not chrome 60.0.3108.0 on mac. +1 to WontFix.

OP, if this still reproduces for you on Chrome Canary, please comment with the OS and chrome version.

Sign in to add a comment