From 7ce350b8c069c13540c50631413b2150bab967d4 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 25 Jun 2024 16:19:44 +0200 Subject: [PATCH] Tests: Add a basic test for Declarative Shadow DOM --- .../expected/ShadowDOM/declarative-basic.txt | 25 +++++++++++ .../input/ShadowDOM/declarative-basic.html | 43 +++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/ShadowDOM/declarative-basic.txt create mode 100644 Tests/LibWeb/Text/input/ShadowDOM/declarative-basic.html diff --git a/Tests/LibWeb/Text/expected/ShadowDOM/declarative-basic.txt b/Tests/LibWeb/Text/expected/ShadowDOM/declarative-basic.txt new file mode 100644 index 00000000000..7415a112b13 --- /dev/null +++ b/Tests/LibWeb/Text/expected/ShadowDOM/declarative-basic.txt @@ -0,0 +1,25 @@ +open closed open open open [object ShadowRoot] +0 +null +0 +[object ShadowRoot] +1 +null +0 +[object ShadowRoot] +0 + + + + + + + + + + + + + + + diff --git a/Tests/LibWeb/Text/input/ShadowDOM/declarative-basic.html b/Tests/LibWeb/Text/input/ShadowDOM/declarative-basic.html new file mode 100644 index 00000000000..83f2ca3483b --- /dev/null +++ b/Tests/LibWeb/Text/input/ShadowDOM/declarative-basic.html @@ -0,0 +1,43 @@ +
+ +
+
+ +
+
+ + +
+
+ +
+
+ +
+ +