Source/WebCore: Update the background blending implementation to match the changes...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 May 2013 06:26:11 +0000 (06:26 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 May 2013 06:26:11 +0000 (06:26 +0000)
commit544f6df99fc2d134e6c8f38d374e4e15c81328b0
tree064527a2123993aab370481db136765e81747e0c
parent717987a276018e274833d6d08915ccbf725658c6
Source/WebCore: Update the background blending implementation to match the changes done
in the spec. This implies that background color blending is removed and
the background layers won't blend with the content behind the element
any more.
https://bugs.webkit.org/show_bug.cgi?id=116212

Patch by Mihai Tica <mitica@adobe.com> on 2013-05-21
Reviewed by Dean Jackson.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::paintFillLayers):
* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):

LayoutTests: Updating element background blending to conform to the changes in the spec.
This implies that the background layers won't longer blend with the content
behind the element.
Removing the background color tests, as background color blending is no longer
a valid use case, also modified the current background image tests.
https://bugs.webkit.org/show_bug.cgi?id=116212

Patch by Mihai Tica <mitica@adobe.com> on 2013-05-21
Reviewed by Dean Jackson.

* css3/compositing/effect-background-blend-mode-color-expected.txt: Removed.
* css3/compositing/effect-background-blend-mode-color.html: Removed.
* css3/compositing/effect-background-blend-mode-color2-expected.txt: Removed.
* css3/compositing/effect-background-blend-mode-color2.html: Removed.
* css3/compositing/effect-background-blend-mode-stacking-expected.png: Removed.
* css3/compositing/effect-background-blend-mode-stacking.html:
* platform/mac/css3/compositing/effect-background-blend-mode-color-expected.png: Removed.
* platform/mac/css3/compositing/effect-background-blend-mode-color2-expected.png: Removed.
* platform/mac/css3/compositing/effect-background-blend-mode-expected.png:
* platform/mac/css3/compositing/effect-background-blend-mode-stacking-expected.png:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/css3/compositing/effect-background-blend-mode-color-expected.txt [deleted file]
LayoutTests/css3/compositing/effect-background-blend-mode-color.html [deleted file]
LayoutTests/css3/compositing/effect-background-blend-mode-color2-expected.txt [deleted file]
LayoutTests/css3/compositing/effect-background-blend-mode-color2.html [deleted file]
LayoutTests/css3/compositing/effect-background-blend-mode-stacking-expected.png [deleted file]
LayoutTests/css3/compositing/effect-background-blend-mode-stacking.html
LayoutTests/platform/mac/css3/compositing/effect-background-blend-mode-color-expected.png [deleted file]
LayoutTests/platform/mac/css3/compositing/effect-background-blend-mode-color2-expected.png [deleted file]
LayoutTests/platform/mac/css3/compositing/effect-background-blend-mode-expected.png
LayoutTests/platform/mac/css3/compositing/effect-background-blend-mode-stacking-expected.png
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.cpp
Source/WebCore/rendering/RenderBoxModelObject.cpp