ladybird/Userland/Libraries/LibWeb/HTML/Parser
Andreas Kling 5cdb394400 LibWeb: Make HTML parser flush all pending tokens in "in table text"
There were multiple bugs in the parsing algorithm for handling text
occurring inside a `table` element:

- When there was pending non-whitespace text inside a table, we only
  flushed one token instead of all pending tokens.

- Also, we didn't even flush one of the right tokens, but instead the
  token that caused the flush to happen.

- Once we started flushing the right tokens, it turned out we had not
  yet implemented character insertion points expressed as "before X".

- Finally, we were not exiting the "in table text" mode after flushing
  pending tokens, effectively getting us stuck in that mode until EOF.
2023-07-03 11:50:58 +02:00
..
Entities.cpp
Entities.h
HTMLEncodingDetection.cpp
HTMLEncodingDetection.h
HTMLParser.cpp LibWeb: Make HTML parser flush all pending tokens in "in table text" 2023-07-03 11:50:58 +02:00
HTMLParser.h LibWeb: Add Web::HTML::parse_legacy_color_value 2023-05-28 13:24:37 +02:00
HTMLToken.cpp
HTMLToken.h Everywhere: Use AK_MAKE_DEFAULT_MOVABLE to avoid mistakes 2023-06-18 08:47:51 +01:00
HTMLTokenizer.cpp LibWeb: Don't include Layout/Node.h from DOM/Element.h 2023-05-08 09:29:44 +02:00
HTMLTokenizer.h
ListOfActiveFormattingElements.cpp
ListOfActiveFormattingElements.h
StackOfOpenElements.cpp
StackOfOpenElements.h