[Webkit-unassigned] [Bug 38050] Form button input elements lacking text in some cases after switching from visibility:collapse to visibility:visible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 7 22:48:58 PDT 2010


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





--- Comment #7 from mitz at webkit.org  2010-06-07 22:48:56 PST ---
(In reply to comment #6)

> This seems to be confirmed by triggering a layout after swapping from collapse to visible - the bug is fixed. I added
> 
>     if (inherited_flags._visibility == COLLAPSE && other->inherited_flags._visibility == VISIBLE)
>         return StyleDifferenceLayout;
> 
> to RenderStyle::diff. What do you think?

Seems okay, but doesn’t the same problem exist when changing from HIDDEN to COLLAPSE? Also, it’s suboptimal to force layout for all the other elements, which don’t distinguish between HIDDEN and COLLAPSE, just to support flex boxes (and in the future, table parts). Not sure if that’s a serious concern, though.

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