mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add layout_2020 support for filters and mix-blend-mode
This commit is contained in:
parent
163a4fc7fc
commit
d03560b0f1
54 changed files with 236 additions and 1943 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use crate::context::LayoutContext;
|
||||
use crate::display_list::stacking_context::{StackingContext, StackingContextType};
|
||||
use crate::display_list::stacking_context::StackingContext;
|
||||
use crate::dom_traversal::{Contents, NodeExt};
|
||||
use crate::flow::construct::ContainsFloats;
|
||||
use crate::flow::float::FloatBox;
|
||||
|
@ -182,7 +182,7 @@ impl BoxTreeRoot {
|
|||
|
||||
impl FragmentTreeRoot {
|
||||
pub fn build_display_list(&self, builder: &mut crate::display_list::DisplayListBuilder) {
|
||||
let mut stacking_context = StackingContext::new(StackingContextType::Real, 0);
|
||||
let mut stacking_context = StackingContext::create_root();
|
||||
for fragment in &self.children {
|
||||
fragment.build_stacking_context_tree(
|
||||
builder,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue