Bug 49102

Summary: Stop abusing the style system in order to get RenderLayers for things that need to be composited
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, simon.fraser, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   

Simon Fraser (smfr)
Reported 2010-11-05 15:11:51 PDT
We currently make use of synthetic style changes, and code in RenderObject::adjustStyleDifference() to force RenderLayers to get created for elements that need them for compositing (iframes, canvas, plugins). This has caused problems (see patch in bug 44877). We should instead just make RenderLayers directly somehow.
Attachments
Ahmad Saleem
Comment 1 2023-10-07 18:29:10 PDT
@Simon - Is this bug still applicable?
Simon Fraser (smfr)
Comment 2 2023-10-09 09:36:02 PDT
We do still do this via invalidateStyleAndLayerComposition(). Doesn't seem particularly bad, though.
Note You need to log in before you can comment on or make changes to this bug.