forked from mirrors/gecko-dev
		
	Bug 848644 - Do not flush when determining if a node is preformatted or not; r=bzbarsky, a=tef+
This commit is contained in:
		
							parent
							
								
									344c794a17
								
							
						
					
					
						commit
						1477678a24
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -4011,9 +4011,9 @@ nsEditor::IsPreformatted(nsIDOMNode *aNode, bool *aResult) | |||
|     content = content->GetParent(); | ||||
|   } | ||||
|   if (content && content->IsElement()) { | ||||
|     elementStyle = nsComputedDOMStyle::GetStyleContextForElement(content->AsElement(), | ||||
|                                                                  nullptr, | ||||
|                                                                  ps); | ||||
|     elementStyle = nsComputedDOMStyle::GetStyleContextForElementNoFlush(content->AsElement(), | ||||
|                                                                         nullptr, | ||||
|                                                                         ps); | ||||
|   } | ||||
| 
 | ||||
|   if (!elementStyle) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Ehsan Akhgari
						Ehsan Akhgari