Changeset 84214 in webkit
- Timestamp:
- Apr 18, 2011 6:40:21 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r84213 r84214 1 2011-04-18 Jon Lee <jonlee@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 Selected item background in list box gets rendered on top of overlay scrollbar knob (58824) 6 https://bugs.webkit.org/show_bug.cgi?id=58824 7 <rdar://problem/9292680> 8 9 * rendering/RenderListBox.cpp: 10 (WebCore::RenderListBox::paintObject): Moving the stage of painting the scrollbars to the foreground if using overlay scrollbars 11 1 12 2011-04-18 John Bauman <jbauman@chromium.org> 2 13 -
trunk/Source/WebCore/rendering/RenderListBox.cpp
r83832 r84214 274 274 RenderBlock::paintObject(paintInfo, tx, ty); 275 275 276 if (paintInfo.phase == PaintPhaseBlockBackground) 277 paintScrollbar(paintInfo, tx, ty); 278 else if (paintInfo.phase == PaintPhaseChildBlockBackground || paintInfo.phase == PaintPhaseChildBlockBackgrounds) { 276 switch (paintInfo.phase) { 277 // Depending on whether we have overlay scrollbars they 278 // get rendered in the foreground or background phases 279 case PaintPhaseForeground: 280 if (m_vBar->isOverlayScrollbar()) 281 paintScrollbar(paintInfo, tx, ty); 282 break; 283 case PaintPhaseBlockBackground: 284 if (!m_vBar->isOverlayScrollbar()) 285 paintScrollbar(paintInfo, tx, ty); 286 break; 287 case PaintPhaseChildBlockBackground: 288 case PaintPhaseChildBlockBackgrounds: { 279 289 int index = m_indexOffset; 280 290 while (index < listItemsSize && index <= m_indexOffset + numVisibleItems()) { … … 282 292 index++; 283 293 } 294 break; 295 } 296 default: 297 break; 284 298 } 285 299 }
Note: See TracChangeset
for help on using the changeset viewer.