Changeset 204790 in webkit
- Timestamp:
- Aug 23, 2016, 2:52:09 AM (9 years ago)
- Location:
- releases/WebKitGTK/webkit-2.12
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.12/LayoutTests/ChangeLog
r204789 r204790 1 2016-06-13 Dean Jackson <dino@apple.com> 2 3 SVG elements don't blend correctly into HTML 4 https://bugs.webkit.org/show_bug.cgi?id=158718 5 <rdar://problem/26782004> 6 7 Reviewed by Antoine Quint. 8 9 * svg/css/mix-blend-mode-with-inline-svg-expected.html: Added. 10 * svg/css/mix-blend-mode-with-inline-svg.html: Added. 11 1 12 2016-06-09 Antoine Quint <graouts@apple.com> 2 13 -
releases/WebKitGTK/webkit-2.12/Source/WebCore/ChangeLog
r204789 r204790 1 2016-06-13 Dean Jackson <dino@apple.com> 2 3 SVG elements don't blend correctly into HTML 4 https://bugs.webkit.org/show_bug.cgi?id=158718 5 <rdar://problem/26782004> 6 7 Reviewed by Antoine Quint. 8 9 We were not creating any transparency layers for the root SVG nodes. 10 This is ok if the SVG is the root document, because it is the backdrop. 11 However, if it is inline SVG, it needs to apply the operation in 12 order to composite into the document. 13 14 Test: svg/css/mix-blend-mode-with-inline-svg.html 15 16 * rendering/RenderLayer.cpp: 17 (WebCore::RenderLayer::beginTransparencyLayers): 18 1 19 2016-06-09 Antoine Quint <graouts@apple.com> 2 20 -
releases/WebKitGTK/webkit-2.12/Source/WebCore/rendering/RenderLayer.cpp
r200027 r204790 1806 1806 1807 1807 #if ENABLE(CSS_COMPOSITING) 1808 // RenderSVGRoot takes care of its blend mode.1809 if ( !renderer().isSVGRoot() && hasBlendMode())1808 bool usesCompositeOperation = hasBlendMode() && !(renderer().isSVGRoot() && parent() && parent()->isRootLayer()); 1809 if (usesCompositeOperation) 1810 1810 context.setCompositeOperation(context.compositeOperation(), blendMode()); 1811 1811 #endif … … 1814 1814 1815 1815 #if ENABLE(CSS_COMPOSITING) 1816 if ( !renderer().isSVGRoot() && hasBlendMode())1816 if (usesCompositeOperation) 1817 1817 context.setCompositeOperation(context.compositeOperation(), BlendModeNormal); 1818 1818 #endif
Note:
See TracChangeset
for help on using the changeset viewer.