Browse Source

Fix some layout changes not taking effect

Michael 7 years ago
parent
commit
35440e0b7b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/Core/ElementStyle.cpp

+ 2 - 0
Source/Core/ElementStyle.cpp

@@ -683,6 +683,7 @@ void ElementStyle::DirtyProperties(const PropertyNameList& properties, bool clea
 
 		// Clear all cached properties.
 		cache->Clear();
+		cache->ClearInherited();
 	}
 	else
 	{
@@ -706,6 +707,7 @@ void ElementStyle::DirtyProperties(const PropertyNameList& properties, bool clea
 
 		// Clear cached properties.
 		cache->Clear();
+		cache->ClearInherited();
 	}
 
 	// clear the list of EM-properties, we will refill it in DirtyEmProperties