mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 20:55:39 +00:00
7f9d8e7d86
Instead of always promoting iframes to StackingContexts, integrate them into the display list. This prevents stacking bugs when non-stacking-context elements should be drawn on top of iframes. To accomplish this, we add another step to ordering layer creation, where LayeredItems in the DisplayList are added to layers described by the LayerInfo structures collected at the end of the DisplayList. Unlayered items that follow these layered items are added to synthesized layers. Another result of this change is that iframe layers can be positioned directly at the location of the iframe fragment, eliminating the need for the SubpageLayerInfo struct entirely. Iframes are the first type of content treated this way, but this change opens up the possibility to properly order canvas and all other layered content that does not create a stacking context. Source-Repo: https://github.com/servo/servo Source-Revision: 11d23a41b31c2b2846d1e9c6b40e87ba7e2a095f |
||
---|---|---|
.. | ||
display_list | ||
platform | ||
text | ||
Cargo.toml | ||
filters.rs | ||
font_cache_task.rs | ||
font_context.rs | ||
font_template.rs | ||
font.rs | ||
lib.rs | ||
paint_context.rs | ||
paint_task.rs |