Changeset 79900 in webkit
- Timestamp:
- Feb 28, 2011 12:51:44 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r79897 r79900 1 2011-02-28 Chang Shu <cshu@webkit.org> 2 3 Reviewed by Adele Peterson. 4 5 REGRESSION (r79762): Items in <select multiple> have focus rings, but shouldn't 6 https://bugs.webkit.org/show_bug.cgi?id=55323 7 8 Added test case to make sure no focus ring is drawn on selected items. 9 10 * fast/forms/select-listbox-multiple-no-focusring.html: Added. 11 * platform/mac/fast/forms/select-listbox-multiple-no-focusring-expected.checksum: Added. 12 * platform/mac/fast/forms/select-listbox-multiple-no-focusring-expected.png: Added. 13 * platform/mac/fast/forms/select-listbox-multiple-no-focusring-expected.txt: Added. 14 1 15 2011-02-28 Abhishek Arya <inferno@chromium.org> 2 16 -
trunk/Source/WebCore/ChangeLog
r79897 r79900 1 2011-02-28 Chang Shu <cshu@webkit.org> 2 3 Reviewed by Adele Peterson. 4 5 REGRESSION (r79762): Items in <select multiple> have focus rings, but shouldn't 6 https://bugs.webkit.org/show_bug.cgi?id=55323 7 8 Draw focus ring on selected items only if spatial navigation is enabled. 9 10 Test: fast/forms/select-listbox-multiple-no-focusring.html 11 12 * rendering/RenderBlock.h: 13 * rendering/RenderListBox.cpp: 14 (WebCore::RenderListBox::addFocusRingRects): 15 1 16 2011-02-28 Abhishek Arya <inferno@chromium.org> 2 17 -
trunk/Source/WebCore/rendering/RenderBlock.h
r79834 r79900 303 303 void addOverflowFromInlineChildren(); 304 304 305 virtual void addFocusRingRects(Vector<IntRect>&, int tx, int ty); 306 305 307 #if ENABLE(SVG) 306 308 protected: … … 587 589 588 590 virtual IntRect localCaretRect(InlineBox*, int caretOffset, int* extraWidthToEndOfLine = 0); 589 590 virtual void addFocusRingRects(Vector<IntRect>&, int tx, int ty);591 591 592 592 void adjustPointToColumnContents(IntPoint&) const; -
trunk/Source/WebCore/rendering/RenderListBox.cpp
r79762 r79900 281 281 void RenderListBox::addFocusRingRects(Vector<IntRect>& rects, int tx, int ty) 282 282 { 283 if (!isSpatialNavigationEnabled(frame())) 284 return RenderBlock::addFocusRingRects(rects, tx, ty); 285 283 286 SelectElement* select = toSelectElement(static_cast<Element*>(node())); 284 287
Note: See TracChangeset
for help on using the changeset viewer.