Bug 131889

Summary: Incomplete body painting when using blend modes
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cabanier, commit-queue, esprehn+autocc, glenn, kondapallykalyan, krit, mihnea, rosca, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 95614    
Attachments:
Description Flags
Testcase
none
simplified version
none
Patch none

Simon Fraser (smfr)
Reported 2014-04-19 10:57:41 PDT
Created attachment 229736 [details] Testcase Attached testcase (fix it to point to a local copy of ducky.png) shows a bug where the body background is only partially painted. It flashes horribly when hovering the boxes.
Attachments
Testcase (1.13 KB, text/html)
2014-04-19 10:57 PDT, Simon Fraser (smfr)
no flags
simplified version (233 bytes, text/html)
2014-04-20 20:54 PDT, Rik Cabanier
no flags
Patch (3.83 KB, patch)
2014-04-24 23:16 PDT, Ion Rosca
no flags
Simon Fraser (smfr)
Comment 1 2014-04-19 10:58:36 PDT
This is a blocker to Safari shipping blend modes. <rdar://problem/16668770>
Rik Cabanier
Comment 2 2014-04-20 20:54:11 PDT
Created attachment 229781 [details] simplified version even simpler version. This has to be a recent break since basic content is now drawing incorrectly.
Rik Cabanier
Comment 3 2014-04-20 23:14:03 PDT
It looks like this was caused by https://bugs.webkit.org/show_bug.cgi?id=130892
Mihnea Ovidenie
Comment 4 2014-04-23 10:23:28 PDT
Ion Rosca
Comment 5 2014-04-24 02:24:47 PDT
I'm looking into it.
Ion Rosca
Comment 6 2014-04-24 23:16:44 PDT
Ion Rosca
Comment 7 2014-04-24 23:25:35 PDT
The patch I attached avoids creating a transparency layer for the root renderer that has unisolated blending descendants. However, the issue with background being painted incompletely is not fixed for other reasons that trigger transparency layers on the document element: opacity, mask or mix-blend-mode. This issue is reported here: https://bugs.webkit.org/show_bug.cgi?id=75460.
WebKit Commit Bot
Comment 8 2014-04-25 01:04:57 PDT
Comment on attachment 230143 [details] Patch Clearing flags on attachment: 230143 Committed r167796: <http://trac.webkit.org/changeset/167796>
WebKit Commit Bot
Comment 9 2014-04-25 01:05:02 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.