mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibWeb/DOM: Add Document::in_limited_quirks_mode() helper
This commit is contained in:
parent
056b774b1e
commit
7d502df807
Notes:
github-actions[bot]
2025-01-07 15:07:05 +00:00
Author: https://github.com/AtkinsSJ
Commit: 7d502df807
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3168
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 0 deletions
|
@ -319,6 +319,7 @@ public:
|
|||
|
||||
QuirksMode mode() const { return m_quirks_mode; }
|
||||
bool in_quirks_mode() const { return m_quirks_mode == QuirksMode::Yes; }
|
||||
bool in_limited_quirks_mode() const { return m_quirks_mode == QuirksMode::Limited; }
|
||||
void set_quirks_mode(QuirksMode mode) { m_quirks_mode = mode; }
|
||||
|
||||
Type document_type() const { return m_type; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue