mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-09 12:42:54 +00:00
LibWeb: Implement partial support for numeric character references
This commit is contained in:
parent
dd08c992e8
commit
a5ce09f8e3
Notes:
sideshowbarker
2024-07-19 06:04:26 +09:00
Author: https://github.com/awesomekling
Commit: a5ce09f8e3
2 changed files with 271 additions and 7 deletions
|
@ -153,10 +153,12 @@ private:
|
|||
void will_switch_to(State);
|
||||
void will_reconsume_in(State);
|
||||
|
||||
bool consumed_as_part_of_an_attribute() const;
|
||||
|
||||
State m_state { State::Data };
|
||||
State m_return_state { State::Data };
|
||||
|
||||
StringBuilder m_temporary_buffer;
|
||||
Vector<u32> m_temporary_buffer;
|
||||
|
||||
StringView m_input;
|
||||
size_t m_cursor { 0 };
|
||||
|
@ -168,5 +170,7 @@ private:
|
|||
bool m_has_emitted_eof { false };
|
||||
|
||||
Queue<HTMLToken> m_queued_tokens;
|
||||
|
||||
u32 m_character_reference_code { 0 };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue