DescriptionAdd setting to blend background with existing content
If both base background color (WebView::setBaseBackgroundColor) and
background color (set by document) has alpha, then the background color
should be blended into existing content.
This behavior is important in Android WebView, which is a view inside the
Android view tree and needs to blend with views below it.
Internal bug: 10750978
BUG=
PS10 committed in r163657 and reverted in r163699 due to test failing
on android since android has different color ordering.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163717
Patch Set 1 #Patch Set 2 : s/hasAlpha/alpha #Patch Set 3 : Fix fast/backgrounds/gradient-background-shadow.html #Patch Set 4 : Add setting #Patch Set 5 : Fix current condition, rename setting #Patch Set 6 : default to true #Patch Set 7 : Default to false again #
Total comments: 1
Patch Set 8 : Rename setting to ShouldClearDocumentBackground #Patch Set 9 : rebase r163463 #Patch Set 10 : Add a WebViewTest #Patch Set 11 : fix test in android #
Messages
Total messages: 19 (0 generated)
|