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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 13 00:49:39 PDT 2010


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





--- Comment #11 from Yoshiki Hayashi <yhayashi at google.com>  2010-05-13 00:49:38 PST ---
(In reply to comment #9)
> This change broke the following 3 tests on Mac:
> 
> fast/forms/003.html
> fast/forms/select-block-background.html
> fast/text/drawBidiText.html
> 
> I guess some code for <select> needs to check sizesToIntrinsicWidth. I suspect isAuto() in Render(MenuList|ListBox)::calcPrefWidths() .

My bad.  I forgot to include <select> in sizesToIntrinsicWidth.

> Also, I guess we need the same change for <datagrid> . I'm not sure about <legend>, but probably it has similar issue when we specify display:inline-block explicitly?

I'm not sure what would be the desired behavior but I've changed the code as suggested.  Now all the tags formerly treated width: auto as width: intrinsic behaves the same way, it is handled as width: auto only when in vertical flexbox with box-align: stretch.  Otherwise those are handled as width: intrinsic as before.

-- 
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