<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Text input max-width not constrained by inside-block parent"
href="https://bugs.webkit.org/show_bug.cgi?id=157306">157306</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Text input max-width not constrained by inside-block parent
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>OS X 10.11
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>CSS
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rez@iinet.net.au
</td>
</tr></table>
<p>
<div>
<pre>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: <a href="http://codepen.io/cliener/pen/aNQamJ">http://codepen.io/cliener/pen/aNQamJ</a>
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:
- Chrome 50
- Firefox 46
- IE 11</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>