New issue
Advanced search Search tips

Issue 608638 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Text input max-width not constrained by inside-block parent

Reported by rezon...@gmail.com, May 3 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:46.0) Gecko/20100101 Firefox/46.0

Steps to reproduce the problem:
Text input inside an inline-block displayed parent doesn't respect max-width in the same way as other elements. In this case, an image has been used as a comparison element.

Compare #2 and #6 in CodePen: http://codepen.io/cliener/pen/aNQamJ

What is the expected behavior?
CodePen example #6 shows the correct behaviour with an img element.

What went wrong?
CodePen example #2 shows the broken behaviour with a text input.

Did this work before? No 

Chrome version: 50.0.2661.94  Channel: n/a
OS Version: OS X 10.11
Flash Version: Shockwave Flash 18.0 r0

Tested and confirmed as broken in:
- Safari 9.1
- Firefox 46
- IE 11
 
Components: -UI Blink
Components: -Blink Blink>Forms Blink>Layout

Comment 3 by e...@chromium.org, May 3 2016

Status: WontFix (was: Unconfirmed)
The max width is with respect to the element itself, not the container. This is consistent with the other browsers as well.

Sign in to add a comment