Bug 106277

Summary: text controls are sized too small when a percentage height is set
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: Layout and RenderingAssignee: Ojan Vafai <ojan>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, eric, esprehn, hyatt, mifenton, ojan.autocc, tkent, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case
none
Patch tony: review+

Ojan Vafai
Reported 2013-01-07 16:59:06 PST
Created attachment 181603 [details] test case See the test case. The current logic came from http://trac.webkit.org/changeset/13723, which itself copy-pasted from RenderReplaced. I tested IE9, FF17 and Opera12. WebKit is the only browser that changes the width due to a percentage height being set. Since then, this code has been copy-pasted into a few other classes as well. :) I'll post a patch tomorrow.
Attachments
test case (339 bytes, text/html)
2013-01-07 16:59 PST, Ojan Vafai
no flags
Patch (10.44 KB, patch)
2013-01-08 11:11 PST, Ojan Vafai
tony: review+
Ojan Vafai
Comment 1 2013-01-08 11:11:09 PST
Tony Chang
Comment 2 2013-01-08 11:31:29 PST
Comment on attachment 181711 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=181711&action=review > Source/WebCore/ChangeLog:8 > + This makes our behavior match Firefox 17, IE 9 and Opera 12. I would include the text, "The current logic came from http://trac.webkit.org/changeset/13723, which itself copy-pasted from RenderReplaced."
Ojan Vafai
Comment 3 2013-01-08 11:41:59 PST
Note You need to log in before you can comment on or make changes to this bug.