mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
layout_2020: Add support for transform-style
This requires creating a matching stacking context for every reference frame and also properly placing those stacking contexts inside them.
This commit is contained in:
parent
4d541e8e38
commit
a637810df3
4 changed files with 93 additions and 66 deletions
|
@ -196,7 +196,7 @@ impl BoxTreeRoot {
|
|||
|
||||
impl FragmentTreeRoot {
|
||||
pub fn build_display_list(&self, builder: &mut crate::display_list::DisplayListBuilder) {
|
||||
let mut stacking_context = StackingContext::create_root();
|
||||
let mut stacking_context = StackingContext::create_root(&builder.wr);
|
||||
{
|
||||
let mut stacking_context_builder = StackingContextBuilder::new(&mut builder.wr);
|
||||
let containing_block_info = ContainingBlockInfo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue