ladybird/Libraries/LibWeb/HTML/Parser
Jelle Raaijmakers f52632d48a LibWeb: Skip right amount of characters during encoding detection
When detecting an element's opening tag, the spec asks us to skip ahead
to the first whitespace or end chevron character before trying to read
attributes. Instead, we were always skipping 2 positions ahead and then
ignoring all whitespace characters and slashes, which was clearly wrong.

Theoretically this could have caused some weird behaviors if part of the
opening tag matched an expected attribute name, but it's very unlikely
to see that in the wild.
2025-11-21 17:43:08 +01:00
..
Entities.cpp LibWeb/HTML: Improve data structure of named character reference data 2025-07-14 09:43:08 +02:00
Entities.h LibWeb/HTML: Improve data structure of named character reference data 2025-07-14 09:43:08 +02:00
Entities.json LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
HTMLEncodingDetection.cpp LibWeb: Skip right amount of characters during encoding detection 2025-11-21 17:43:08 +01:00
HTMLEncodingDetection.h LibWeb: Skip right amount of characters during encoding detection 2025-11-21 17:43:08 +01:00
HTMLParser.cpp Everywhere: Clean up AD-HOC and FIXME comments without colons 2025-11-13 15:56:04 +01:00
HTMLParser.h LibWeb: Make HTML fragment parsing return ExceptionOr 2025-10-23 11:06:39 +01:00
HTMLToken.cpp LibWeb: Track if element was created from token with dupe attributes 2025-07-09 15:52:54 -06:00
HTMLToken.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
HTMLToken.swift LibWeb: Fix copyright headers with inconsistent > characters 2025-05-12 11:21:04 -06:00
HTMLTokenizer.cpp LibWeb: Explicitly disallow skipping 0 characters in HTML tokenizer 2025-11-06 10:59:54 +01:00
HTMLTokenizer.h LibWeb: Throw out decoded UTF-32 data in HTMLTokenizer after parser runs 2025-10-24 08:52:53 +02:00
HTMLTokenizer.swift LibWeb: Use preferred style for swift guard case clause 2025-09-27 20:38:47 +01:00
HTMLTokenizerHelpers.cpp LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
HTMLTokenizerHelpers.h LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
ListOfActiveFormattingElements.cpp LibWeb: Keep the tokens in ListOfActiveFormattingElements 2025-10-21 23:36:07 +02:00
ListOfActiveFormattingElements.h LibWeb: Keep the tokens in ListOfActiveFormattingElements 2025-10-21 23:36:07 +02:00
SpeculativeHTMLParser.swift LibWeb: Remove noisy debug messages from HTMLParser 2025-07-09 16:26:49 -06:00
StackOfOpenElements.cpp LibWeb: Check that elements are HTML elements in StackOfOpenElements 2025-10-20 12:14:14 +01:00
StackOfOpenElements.h LibWeb: Check for Svg & MathML tags in stack of open elements scope 2025-10-10 12:09:20 +01:00