mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:32:45 +00:00 
			
		
		
		
	LibWeb: Mark element style dirty on style/id attribute change too
This commit is contained in:
		
							parent
							
								
									294ec3b6a5
								
							
						
					
					
						commit
						59afcddcfe
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -164,6 +164,9 @@ void Element::parse_attribute(const FlyString& name, const String& value) | |||
|         set_needs_style_update(true); | ||||
|     } else if (name == HTML::AttributeNames::style) { | ||||
|         m_inline_style = parse_css_declaration(CSS::ParsingContext(document()), value); | ||||
|         set_needs_style_update(true); | ||||
|     } else if (name == HTML::AttributeNames::id) { | ||||
|         set_needs_style_update(true); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling