瀏覽代碼

Fix a bug where some properties were not always updated

Michael Ragazzon 6 年之前
父節點
當前提交
21bd3ec507
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Source/Core/Element.cpp

+ 0 - 4
Source/Core/Element.cpp

@@ -1888,10 +1888,6 @@ void Element::UpdateDirtyProperties(const DirtyPropertyList& dirty_properties)
 	{
 		OnPropertyChange(StyleSheetSpecification::GetRegisteredProperties());
 	}
-	else if (dirty_properties.AnyInheritedDirty())
-	{
-		OnPropertyChange(StyleSheetSpecification::GetRegisteredInheritedProperties());
-	}
 	else
 	{
 		OnPropertyChange(dirty_properties.GetList());