Changeset 193743 in webkit
- Timestamp:
- Dec 8, 2015 1:17:38 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r193689 r193743 1 2015-12-08 Frederic Wang <fred.wang@free.fr> 2 3 [cairo] Solid stroke of lines with thickness less than 1 pixel broken after r191658 4 https://bugs.webkit.org/show_bug.cgi?id=151947 5 6 Reviewed by Martin Robinson. 7 8 Add a test to check that the radical overbar appears on the screen when it has thickness less than 1px. 9 10 * mathml/presentation/radical-bar-visibility-expected-mismatch.html: Added. 11 * mathml/presentation/radical-bar-visibility.html: Added. 12 1 13 2015-12-07 Brady Eidson <beidson@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r193723 r193743 1 2015-12-08 Frederic Wang <fred.wang@free.fr> 2 3 [cairo] Solid stroke of lines with thickness less than 1 pixel broken after r191658 4 https://bugs.webkit.org/show_bug.cgi?id=151947 5 6 Reviewed by Martin Robinson. 7 8 Test: mathml/presentation/radical-bar-visibility.html 9 10 * platform/graphics/cairo/GraphicsContextCairo.cpp: 11 (WebCore::GraphicsContext::drawLine): Force a minimal thickness of 1px 12 1 13 2015-12-08 Gwang Yoon Hwang <yoon@igalia.com> 2 14 -
trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp
r192574 r193743 312 312 const double dashedLine[2] = { static_cast<double>(patternWidth), static_cast<double>(patternWidth) }; 313 313 cairo_set_dash(cairoContext, dashedLine, 2, patternOffset); 314 } else 314 } else { 315 315 setSourceRGBAFromColor(cairoContext, strokeColor); 316 if (thickness < 1) 317 cairo_set_line_width(cairoContext, 1); 318 } 319 316 320 317 321 FloatPoint p1 = point1;
Note: See TracChangeset
for help on using the changeset viewer.