Changeset 72757 in webkit
- Timestamp:
- Nov 26, 2010 3:52:32 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r72756 r72757 1 2010-11-26 Helder Correia <helder@sencha.com> 2 3 Reviewed by Ariya Hidayat. 4 5 [Qt] Blur shadow for rectangle fill 6 https://bugs.webkit.org/show_bug.cgi?id=44488 7 8 New fast canvas test to ensure fillRect shadow (with and without blur). 9 10 * fast/canvas/canvas-fillRect-shadow-expected.txt: Added. 11 * fast/canvas/canvas-fillRect-shadow.html: Added. 12 * fast/canvas/script-tests/canvas-fillRect-shadow.js: Added. 13 1 14 2010-11-26 Helder Correia <helder@sencha.com> 2 15 -
trunk/WebCore/ChangeLog
r72754 r72757 1 2010-11-26 Helder Correia <helder@sencha.com> 2 3 Reviewed by Ariya Hidayat. 4 5 [Qt] Blur shadow for rectangle fill 6 https://bugs.webkit.org/show_bug.cgi?id=44488 7 8 Shadow color opacity needs to be set when blurring shadow with 9 ContextShadow. 10 11 Test: fast/canvas/canvas-fillRect-shadow.html 12 13 * platform/graphics/qt/GraphicsContextQt.cpp: 14 (WebCore::GraphicsContext::fillRect): 15 1 16 2010-11-26 Hans Wennborg <hans@chromium.org> 2 17 -
trunk/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
r72741 r72757 708 708 QPainter* shadowPainter = shadow->beginShadowLayer(p, normalizedRect); 709 709 if (shadowPainter) { 710 shadowPainter->setOpacity(static_cast<qreal>(shadow->m_color.alpha()) / 255); 710 711 shadowPainter->fillRect(normalizedRect, p->brush()); 711 712 shadow->endShadowLayer(p);
Note: See TracChangeset
for help on using the changeset viewer.