Bug 190229

Summary: Setting will-change transform needs to trigger at least z-order updates.
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 190088    
Attachments:
Description Flags
Testcase none

Simon Fraser (smfr)
Reported 2018-10-02 17:29:59 PDT
Created attachment 351460 [details] Testcase When will-change changes, rareNonInheritedDataChangeRequiresLayout() sets a flag in changedContextSensitiveProperties, and then RenderStyle::changeRequiresLayerRepaint sees a z-index changes and says that repaint is required. Then RenderElement::adjustStyleDifference() takes the max of StyleDifference::RecompositeLayer and StyleDifference::Repaint and issues a repaint. However, we need will-change to dirty z-order lists and and trigger compositing updates
Attachments
Testcase (861 bytes, text/html)
2018-10-02 17:29 PDT, Simon Fraser (smfr)
no flags
Note You need to log in before you can comment on or make changes to this bug.