From 4095ad2bb578bba60a8ee3e94957c1ae2f438caa 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 ++ .../chrome/frame_subframe_origin_subframe1.xul | 75 ++++++++++++++++++++++ .../chrome/frame_subframe_origin_subframe2.xul | 71 ++++++++++++++++++++ .../content/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 a652911f7d..01305aa687 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 0000000000..e5fcb5ac76 --- /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 0000000000..a6c9a7c44a --- /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 0000000000..b7901675b8 --- /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 0000000000..0e8a1c7cfc --- /dev/null +++ b/toolkit/content/tests/chrome/window_subframe_origin.xul @@ -0,0 +1,74 @@ + + + + + + + -- 2.11.4.GIT