Changeset 95721 in webkit
- Timestamp:
- Sep 22, 2011 9:14:30 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r95718 r95721 1 2011-09-20 Jason Liu <jason.liu@torchmobile.com.cn> 2 3 Reviewed by Simon Fraser. 4 5 CSS outline property on a narrow element has rabbit ear artifacts 6 https://bugs.webkit.org/show_bug.cgi?id=36793 7 8 Patch by Jason Liu <jason.liu@torchmobile.com.cn> 9 Patch updated by Robert Hogan <robert@webkit.org> 10 11 * fast/css/outline-narrowLine.html: Added. 12 * platform/qt/fast/css/outline-narrowLine-expected.txt: Added. 13 * platform/qt/fast/css/outline-narrowLine-expected.png: Added. 14 * platform/chromium-linux/fast/css/outline-narrowLine-expected.txt: Added. 15 * platform/chromium-linux/fast/css/outline-narrowLine-expected.png: Added. 16 1 17 2011-09-22 Marcus Bulach <bulach@chromium.org> 2 18 -
trunk/Source/WebCore/ChangeLog
r95720 r95721 1 2011-09-20 Jason Liu <jason.liu@torchmobile.com.cn> 2 3 Reviewed by Simon Fraser. 4 5 CSS outline property on a narrow element has rabbit ear artifacts 6 https://bugs.webkit.org/show_bug.cgi?id=36793 7 8 Patch by Jason Liu <jason.liu@torchmobile.com.cn> 9 Patch updated by Robert Hogan <robert@webkit.org> 10 11 Test: fast/css/outline-narrowLine.html 12 13 * rendering/RenderInline.cpp: 14 (WebCore::RenderInline::paintOutlineForLine): 15 1 16 2011-09-22 Wajahat Siddiqui <mdwajahatali.siddiqui@motorola.com> 2 17 -
trunk/Source/WebCore/rendering/RenderInline.cpp
r94259 r95721 1476 1476 (!lastline.isEmpty() && left - outlineWidth < paintOffset.x() + lastline.maxX()) ? -outlineWidth : outlineWidth, 1477 1477 outlineWidth, antialias); 1478 1478 1479 if (thisline.x() == thisline.maxX()) 1480 drawLineForBoxSide(graphicsContext, 1481 left - outlineWidth, 1482 top - outlineWidth, 1483 right + outlineWidth, 1484 top, 1485 BSTop, outlineColor, outlineStyle, 1486 outlineWidth, 1487 outlineWidth, 1488 antialias); 1489 1479 1490 // lower edge 1480 1491 if (thisline.x() < nextline.x()) … … 1498 1509 (!nextline.isEmpty() && left - outlineWidth < paintOffset.x() + nextline.maxX()) ? -outlineWidth : outlineWidth, 1499 1510 outlineWidth, antialias); 1511 1512 if (thisline.x() == thisline.maxX()) 1513 drawLineForBoxSide(graphicsContext, 1514 left - outlineWidth, 1515 bottom, 1516 right + outlineWidth, 1517 bottom + outlineWidth, 1518 BSBottom, outlineColor, outlineStyle, 1519 outlineWidth, 1520 outlineWidth, 1521 antialias); 1500 1522 } 1501 1523
Note: See TracChangeset
for help on using the changeset viewer.