瀏覽代碼

Add mask-image to absolute positioning containing block

Michael Ragazzon 1 年之前
父節點
當前提交
742bbbafda
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/Core/Layout/ContainerBox.cpp

+ 1 - 1
Source/Core/Layout/ContainerBox.cpp

@@ -132,7 +132,7 @@ ContainerBox::ContainerBox(Type type, Element* element, ContainerBox* parent_con
 		overflow_x = computed.overflow_x();
 		overflow_x = computed.overflow_x();
 		overflow_y = computed.overflow_y();
 		overflow_y = computed.overflow_y();
 		is_absolute_positioning_containing_block = (computed.position() != Style::Position::Static || computed.has_local_transform() ||
 		is_absolute_positioning_containing_block = (computed.position() != Style::Position::Static || computed.has_local_transform() ||
-			computed.has_local_perspective() || computed.has_filter() || computed.has_backdrop_filter());
+			computed.has_local_perspective() || computed.has_filter() || computed.has_backdrop_filter() || computed.has_mask_image());
 	}
 	}
 }
 }