summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Document.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-05-08 06:49:38 +0200
committerJelle Raaijmakers <jelle@gmta.nl>2023-05-08 09:29:44 +0200
commit5b5fbecb387dc62593eeedac12d495d55ae38abc (patch)
tree26ae567083e9de7043a6473f36f8e9833e82daa1 /Userland/Libraries/LibWeb/DOM/Document.cpp
parent43616316dee38e7d0a0382ca3ecd481a6b8d3bad (diff)
downloadserenity-5b5fbecb387dc62593eeedac12d495d55ae38abc.zip
LibWeb: Don't include DOM/Attr.h from DOM/Element.h
This required moving Element::for_each_attribute() out of line, but that seems harmless enough.
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Document.cpp')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Document.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Document.cpp b/Userland/Libraries/LibWeb/DOM/Document.cpp
index 2119601d37..286403d5d4 100644
--- a/Userland/Libraries/LibWeb/DOM/Document.cpp
+++ b/Userland/Libraries/LibWeb/DOM/Document.cpp
@@ -18,6 +18,7 @@
#include <LibWeb/CSS/MediaQueryListEvent.h>
#include <LibWeb/CSS/StyleComputer.h>
#include <LibWeb/Cookie/ParsedCookie.h>
+#include <LibWeb/DOM/Attr.h>
#include <LibWeb/DOM/Comment.h>
#include <LibWeb/DOM/CustomEvent.h>
#include <LibWeb/DOM/DOMImplementation.h>