[Webkit-unassigned] [Bug 17918] -webkit-box-align stretch does not work on replaced content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 10 02:29:41 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=17918


Yoshiki Hayashi <yhayashi at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yhayashi at google.com




--- Comment #5 from Yoshiki Hayashi <yhayashi at google.com>  2010-05-10 02:29:41 PST ---
I investigated this bug and found that the root cause seems to be that CSSStyleSelector::adjustRenderStyle in WebCore/css/CSSStyleSelector.cpp changes width: auto to mean width: intrinsic for these tags (button, input, select and textarea).  Changing those to be kept as width: auto fixes this bug and doesn't cause any regression as far as I can see so I'm going to attach that patch to this issue.

It looks like the change was made in http://trac.webkit.org/changeset/10662 by David, so I believe he can shoot my patch down quickly if I'm doing something completely stupid.

Alternative solution I could see is to treat width: intrinsic of button, input, select or textarea in flexbox as width: auto.  That looks uglier so I didn't implement it that way but if it's the desired way or there's some other way I should formulate my patch, I could implement it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list