New issue
Advanced search Search tips

Issue 913873 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Resize, Padding and Border equal or larger than font-size allows negative height/width values

Reported by christop...@gmail.com, Dec 11

Issue description

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

Steps to reproduce the problem:
1. Create any element with resize: both; and a inner border or padding equal or larger to the font-size 
a <p style="padding-left: 1em; border-top: 1em solid black; resize: both; overflow: overlay;">P</p> is fine

2. Resize it to the lowest possible size.

What is the expected behavior?
It stops on 0px.

What went wrong?
DOM values after resize should be something like <p style="padding-left: 1em; border-top: 1em dotted black; resize: both; overflow: overlay; width: -1px; height: -1px;">P</p>

Did this work before? No 

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

As soon as you reach -1px height it snaps to the automatic height. But only for height: -1px;. Any other negative value will hide the content.

Doesn't matter if box-sizing: content-box; or border-box;.
 
Labels: Needs-Triage-M70
Cc: phanindra.mandapaka@chromium.org
Labels: Needs-Feedback Triaged-ET
Thanks for filing the issue...

Tried to reproduce the issue on reported chrome version 70.0.3538.110 using Windows 10. Attaching screencast for reference.
Steps:
---------
1. Launched reported chrome
2. Created .html file and opened file in the new tab 
3. resized the element
As we have observed that the element becomes before state if we drag completely 

@Reporter: Can you please check the attached screencast and let us know if we missed any thing from our end. Could you please upgrade to latest chrome stable 71.0.3578.98, you can download latest chrome builds here:" https://www.chromium.org/getting-involved/dev-channel ". Let us know whether issue still persists. If possible provide screencast for better triaging it. 

Thanks.!
913873.mp4
589 KB View Download
Still persists in M71.
2018-12-19-06-01-02.mp4
588 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Dec 19

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -UI Blink>Layout
Components: Blink>Input
Labels: -Pri-2 Pri-3
Status: Available (was: Unconfirmed)

Sign in to add a comment