From 51f395c64656688953a04f6b91fb476262a6d995 Mon Sep 17 00:00:00 2001 From: Jim Mathies Date: Thu, 24 Jun 2010 21:01:06 -0500 Subject: [PATCH] Bug 513162 - Add tests for client coordinates of subframes. r=sdwilsh. --- toolkit/content/tests/chrome/Makefile.in | 4 + .../frame_subframe_origin_subframe1.xul | 75 +++++++++++++++++++ .../frame_subframe_origin_subframe2.xul | 71 ++++++++++++++++++ .../tests/chrome/test_subframe_origin.xul | 71 ++++++++++++++++++ .../tests/chrome/window_subframe_origin.xul | 74 ++++++++++++++++++ 5 files changed, 295 insertions(+) create mode 100644 toolkit/content/tests/chrome/frame_subframe_origin_subframe1.xul create mode 100644 toolkit/content/tests/chrome/frame_subframe_origin_subframe2.xul create mode 100644 toolkit/content/tests/chrome/test_subframe_origin.xul create mode 100644 toolkit/content/tests/chrome/window_subframe_origin.xul diff --git a/toolkit/content/tests/chrome/Makefile.in b/toolkit/content/tests/chrome/Makefile.in index a652911f7da4..01305aa6871f 100644 --- a/toolkit/content/tests/chrome/Makefile.in +++ b/toolkit/content/tests/chrome/Makefile.in @@ -99,6 +99,10 @@ _TEST_FILES = findbar_window.xul \ window_titlebar.xul \ test_browser_drop.xul \ window_browser_drop.xul \ + test_subframe_origin.xul \ + window_subframe_origin.xul \ + frame_subframe_origin_subframe1.xul \ + frame_subframe_origin_subframe2.xul \ RegisterUnregisterChrome.js \ $(NULL) diff --git a/toolkit/content/tests/chrome/frame_subframe_origin_subframe1.xul b/toolkit/content/tests/chrome/frame_subframe_origin_subframe1.xul new file mode 100644 index 000000000000..e5fcb5ac76e5 --- /dev/null +++ b/toolkit/content/tests/chrome/frame_subframe_origin_subframe1.xul @@ -0,0 +1,75 @@ + + + + + + + diff --git a/toolkit/content/tests/chrome/frame_subframe_origin_subframe2.xul b/toolkit/content/tests/chrome/frame_subframe_origin_subframe2.xul new file mode 100644 index 000000000000..a6c9a7c44abd --- /dev/null +++ b/toolkit/content/tests/chrome/frame_subframe_origin_subframe2.xul @@ -0,0 +1,71 @@ + + + + + + + diff --git a/toolkit/content/tests/chrome/test_subframe_origin.xul b/toolkit/content/tests/chrome/test_subframe_origin.xul new file mode 100644 index 000000000000..b7901675b87c --- /dev/null +++ b/toolkit/content/tests/chrome/test_subframe_origin.xul @@ -0,0 +1,71 @@ + + + + + + + + + + +

+

+ +
+
+ + +
diff --git a/toolkit/content/tests/chrome/window_subframe_origin.xul b/toolkit/content/tests/chrome/window_subframe_origin.xul new file mode 100644 index 000000000000..0e8a1c7cfcec --- /dev/null +++ b/toolkit/content/tests/chrome/window_subframe_origin.xul @@ -0,0 +1,74 @@ + + + + + + +