[Webkit-unassigned] [Bug 20445] HTML listbox is not resized horizontally when zooming
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 19 01:57:11 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20445
------- Comment #2 from artem.ananiev at sun.com 2008-08-19 01:57 PDT -------
I found the listbox width is calculated in RenderListBox::updateFromElement()
method which first checks for a flag 'm_optionsChanged'. This flag is only set
to true if any elements are added/removed from the listbox. However, when
listbox style is changed, its width should be also recalculated, so the flag
should also be set to true in RenderListBox::setStyle(). The corresponding
patch is attached.
Another option may be to introduced a new field 'm_styleChanged', set it to
true in setStyle() and check it in updateFromElement() as well as
m_optionsChanged.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list