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 Rendering | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
@Simon - Is this bug still applicable?
Simon Fraser (smfr)
We do still do this via invalidateStyleAndLayerComposition(). Doesn't seem particularly bad, though.