Browse Source

Fix a bug where some properties were not always updated

Michael Ragazzon 6 years ago
parent
commit
21bd3ec507
1 changed files with 0 additions and 4 deletions
  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());