1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:27:45 +00:00

LibWeb: Implement quirks mode detection

This allows us to determine which mode to render the page in.

Exposes "doctype" and "compatMode" on Document.
Exposes "name", "publicId" and "systemId" on DocumentType.
This commit is contained in:
Luke 2020-07-18 21:17:17 +01:00 committed by Andreas Kling
parent a5ecb9bd6b
commit 19d6884529
13 changed files with 196 additions and 6 deletions

View file

@ -30,6 +30,7 @@ namespace Web {
class CanvasRenderingContext2D;
class Document;
class DocumentType;
class Element;
class Event;
class EventHandler;
@ -72,11 +73,13 @@ class Text;
class Timer;
class Window;
class XMLHttpRequest;
enum class QuirksMode;
namespace Bindings {
class CanvasRenderingContext2DWrapper;
class DocumentWrapper;
class DocumentTypeWrapper;
class ElementWrapper;
class EventWrapper;
class EventListenerWrapper;