From 2dc08d259eb7e724c34b50113c5825955f6a2851 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 3 Aug 2020 20:32:06 +0200 Subject: [PATCH] LibWeb: Add Element.{next,previous}ElementSibling IDL attributes --- Libraries/LibWeb/DOM/Element.idl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Libraries/LibWeb/DOM/Element.idl b/Libraries/LibWeb/DOM/Element.idl index e698841c84..f586296c5d 100644 --- a/Libraries/LibWeb/DOM/Element.idl +++ b/Libraries/LibWeb/DOM/Element.idl @@ -8,5 +8,8 @@ interface Element : Node { attribute DOMString innerHTML; [Reflect] attribute DOMString id; [Reflect=class] attribute DOMString className; + + readonly attribute Element? nextElementSibling; + readonly attribute Element? previousElementSibling; }