Changeset 42597 in webkit
- Timestamp:
- Apr 16, 2009 3:29:30 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r42593 r42597 1 2009-04-16 Adam Langley <agl@google.com> 2 3 Reviewed by Darin Fisher. 4 5 Fix Chromium's rendering of <option> elements inside of <optgroups>. 6 7 https://bugs.webkit.org/show_bug.cgi?id=25244 8 9 Test (will included as a manual test by https://bugs.webkit.org/show_bug.cgi?id=24900): 10 11 <select> 12 <optgroup label="Should be bold"> 13 <option>Should not be bold</option> 14 </optgroup> 15 </select> 16 17 * css/themeWin.css: adding comments 18 * platform/chromium/PopupMenuChromium.cpp: 19 (WebCore::PopupListBox::getRowFont): use menuStyle() rather than the item's style 20 1 21 2009-04-16 Eric Roman <eroman@chromium.org> 2 22 -
trunk/WebCore/css/themeWin.css
r42020 r42597 98 98 margin: 0; 99 99 } 100 /* Options always use the selects' fonts */ 100 101 /* Option font must be inherited because we depend on computing the size of the 102 <select> based on the size of the options, and they must use the same font 103 for that computation to be correct */ 101 104 option { 102 105 font: inherit !important; -
trunk/WebCore/platform/chromium/PopupMenuChromium.cpp
r42287 r42597 809 809 Font PopupListBox::getRowFont(int rowIndex) 810 810 { 811 Font itemFont = m_popupClient-> itemStyle(rowIndex).font();811 Font itemFont = m_popupClient->menuStyle().font(); 812 812 if (m_popupClient->itemIsLabel(rowIndex)) { 813 813 // Bold-ify labels (ie, an <optgroup> heading).
Note: See TracChangeset
for help on using the changeset viewer.