Text input max-width not constrained by inside-block parent
Reported by
rezon...@gmail.com,
May 3 2016
|
|||
Issue descriptionUserAgent: 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
,
May 3 2016
,
May 3 2016
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 |
|||
Comment 1 by karandeepb@chromium.org
, May 3 2016