mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:52:45 +00:00 
			
		
		
		
	LibWeb: Take care of a FIXME in the "in table text" insertion mode
This commit is contained in:
		
							parent
							
								
									60872a7c5a
								
							
						
					
					
						commit
						a8d52a68f6
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -2030,11 +2030,15 @@ void HTMLDocumentParser::handle_in_table_text(HTMLToken& token) | ||||||
|     for (auto& pending_token : m_pending_table_character_tokens) { |     for (auto& pending_token : m_pending_table_character_tokens) { | ||||||
|         ASSERT(pending_token.is_character()); |         ASSERT(pending_token.is_character()); | ||||||
|         if (!pending_token.is_parser_whitespace()) { |         if (!pending_token.is_parser_whitespace()) { | ||||||
|             // FIXME: If any of the tokens in the pending table character tokens list
 |             // If any of the tokens in the pending table character tokens list
 | ||||||
|             // are character tokens that are not ASCII whitespace, then this is a parse error:
 |             // are character tokens that are not ASCII whitespace, then this is a parse error:
 | ||||||
|             // reprocess the character tokens in the pending table character tokens list using
 |             // reprocess the character tokens in the pending table character tokens list using
 | ||||||
|             // the rules given in the "anything else" entry in the "in table" insertion mode.
 |             // the rules given in the "anything else" entry in the "in table" insertion mode.
 | ||||||
|             TODO(); |             PARSE_ERROR(); | ||||||
|  |             m_foster_parenting = true; | ||||||
|  |             process_using_the_rules_for(InsertionMode::InBody, token); | ||||||
|  |             m_foster_parenting = false; | ||||||
|  |             return; | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling