mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
LibWeb: Handle AAA situation where there's no formatting element found
In this case, we're supposed to return from the AAA and then jump to a different behavior in the "in body" insertion mode. So now we do that.
This commit is contained in:
parent
c9dd459822
commit
8c96b8174b
2 changed files with 19 additions and 14 deletions
|
@ -114,7 +114,13 @@ private:
|
|||
void decrement_script_nesting_level();
|
||||
size_t script_nesting_level() const { return m_script_nesting_level; }
|
||||
void reset_the_insertion_mode_appropriately();
|
||||
void run_the_adoption_agency_algorithm(HTMLToken&);
|
||||
|
||||
enum AdoptionAgencyAlgorithmOutcome {
|
||||
DoNothing,
|
||||
RunAnyOtherEndTagSteps,
|
||||
};
|
||||
|
||||
AdoptionAgencyAlgorithmOutcome run_the_adoption_agency_algorithm(HTMLToken&);
|
||||
void clear_the_stack_back_to_a_table_context();
|
||||
void clear_the_stack_back_to_a_table_body_context();
|
||||
void clear_the_stack_back_to_a_table_row_context();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue