Changeset 82781 in webkit
- Timestamp:
- Apr 2, 2011 5:01:42 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r82780 r82781 1 2011-04-02 Andy Estes <aestes@apple.com> 2 3 Reviewed by Oliver Hunt. 4 5 REGRESSION (r69237): Black border around map elements while using an image map on Mac platform 6 https://bugs.webkit.org/show_bug.cgi?id=52518 7 8 * fast/images/imagemap-focus-ring-zero-outline-width.html: Added. 9 * platform/mac/fast/images/imagemap-focus-ring-zero-outline-width-expected.checksum: Added. 10 * platform/mac/fast/images/imagemap-focus-ring-zero-outline-width-expected.png: Added. 11 * platform/mac/fast/images/imagemap-focus-ring-zero-outline-width-expected.txt: Added. 12 1 13 2011-04-01 Beth Dakin <bdakin@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r82778 r82781 1 2011-04-02 Andy Estes <aestes@apple.com> 2 3 Reviewed by Oliver Hunt. 4 5 REGRESSION (r69237): Black border around map elements while using an image map on Mac platform 6 https://bugs.webkit.org/show_bug.cgi?id=52518 7 8 Test: fast/images/imagemap-focus-ring-zero-outline-width.html 9 10 * rendering/RenderImage.cpp: 11 (WebCore::RenderImage::paintAreaElementFocusRing): Return early if outlineWidth is 0. 12 1 13 2011-04-02 Beth Dakin <bdakin@apple.com> 2 14 -
trunk/Source/WebCore/rendering/RenderImage.cpp
r79733 r82781 353 353 354 354 RenderStyle* areaElementStyle = areaElement->computedStyle(); 355 paintInfo.context->drawFocusRing(path, areaElementStyle->outlineWidth(), areaElementStyle->outlineOffset(), 355 unsigned short outlineWidth = areaElementStyle->outlineWidth(); 356 if (!outlineWidth) 357 return; 358 359 paintInfo.context->drawFocusRing(path, outlineWidth, 360 areaElementStyle->outlineOffset(), 356 361 areaElementStyle->visitedDependentColor(CSSPropertyOutlineColor)); 357 362 }
Note: See TracChangeset
for help on using the changeset viewer.