Bug 132325

Summary: [CSS Blending] Add tests using blending and isolation for body and html elements.
Product: WebKit Reporter: Ion Rosca <rosca>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, WebkitBugTracker
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 95614    
Attachments:
Description Flags
Patch none

Description Ion Rosca 2014-04-29 01:01:36 PDT
Add tests using blending and isolation for body and html elements. Some scenarios:
* Child of body should blend with body content, with body's background and, if any, html's background, otherwise, with the white opaque viewport.
* If body creates a stacking context, then a child of body should blend with content of body, excluding body's background.
* Setting mix-blend-mode on body, all the body contents, excluding background should blend with body's background and (if any) html background. There is a bug: https://bugs.webkit.org/show_bug.cgi?id=75460, saying that body's background will be truncated in this case.
* Set mix-blend-mode on html element -> everything should blend with opaque white.
* Setting isolation on html should not change anything.
* Setting isolation on body should create a stacking context.
Comment 1 Ion Rosca 2014-05-05 05:45:45 PDT
Created attachment 230821 [details]
Patch
Comment 2 Dirk Schulze 2014-05-05 10:16:14 PDT
Comment on attachment 230821 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2014-05-05 23:04:57 PDT
Comment on attachment 230821 [details]
Patch

Clearing flags on attachment: 230821

Committed r168349: <http://trac.webkit.org/changeset/168349>
Comment 4 WebKit Commit Bot 2014-05-05 23:05:00 PDT
All reviewed patches have been landed.  Closing bug.