diff --git a/Tests/LibWeb/Text/expected/geometry/domrect-create.txt b/Tests/LibWeb/Text/expected/geometry/domrect-create.txt new file mode 100644 index 0000000000..33a8860498 --- /dev/null +++ b/Tests/LibWeb/Text/expected/geometry/domrect-create.txt @@ -0,0 +1,10 @@ +Testing DOMRect: +1. {"x":0,"y":0,"width":0,"height":0,"top":0,"right":0,"bottom":0,"left":0} +2. {"x":10,"y":20,"width":30,"height":40,"top":20,"right":40,"bottom":60,"left":10} +3. {"x":-10,"y":-20,"width":30,"height":40,"top":-20,"right":20,"bottom":20,"left":-10} +4. {"x":10,"y":20,"width":30,"height":40,"top":20,"right":40,"bottom":60,"left":10} +Testing DOMRectReadOnly: +1. {"x":0,"y":0,"width":0,"height":0,"top":0,"right":0,"bottom":0,"left":0} +2. {"x":10,"y":20,"width":30,"height":40,"top":20,"right":40,"bottom":60,"left":10} +3. {"x":-10,"y":-20,"width":30,"height":40,"top":-20,"right":20,"bottom":20,"left":-10} +4. {"x":10,"y":20,"width":30,"height":40,"top":20,"right":40,"bottom":60,"left":10} diff --git a/Tests/LibWeb/Text/input/geometry/domrect-create.html b/Tests/LibWeb/Text/input/geometry/domrect-create.html new file mode 100644 index 0000000000..3c892afe50 --- /dev/null +++ b/Tests/LibWeb/Text/input/geometry/domrect-create.html @@ -0,0 +1,32 @@ + +