From 9e3c08db40b8916968b9f30096c7be3f00ce9647 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:44:51 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../reftests/scrolling/deferred-anchor-ref.xhtml | 12 ++ layout/reftests/scrolling/deferred-anchor.xhtml | 16 +++ layout/reftests/scrolling/deferred-anchor2.xhtml | 8 ++ layout/reftests/scrolling/fixed-1.html | 7 + layout/reftests/scrolling/fixed-opacity-1.html | 7 + layout/reftests/scrolling/fixed-opacity-2.html | 42 ++++++ layout/reftests/scrolling/fixed-table-1.html | 48 +++++++ layout/reftests/scrolling/fixed-text-1.html | 7 + layout/reftests/scrolling/fixed-text-2.html | 19 +++ .../fractional-scroll-area-invalidation.html | 59 +++++++++ .../reftests/scrolling/fractional-scroll-area.html | 74 +++++++++++ .../reftests/scrolling/frame-scrolling-attr-1.html | 17 +++ .../reftests/scrolling/frame-scrolling-attr-2.html | 30 +++++ .../scrolling/frame-scrolling-attr-ref.html | 17 +++ .../scrolling/huge-horizontal-overflow-ref.html | 49 +++++++ .../scrolling/huge-horizontal-overflow.html | 49 +++++++ .../scrolling/huge-vertical-overflow-ref.html | 16 +++ .../reftests/scrolling/huge-vertical-overflow.html | 16 +++ .../scrolling/iframe-border-radius-frame.html | 1 + .../scrolling/iframe-border-radius-ref.html | 14 ++ .../reftests/scrolling/iframe-border-radius.html | 20 +++ .../scrolling/iframe-deferred-anchor.xhtml | 13 ++ .../scrolling/iframe-scrolling-attr-1.html | 52 ++++++++ .../scrolling/iframe-scrolling-attr-2.html | 65 +++++++++ .../scrolling/iframe-scrolling-attr-ref.html | 51 +++++++ layout/reftests/scrolling/image-1.html | 10 ++ .../reftests/scrolling/layer-change-1-frame.html | 68 ++++++++++ layout/reftests/scrolling/layer-change-1-ref.html | 7 + layout/reftests/scrolling/layer-change-1.html | 18 +++ .../scrolling/less-than-scrollbar-height-ref.html | 11 ++ .../scrolling/less-than-scrollbar-height.html | 11 ++ layout/reftests/scrolling/move-item-ref.html | 27 ++++ layout/reftests/scrolling/move-item.html | 31 +++++ .../scrolling/opacity-mixed-scrolling-1.html | 12 ++ .../scrolling/opacity-mixed-scrolling-2.html | 49 +++++++ .../percent-height-overflowing-image-1-ref.html | 49 +++++++ .../percent-height-overflowing-image-1.html | 71 ++++++++++ .../scrolling/propagated-overflow-style-1-ref.html | 18 +++ .../scrolling/propagated-overflow-style-1a.html | 23 ++++ .../scrolling/propagated-overflow-style-1b.html | 23 ++++ .../scrolling/propagated-overflow-style-1c.html | 19 +++ .../scrolling/propagated-overflow-style-2-ref.html | 15 +++ .../scrolling/propagated-overflow-style-2a.html | 26 ++++ .../scrolling/propagated-overflow-style-2b.html | 26 ++++ .../scrolling/propagated-overflow-style-2c.html | 24 ++++ .../scrolling/propagated-overflow-style-2d.html | 24 ++++ .../scrolling/propagated-overflow-style-2e.html | 15 +++ layout/reftests/scrolling/reftest.list | 103 +++++++++++++++ .../scrolling/repeatable-diagonal-gradient.png | Bin 0 -> 14520 bytes layout/reftests/scrolling/scroll-behavior-1.html | 55 ++++++++ layout/reftests/scrolling/scroll-behavior-10.html | 64 +++++++++ layout/reftests/scrolling/scroll-behavior-2.html | 104 +++++++++++++++ layout/reftests/scrolling/scroll-behavior-3.html | 132 +++++++++++++++++++ layout/reftests/scrolling/scroll-behavior-4.html | 99 ++++++++++++++ layout/reftests/scrolling/scroll-behavior-5.html | 109 +++++++++++++++ layout/reftests/scrolling/scroll-behavior-6.html | 146 +++++++++++++++++++++ layout/reftests/scrolling/scroll-behavior-7.html | 55 ++++++++ layout/reftests/scrolling/scroll-behavior-8.html | 97 ++++++++++++++ layout/reftests/scrolling/scroll-behavior-9.html | 55 ++++++++ .../scrolling/scroll-behavior-textarea.html | 45 +++++++ .../scrollbars-area-in-iframe-ref-child.html | 12 ++ .../scrolling/scrollbars-area-in-iframe-ref.html | 5 + .../scrolling/scrollbars-area-in-iframe.html | 15 +++ layout/reftests/scrolling/scrolling.js | 46 +++++++ layout/reftests/scrolling/simple-1.html | 7 + layout/reftests/scrolling/subpixel-1-ref.html | 7 + layout/reftests/scrolling/subpixel-1.html | 12 ++ layout/reftests/scrolling/text-1.html | 10 ++ layout/reftests/scrolling/text-2.html | 19 +++ layout/reftests/scrolling/transformed-1.html | 25 ++++ layout/reftests/scrolling/uncovering-1-ref.html | 23 ++++ layout/reftests/scrolling/uncovering-1.html | 31 +++++ layout/reftests/scrolling/uncovering-2-ref.html | 24 ++++ layout/reftests/scrolling/uncovering-2.html | 32 +++++ .../scrolling/xul-scrollbar-iterate-ref.html | 27 ++++ .../reftests/scrolling/xul-scrollbar-iterate.html | 27 ++++ 76 files changed, 2672 insertions(+) create mode 100644 layout/reftests/scrolling/deferred-anchor-ref.xhtml create mode 100644 layout/reftests/scrolling/deferred-anchor.xhtml create mode 100644 layout/reftests/scrolling/deferred-anchor2.xhtml create mode 100644 layout/reftests/scrolling/fixed-1.html create mode 100644 layout/reftests/scrolling/fixed-opacity-1.html create mode 100644 layout/reftests/scrolling/fixed-opacity-2.html create mode 100644 layout/reftests/scrolling/fixed-table-1.html create mode 100644 layout/reftests/scrolling/fixed-text-1.html create mode 100644 layout/reftests/scrolling/fixed-text-2.html create mode 100644 layout/reftests/scrolling/fractional-scroll-area-invalidation.html create mode 100644 layout/reftests/scrolling/fractional-scroll-area.html create mode 100644 layout/reftests/scrolling/frame-scrolling-attr-1.html create mode 100644 layout/reftests/scrolling/frame-scrolling-attr-2.html create mode 100644 layout/reftests/scrolling/frame-scrolling-attr-ref.html create mode 100644 layout/reftests/scrolling/huge-horizontal-overflow-ref.html create mode 100644 layout/reftests/scrolling/huge-horizontal-overflow.html create mode 100644 layout/reftests/scrolling/huge-vertical-overflow-ref.html create mode 100644 layout/reftests/scrolling/huge-vertical-overflow.html create mode 100644 layout/reftests/scrolling/iframe-border-radius-frame.html create mode 100644 layout/reftests/scrolling/iframe-border-radius-ref.html create mode 100644 layout/reftests/scrolling/iframe-border-radius.html create mode 100644 layout/reftests/scrolling/iframe-deferred-anchor.xhtml create mode 100644 layout/reftests/scrolling/iframe-scrolling-attr-1.html create mode 100644 layout/reftests/scrolling/iframe-scrolling-attr-2.html create mode 100644 layout/reftests/scrolling/iframe-scrolling-attr-ref.html create mode 100644 layout/reftests/scrolling/image-1.html create mode 100644 layout/reftests/scrolling/layer-change-1-frame.html create mode 100644 layout/reftests/scrolling/layer-change-1-ref.html create mode 100644 layout/reftests/scrolling/layer-change-1.html create mode 100644 layout/reftests/scrolling/less-than-scrollbar-height-ref.html create mode 100644 layout/reftests/scrolling/less-than-scrollbar-height.html create mode 100644 layout/reftests/scrolling/move-item-ref.html create mode 100644 layout/reftests/scrolling/move-item.html create mode 100644 layout/reftests/scrolling/opacity-mixed-scrolling-1.html create mode 100644 layout/reftests/scrolling/opacity-mixed-scrolling-2.html create mode 100644 layout/reftests/scrolling/percent-height-overflowing-image-1-ref.html create mode 100644 layout/reftests/scrolling/percent-height-overflowing-image-1.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-1-ref.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-1a.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-1b.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-1c.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-2-ref.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-2a.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-2b.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-2c.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-2d.html create mode 100644 layout/reftests/scrolling/propagated-overflow-style-2e.html create mode 100644 layout/reftests/scrolling/reftest.list create mode 100644 layout/reftests/scrolling/repeatable-diagonal-gradient.png create mode 100644 layout/reftests/scrolling/scroll-behavior-1.html create mode 100644 layout/reftests/scrolling/scroll-behavior-10.html create mode 100644 layout/reftests/scrolling/scroll-behavior-2.html create mode 100644 layout/reftests/scrolling/scroll-behavior-3.html create mode 100644 layout/reftests/scrolling/scroll-behavior-4.html create mode 100644 layout/reftests/scrolling/scroll-behavior-5.html create mode 100644 layout/reftests/scrolling/scroll-behavior-6.html create mode 100644 layout/reftests/scrolling/scroll-behavior-7.html create mode 100644 layout/reftests/scrolling/scroll-behavior-8.html create mode 100644 layout/reftests/scrolling/scroll-behavior-9.html create mode 100644 layout/reftests/scrolling/scroll-behavior-textarea.html create mode 100644 layout/reftests/scrolling/scrollbars-area-in-iframe-ref-child.html create mode 100644 layout/reftests/scrolling/scrollbars-area-in-iframe-ref.html create mode 100644 layout/reftests/scrolling/scrollbars-area-in-iframe.html create mode 100644 layout/reftests/scrolling/scrolling.js create mode 100644 layout/reftests/scrolling/simple-1.html create mode 100644 layout/reftests/scrolling/subpixel-1-ref.html create mode 100644 layout/reftests/scrolling/subpixel-1.html create mode 100644 layout/reftests/scrolling/text-1.html create mode 100644 layout/reftests/scrolling/text-2.html create mode 100644 layout/reftests/scrolling/transformed-1.html create mode 100644 layout/reftests/scrolling/uncovering-1-ref.html create mode 100644 layout/reftests/scrolling/uncovering-1.html create mode 100644 layout/reftests/scrolling/uncovering-2-ref.html create mode 100644 layout/reftests/scrolling/uncovering-2.html create mode 100644 layout/reftests/scrolling/xul-scrollbar-iterate-ref.html create mode 100644 layout/reftests/scrolling/xul-scrollbar-iterate.html (limited to 'layout/reftests/scrolling') diff --git a/layout/reftests/scrolling/deferred-anchor-ref.xhtml b/layout/reftests/scrolling/deferred-anchor-ref.xhtml new file mode 100644 index 0000000000..8256cf0e9a --- /dev/null +++ b/layout/reftests/scrolling/deferred-anchor-ref.xhtml @@ -0,0 +1,12 @@ + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/scrolling/deferred-anchor.xhtml b/layout/reftests/scrolling/deferred-anchor.xhtml new file mode 100644 index 0000000000..1cb3f54091 --- /dev/null +++ b/layout/reftests/scrolling/deferred-anchor.xhtml @@ -0,0 +1,16 @@ + + + + + + + diff --git a/layout/reftests/scrolling/deferred-anchor2.xhtml b/layout/reftests/scrolling/deferred-anchor2.xhtml new file mode 100644 index 0000000000..7cc9b72617 --- /dev/null +++ b/layout/reftests/scrolling/deferred-anchor2.xhtml @@ -0,0 +1,8 @@ + + + + + + + + + diff --git a/layout/reftests/scrolling/iframe-border-radius.html b/layout/reftests/scrolling/iframe-border-radius.html new file mode 100644 index 0000000000..31aa8ed880 --- /dev/null +++ b/layout/reftests/scrolling/iframe-border-radius.html @@ -0,0 +1,20 @@ + + + + + + + diff --git a/layout/reftests/scrolling/iframe-deferred-anchor.xhtml b/layout/reftests/scrolling/iframe-deferred-anchor.xhtml new file mode 100644 index 0000000000..f47d0bf010 --- /dev/null +++ b/layout/reftests/scrolling/iframe-deferred-anchor.xhtml @@ -0,0 +1,13 @@ + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/scrolling/iframe-scrolling-attr-1.html b/layout/reftests/scrolling/iframe-scrolling-attr-1.html new file mode 100644 index 0000000000..6732ac96a4 --- /dev/null +++ b/layout/reftests/scrolling/iframe-scrolling-attr-1.html @@ -0,0 +1,52 @@ + + + + Testcase for bug 943249 + + + + +
+scrolling="no", overflow:scroll
+
+scrolling="no", overflow:auto
+
+scrolling="no", overflow:hidden
+
+scrolling="no", overflow:visible
+
+scrolling="no", overflow:inherit
+
+
+ +
+scrolling="yes", overflow:scroll
+
+scrolling="yes", overflow:auto
+
+scrolling="yes", overflow:hidden
+
+scrolling="yes", overflow:visible
+
+scrolling="yes", overflow:inherit
+
+
+ +
+overflow:hidden
+
+overflow:scroll, overflow:hidden
+
+overflow:scroll
+
+
+ + diff --git a/layout/reftests/scrolling/iframe-scrolling-attr-2.html b/layout/reftests/scrolling/iframe-scrolling-attr-2.html new file mode 100644 index 0000000000..c72ac37402 --- /dev/null +++ b/layout/reftests/scrolling/iframe-scrolling-attr-2.html @@ -0,0 +1,65 @@ + + + + Testcase for bug 943249 + + + + +
+scrolling="no", overflow:scroll
+
+scrolling="no", overflow:auto
+
+scrolling="no", overflow:hidden
+
+scrolling="no", overflow:visible
+
+scrolling="no", overflow:inherit
+
+
+ +
+scrolling="yes", overflow:scroll
+
+scrolling="yes", overflow:auto
+
+scrolling="yes", overflow:hidden
+
+scrolling="yes", overflow:visible
+
+scrolling="yes", overflow:inherit
+
+
+ +
+overflow:hidden
+
+overflow:scroll, overflow:hidden
+
+overflow:scroll
+
+
+ + diff --git a/layout/reftests/scrolling/iframe-scrolling-attr-ref.html b/layout/reftests/scrolling/iframe-scrolling-attr-ref.html new file mode 100644 index 0000000000..6c065ba270 --- /dev/null +++ b/layout/reftests/scrolling/iframe-scrolling-attr-ref.html @@ -0,0 +1,51 @@ + + + + Testcase for bug 943249 + + + +
+scrolling="no", overflow:scroll
+
+scrolling="no", overflow:auto
+
+scrolling="no", overflow:hidden
+
+scrolling="no", overflow:visible
+
+scrolling="no", overflow:inherit
+
+
+ +
+scrolling="yes", overflow:scroll
+
+scrolling="yes", overflow:auto
+
+scrolling="yes", overflow:hidden
+
+scrolling="yes", overflow:visible
+
+scrolling="yes", overflow:inherit
+
+
+ +
+overflow:hidden
+
+overflow:scroll, overflow:hidden
+
+overflow:scroll
+
+
+ + diff --git a/layout/reftests/scrolling/image-1.html b/layout/reftests/scrolling/image-1.html new file mode 100644 index 0000000000..d929c20f3e --- /dev/null +++ b/layout/reftests/scrolling/image-1.html @@ -0,0 +1,10 @@ + + + +
+
+ +
+ + + diff --git a/layout/reftests/scrolling/layer-change-1-frame.html b/layout/reftests/scrolling/layer-change-1-frame.html new file mode 100644 index 0000000000..3e97d3c1ec --- /dev/null +++ b/layout/reftests/scrolling/layer-change-1-frame.html @@ -0,0 +1,68 @@ + + + + + + +
dddddddddddddddddddddddddddddddddddddddddddddddddddddd
+
+
  • + When I use an iPhone and an Android phone at the same time, I +often find that apps from the same company look a lot different on these + two platforms - the ones on Android usually look much worse. + When I use an iPhone and an Android phone at the same time, I +often find that apps from the same company look a lot different on these + two platforms - the ones on Android usually look much worse. + When I use an iPhone and an Android phone at the same time, I +often find that apps from the same company look a lot different on these + two platforms - the ones on Android usually look much worse. +When I use an iPhone and an Android phone at the same time, I +often find that apps from the same company look a lot different on these + two platforms - the ones on Android usually look much worse. + When I use an iPhone and an Android phone at the same time, I +often find that apps from the same company look a lot different on these + two platforms - the ones on Android usually look much worse. + When I use an iPhone and an Android phone at the same time, I +often find that apps from the same company look a lot different on these + two platforms - the ones on Android usually look much worse. + When I use an iPhone and an Android phone at the same time, I +often find that apps from the same company look a lot different on these + two platforms - the ones on Android usually look much worse. +When I use an iPhone and an Android phone at the same time, I +often find that apps from the same company look a lot different on these + two platforms - the ones on Android usually look much worse. +
  • +
    + +
    + + diff --git a/layout/reftests/scrolling/layer-change-1-ref.html b/layout/reftests/scrolling/layer-change-1-ref.html new file mode 100644 index 0000000000..d2cb43491c --- /dev/null +++ b/layout/reftests/scrolling/layer-change-1-ref.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/scrolling/layer-change-1.html b/layout/reftests/scrolling/layer-change-1.html new file mode 100644 index 0000000000..09bfe9716a --- /dev/null +++ b/layout/reftests/scrolling/layer-change-1.html @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/layout/reftests/scrolling/less-than-scrollbar-height-ref.html b/layout/reftests/scrolling/less-than-scrollbar-height-ref.html new file mode 100644 index 0000000000..a0c9a4e2c4 --- /dev/null +++ b/layout/reftests/scrolling/less-than-scrollbar-height-ref.html @@ -0,0 +1,11 @@ + + +Testcase for bug 726258 + + +

    +1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 +

    diff --git a/layout/reftests/scrolling/less-than-scrollbar-height.html b/layout/reftests/scrolling/less-than-scrollbar-height.html new file mode 100644 index 0000000000..e4a8aa77ee --- /dev/null +++ b/layout/reftests/scrolling/less-than-scrollbar-height.html @@ -0,0 +1,11 @@ + + +Testcase for bug 726258 + + +

    +1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 +

    diff --git a/layout/reftests/scrolling/move-item-ref.html b/layout/reftests/scrolling/move-item-ref.html new file mode 100644 index 0000000000..613fd5c243 --- /dev/null +++ b/layout/reftests/scrolling/move-item-ref.html @@ -0,0 +1,27 @@ + + + + + + + +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/move-item.html b/layout/reftests/scrolling/move-item.html new file mode 100644 index 0000000000..774db68560 --- /dev/null +++ b/layout/reftests/scrolling/move-item.html @@ -0,0 +1,31 @@ + + + + + + + +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/opacity-mixed-scrolling-1.html b/layout/reftests/scrolling/opacity-mixed-scrolling-1.html new file mode 100644 index 0000000000..da4227c331 --- /dev/null +++ b/layout/reftests/scrolling/opacity-mixed-scrolling-1.html @@ -0,0 +1,12 @@ + + + +
    +
    +
    +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/opacity-mixed-scrolling-2.html b/layout/reftests/scrolling/opacity-mixed-scrolling-2.html new file mode 100644 index 0000000000..e97ad6ac54 --- /dev/null +++ b/layout/reftests/scrolling/opacity-mixed-scrolling-2.html @@ -0,0 +1,49 @@ + + + + +
    +
    + outside +
    in opacity box
    + outside +
    in opacity box
    + + outside +
    in opacity box
    + outside +
    in opacity box
    + outside +
    in opacity box
    + outside +
    in opacity box
    + outside +
    in opacity box
    + + outside +
    in opacity box
    + outside +
    in opacity box
    + outside +
    +
    + + + diff --git a/layout/reftests/scrolling/percent-height-overflowing-image-1-ref.html b/layout/reftests/scrolling/percent-height-overflowing-image-1-ref.html new file mode 100644 index 0000000000..f12e566cc1 --- /dev/null +++ b/layout/reftests/scrolling/percent-height-overflowing-image-1-ref.html @@ -0,0 +1,49 @@ + + + + Reference case for %-height potentially-overflowing images + + + +
    + +
    +
    + +
    +
    + +
    + +
    +
    + +
    +
    + +
    + +
    +
    + +
    + diff --git a/layout/reftests/scrolling/percent-height-overflowing-image-1.html b/layout/reftests/scrolling/percent-height-overflowing-image-1.html new file mode 100644 index 0000000000..fbb9b12154 --- /dev/null +++ b/layout/reftests/scrolling/percent-height-overflowing-image-1.html @@ -0,0 +1,71 @@ + + + + Testcase for %-height potentially-overflowing images + + + + + +
    + +
    +
    + +
    +
    + + +
    + +
    +
    + +
    +
    + + +
    + +
    +
    + +
    + diff --git a/layout/reftests/scrolling/propagated-overflow-style-1-ref.html b/layout/reftests/scrolling/propagated-overflow-style-1-ref.html new file mode 100644 index 0000000000..7c2b1b3150 --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-1-ref.html @@ -0,0 +1,18 @@ + + + + + Reference case with body and html *independently* scrollable. + + + + + + diff --git a/layout/reftests/scrolling/propagated-overflow-style-1a.html b/layout/reftests/scrolling/propagated-overflow-style-1a.html new file mode 100644 index 0000000000..b5115d36fe --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-1a.html @@ -0,0 +1,23 @@ + + + + + Testcase with body and html *independently* scrollable, + with body's "overflow" set dynamically. + + + + + + + diff --git a/layout/reftests/scrolling/propagated-overflow-style-1b.html b/layout/reftests/scrolling/propagated-overflow-style-1b.html new file mode 100644 index 0000000000..4608b87d62 --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-1b.html @@ -0,0 +1,23 @@ + + + + + Testcase with body and html *independently* scrollable, + with html's "overflow" set dynamically. + + + + + + + diff --git a/layout/reftests/scrolling/propagated-overflow-style-1c.html b/layout/reftests/scrolling/propagated-overflow-style-1c.html new file mode 100644 index 0000000000..11809915a0 --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-1c.html @@ -0,0 +1,19 @@ + + + + + Testcase with body and html *independently* scrollable, + with both html & body's "overflow" set dynamically. + + + + + + diff --git a/layout/reftests/scrolling/propagated-overflow-style-2-ref.html b/layout/reftests/scrolling/propagated-overflow-style-2-ref.html new file mode 100644 index 0000000000..20c3b8ae5b --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-2-ref.html @@ -0,0 +1,15 @@ + + + + + Reference case with the root viewport scrollable, via styles on html node. + + + + + + diff --git a/layout/reftests/scrolling/propagated-overflow-style-2a.html b/layout/reftests/scrolling/propagated-overflow-style-2a.html new file mode 100644 index 0000000000..250bedd6c6 --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-2a.html @@ -0,0 +1,26 @@ + + + + + Testcase with only one of [html,body] being scrollable, + after body's "overflow" is reset dynamically. + + + + + + + diff --git a/layout/reftests/scrolling/propagated-overflow-style-2b.html b/layout/reftests/scrolling/propagated-overflow-style-2b.html new file mode 100644 index 0000000000..c94ddedb26 --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-2b.html @@ -0,0 +1,26 @@ + + + + + Testcase with only one of [html,body] being scrollable, + after html's "overflow" is reset dynamically. + + + + + + + diff --git a/layout/reftests/scrolling/propagated-overflow-style-2c.html b/layout/reftests/scrolling/propagated-overflow-style-2c.html new file mode 100644 index 0000000000..0ceb1f21ab --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-2c.html @@ -0,0 +1,24 @@ + + + + + Testcase with only one of [html,body] being scrollable, + with their "overflow" styles being dynamically swapped. + + + + + + + diff --git a/layout/reftests/scrolling/propagated-overflow-style-2d.html b/layout/reftests/scrolling/propagated-overflow-style-2d.html new file mode 100644 index 0000000000..3353a33744 --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-2d.html @@ -0,0 +1,24 @@ + + + + + Testcase with only one of [html,body] being scrollable, + with their "overflow" styles being dynamically swapped. + + + + + + + diff --git a/layout/reftests/scrolling/propagated-overflow-style-2e.html b/layout/reftests/scrolling/propagated-overflow-style-2e.html new file mode 100644 index 0000000000..f9105185b1 --- /dev/null +++ b/layout/reftests/scrolling/propagated-overflow-style-2e.html @@ -0,0 +1,15 @@ + + + + + Testcase with the root viewport scrollable, via styles on body node. + + + + + + diff --git a/layout/reftests/scrolling/reftest.list b/layout/reftests/scrolling/reftest.list new file mode 100644 index 0000000000..f631654250 --- /dev/null +++ b/layout/reftests/scrolling/reftest.list @@ -0,0 +1,103 @@ +HTTP == deferred-anchor.xhtml#d deferred-anchor-ref.xhtml#d +fuzzy-if(xulRuntime.widgetToolkit=="gtk",0-1,0-23) fails-if(useDrawSnapshot) == deferred-anchor2.xhtml deferred-anchor-ref.xhtml#d # bug 1182632 +HTTP == fixed-1.html fixed-1.html?ref +fuzzy(0-1,0-32200) HTTP == fixed-table-1.html fixed-table-1.html?ref +HTTP == fixed-opacity-1.html fixed-opacity-1.html?ref +HTTP == fixed-opacity-2.html fixed-opacity-2.html?ref +random-if(gtkWidget) fuzzy-if(Android,0-3,0-60) HTTP == fixed-text-1.html fixed-text-1.html?ref +HTTP == fixed-text-2.html fixed-text-2.html?ref +random-if(Android) fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu),0-1,0-12) fuzzy-if(winWidget,0-1,0-31) == iframe-border-radius.html iframe-border-radius-ref.html # bug 760269 +random-if(Android) HTTP == image-1.html image-1.html?ref +random-if(Android) HTTP == opacity-mixed-scrolling-1.html opacity-mixed-scrolling-1.html?ref # bug 760269 +random-if(cocoaWidget) HTTP == opacity-mixed-scrolling-2.html opacity-mixed-scrolling-2.html?ref # see bug 625357 +fails-if(Android) == percent-height-overflowing-image-1.html percent-height-overflowing-image-1-ref.html # bug 1494132 + +== scroll-behavior-1.html scroll-behavior-1.html?ref +== scroll-behavior-2.html scroll-behavior-2.html?ref +== scroll-behavior-3.html scroll-behavior-3.html?ref +== scroll-behavior-4.html scroll-behavior-4.html?ref +== scroll-behavior-5.html scroll-behavior-5.html?ref +== scroll-behavior-6.html scroll-behavior-6.html?ref +== scroll-behavior-7.html scroll-behavior-7.html?ref +== scroll-behavior-8.html scroll-behavior-8.html?ref +== scroll-behavior-9.html scroll-behavior-9.html?ref +== scroll-behavior-10.html scroll-behavior-10.html?ref +== scroll-behavior-textarea.html scroll-behavior-textarea.html?ref +HTTP == simple-1.html simple-1.html?ref +HTTP == subpixel-1.html#d subpixel-1-ref.html#d +fuzzy-if(Android,0-4,0-120) HTTP == text-1.html text-1.html?ref +fuzzy-if(Android,0-4,0-120) HTTP == text-2.html?up text-2.html?ref +fuzzy(0-1,0-42) HTTP == transformed-1.html transformed-1.html?ref +fuzzy(0-1,0-43) HTTP == transformed-1.html?up transformed-1.html?ref +fuzzy-if(Android,0-5,0-20000) == uncovering-1.html uncovering-1-ref.html +fuzzy-if(Android,0-5,0-20000) == uncovering-2.html uncovering-2-ref.html +fuzzy-if(asyncPan&&!layersGPUAccelerated,0-149,0-4520) == less-than-scrollbar-height.html less-than-scrollbar-height-ref.html +== huge-horizontal-overflow.html huge-horizontal-overflow-ref.html +== huge-vertical-overflow.html huge-vertical-overflow-ref.html +pref(apz.allow_zooming,true) fuzzy-if(gtkWidget,0-1,0-80) fuzzy-if(winWidget,0-4,0-170) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-102,0-6818) fuzzy-if(winWidget&&browserIsFission,0-96,0-1109) == iframe-scrolling-attr-1.html iframe-scrolling-attr-ref.html # fission: Bug 1717856 +pref(apz.allow_zooming,true) fuzzy-if(gtkWidget,0-1,0-80) fuzzy-if(winWidget,0-4,0-170) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-140,0-6818) fuzzy-if(winWidget&&browserIsFission,0-96,0-1109) == iframe-scrolling-attr-2.html iframe-scrolling-attr-ref.html # fission: Bug 1717856 +pref(apz.allow_zooming,true) fuzzy(0-1,0-2) fuzzy-if(geckoview,0-1,0-15) fuzzy-if(gtkWidget,0-1,0-48) fuzzy-if(winWidget,0-4,0-108) fuzzy-if(winWidget&&fission,0-92,0-1280) == frame-scrolling-attr-1.html frame-scrolling-attr-ref.html +pref(apz.allow_zooming,true) fuzzy(0-1,0-2) fuzzy-if(asyncPan&&!layersGPUAccelerated,0-102,0-2420) fuzzy-if(geckoview,0-1,0-88) fuzzy-if(gtkWidget,0-1,0-48) fuzzy-if(winWidget,0-4,0-108) fuzzy-if(winWidget&&fission,0-92,0-1920) == frame-scrolling-attr-2.html frame-scrolling-attr-ref.html +== move-item.html move-item-ref.html # bug 1125750 +== fractional-scroll-area.html?top=-0.4&outerBottom=100&innerBottom=200 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0.4&outerBottom=100&innerBottom=200 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0&outerBottom=99.6&innerBottom=200 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0&outerBottom=100.4&innerBottom=200 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=-0.4&outerBottom=99.6&innerBottom=200 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=-0.4&outerBottom=100.4&innerBottom=200 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0.4&outerBottom=99.6&innerBottom=200 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0.4&outerBottom=100.4&innerBottom=200 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=-0.4&outerBottom=100&innerBottom=199.6 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0.4&outerBottom=100&innerBottom=199.6 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0&outerBottom=99.6&innerBottom=199.6 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0&outerBottom=100.4&innerBottom=199.6 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=-0.4&outerBottom=99.6&innerBottom=199.6 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=-0.4&outerBottom=100.4&innerBottom=199.6 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0.4&outerBottom=99.6&innerBottom=199.6 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0.4&outerBottom=100.4&innerBottom=199.6 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=-0.4&outerBottom=100&innerBottom=200.4 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0.4&outerBottom=100&innerBottom=200.4 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0&outerBottom=99.6&innerBottom=200.4 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0&outerBottom=100.4&innerBottom=200.4 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=-0.4&outerBottom=99.6&innerBottom=200.4 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=-0.4&outerBottom=100.4&innerBottom=200.4 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0.4&outerBottom=99.6&innerBottom=200.4 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=0.4&outerBottom=100.4&innerBottom=200.4 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200 +== fractional-scroll-area.html?top=-0.4&outerBottom=100&innerBottom=200&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0.4&outerBottom=100&innerBottom=200&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0&outerBottom=99.6&innerBottom=200&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0&outerBottom=100.4&innerBottom=200&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=-0.4&outerBottom=99.6&innerBottom=200&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=-0.4&outerBottom=100.4&innerBottom=200&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0.4&outerBottom=99.6&innerBottom=200&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0.4&outerBottom=100.4&innerBottom=200&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=-0.4&outerBottom=100&innerBottom=199.6&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0.4&outerBottom=100&innerBottom=199.6&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0&outerBottom=99.6&innerBottom=199.6&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0&outerBottom=100.4&innerBottom=199.6&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=-0.4&outerBottom=99.6&innerBottom=199.6&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=-0.4&outerBottom=100.4&innerBottom=199.6&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0.4&outerBottom=99.6&innerBottom=199.6&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0.4&outerBottom=100.4&innerBottom=199.6&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=-0.4&outerBottom=100&innerBottom=200.4&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0.4&outerBottom=100&innerBottom=200.4&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0&outerBottom=99.6&innerBottom=200.4&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0&outerBottom=100.4&innerBottom=200.4&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=-0.4&outerBottom=99.6&innerBottom=200.4&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=-0.4&outerBottom=100.4&innerBottom=200.4&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0.4&outerBottom=99.6&innerBottom=200.4&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +== fractional-scroll-area.html?top=0.4&outerBottom=100.4&innerBottom=200.4&scrollBefore=999 fractional-scroll-area.html?top=0&outerBottom=100&innerBottom=200&scrollBefore=999 +!= fractional-scroll-area-invalidation.html about:blank + +# Tests for "overflow" styles that may be propagated to the viewport: +== propagated-overflow-style-1a.html propagated-overflow-style-1-ref.html +== propagated-overflow-style-1b.html propagated-overflow-style-1-ref.html +== propagated-overflow-style-1c.html propagated-overflow-style-1-ref.html +== propagated-overflow-style-2a.html propagated-overflow-style-2-ref.html +== propagated-overflow-style-2b.html propagated-overflow-style-2-ref.html +== propagated-overflow-style-2c.html propagated-overflow-style-2-ref.html +== propagated-overflow-style-2d.html propagated-overflow-style-2-ref.html +== propagated-overflow-style-2e.html propagated-overflow-style-2-ref.html + +fuzzy-if(Android,54-54,8-29) == xul-scrollbar-iterate.html xul-scrollbar-iterate-ref.html +== scrollbars-area-in-iframe.html scrollbars-area-in-iframe-ref.html diff --git a/layout/reftests/scrolling/repeatable-diagonal-gradient.png b/layout/reftests/scrolling/repeatable-diagonal-gradient.png new file mode 100644 index 0000000000..d114e100d3 Binary files /dev/null and b/layout/reftests/scrolling/repeatable-diagonal-gradient.png differ diff --git a/layout/reftests/scrolling/scroll-behavior-1.html b/layout/reftests/scrolling/scroll-behavior-1.html new file mode 100644 index 0000000000..5f845aa191 --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-1.html @@ -0,0 +1,55 @@ + + + + + Testcase for bug 1010538, smooth scrolling expected + + + +
    +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-10.html b/layout/reftests/scrolling/scroll-behavior-10.html new file mode 100644 index 0000000000..81716ccd6c --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-10.html @@ -0,0 +1,64 @@ + + + + + Testcase for bug 1104356 smooth scrolling expected + + + +
    +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-2.html b/layout/reftests/scrolling/scroll-behavior-2.html new file mode 100644 index 0000000000..224cc56831 --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-2.html @@ -0,0 +1,104 @@ + + + + + Testcase for bug 1010538, smooth scrolling expected + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-3.html b/layout/reftests/scrolling/scroll-behavior-3.html new file mode 100644 index 0000000000..cc2da36132 --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-3.html @@ -0,0 +1,132 @@ + + + + + Testcase for bug 1010538, instant scrolling expected + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-4.html b/layout/reftests/scrolling/scroll-behavior-4.html new file mode 100644 index 0000000000..65c39cdcce --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-4.html @@ -0,0 +1,99 @@ + + + + + Testcase for bug 1010538 - Anchor Link Scrolling + + + +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-5.html b/layout/reftests/scrolling/scroll-behavior-5.html new file mode 100644 index 0000000000..e866e6905f --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-5.html @@ -0,0 +1,109 @@ + + + + + Testcase for bug 1010538 - Element.ScrollLeft and Element.ScrollTop scroll-behavior + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-6.html b/layout/reftests/scrolling/scroll-behavior-6.html new file mode 100644 index 0000000000..5c211b8c3c --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-6.html @@ -0,0 +1,146 @@ + + + + + Testcase for bug 1010538 - Element.ScrollBy and Element.ScrollTo + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-7.html b/layout/reftests/scrolling/scroll-behavior-7.html new file mode 100644 index 0000000000..3e18da1caa --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-7.html @@ -0,0 +1,55 @@ + + + + + Testcase for bug 1010538, smooth scrolling expected + + + +
    +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-8.html b/layout/reftests/scrolling/scroll-behavior-8.html new file mode 100644 index 0000000000..6a16002256 --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-8.html @@ -0,0 +1,97 @@ + + + + + Testcase for bug 1010538 - Dynamically change scroll-behavior + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-9.html b/layout/reftests/scrolling/scroll-behavior-9.html new file mode 100644 index 0000000000..37b3bf0c02 --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-9.html @@ -0,0 +1,55 @@ + + + + + Testcase for bug 1082098, smooth scrolling expected after dynamically setting scroll-behavior on body + + + +
    +
    + + + diff --git a/layout/reftests/scrolling/scroll-behavior-textarea.html b/layout/reftests/scrolling/scroll-behavior-textarea.html new file mode 100644 index 0000000000..964719c137 --- /dev/null +++ b/layout/reftests/scrolling/scroll-behavior-textarea.html @@ -0,0 +1,45 @@ + + + + + Testcase for bug 1320200, smooth scrolling in textarea + + + + + + + diff --git a/layout/reftests/scrolling/scrollbars-area-in-iframe-ref-child.html b/layout/reftests/scrolling/scrollbars-area-in-iframe-ref-child.html new file mode 100644 index 0000000000..6eed6f6b09 --- /dev/null +++ b/layout/reftests/scrolling/scrollbars-area-in-iframe-ref-child.html @@ -0,0 +1,12 @@ + + + + + diff --git a/layout/reftests/scrolling/scrollbars-area-in-iframe-ref.html b/layout/reftests/scrolling/scrollbars-area-in-iframe-ref.html new file mode 100644 index 0000000000..1360f1f017 --- /dev/null +++ b/layout/reftests/scrolling/scrollbars-area-in-iframe-ref.html @@ -0,0 +1,5 @@ + + + + diff --git a/layout/reftests/scrolling/scrolling.js b/layout/reftests/scrolling/scrolling.js new file mode 100644 index 0000000000..2176c90d8d --- /dev/null +++ b/layout/reftests/scrolling/scrolling.js @@ -0,0 +1,46 @@ +var topElements; +var failed = false; + +function doScroll(d) +{ + if (failed) + return; + for (var i = 0; i < topElements.length; ++i) { + var e = topElements[i]; + e.scrollTop = d; + if (e.scrollTop != d) { + document.documentElement.textContent = + "Scrolling failed on " + e.tagName + " element, " + + "tried to scroll to " + d + ", got " + e.scrollTop + + " (Random number: " + Math.random() + ")"; + failed = true; + } + } +} + +// bug 1134459, images are decoded off main thread +// Wait for the load event so we know all images have loaded +document.onload = function() { + topElements = document.getElementsByClassName("scrollTop"); + if (!topElements.length) { + topElements = [document.documentElement]; + } + + if (document.location.search == '?ref') { + doScroll(20); + } else if (document.location.search == '?up') { + doScroll(40); + document.documentElement.setAttribute("class", "reftest-wait"); + window.addEventListener("MozReftestInvalidate", function() { + document.documentElement.removeAttribute("class"); + doScroll(20); + }); + } else { + doScroll(1); + document.documentElement.setAttribute("class", "reftest-wait"); + window.addEventListener("MozReftestInvalidate", function() { + document.documentElement.removeAttribute("class"); + doScroll(20); + }); + } +} diff --git a/layout/reftests/scrolling/simple-1.html b/layout/reftests/scrolling/simple-1.html new file mode 100644 index 0000000000..761f67c0fb --- /dev/null +++ b/layout/reftests/scrolling/simple-1.html @@ -0,0 +1,7 @@ + + + + +
    + + diff --git a/layout/reftests/scrolling/subpixel-1-ref.html b/layout/reftests/scrolling/subpixel-1-ref.html new file mode 100644 index 0000000000..52ec2c54a5 --- /dev/null +++ b/layout/reftests/scrolling/subpixel-1-ref.html @@ -0,0 +1,7 @@ + + + +
    +
    + + diff --git a/layout/reftests/scrolling/subpixel-1.html b/layout/reftests/scrolling/subpixel-1.html new file mode 100644 index 0000000000..a0bac5f6a6 --- /dev/null +++ b/layout/reftests/scrolling/subpixel-1.html @@ -0,0 +1,12 @@ + + + +
    +
    + + + diff --git a/layout/reftests/scrolling/text-1.html b/layout/reftests/scrolling/text-1.html new file mode 100644 index 0000000000..23afe84ce4 --- /dev/null +++ b/layout/reftests/scrolling/text-1.html @@ -0,0 +1,10 @@ + + + +
    +
    Hello Kitty
    +
    +
    + + + diff --git a/layout/reftests/scrolling/text-2.html b/layout/reftests/scrolling/text-2.html new file mode 100644 index 0000000000..46cc041aba --- /dev/null +++ b/layout/reftests/scrolling/text-2.html @@ -0,0 +1,19 @@ + + + +
    Hello Kitty + Hello Kitty + Hello Kitty + Hello Kitty + Hello Kitty + Hello Kitty + Hello Kitty + Hello Kitty + Hello Kitty + Hello Kitty + Hello Kitty +
    +
    + + + diff --git a/layout/reftests/scrolling/transformed-1.html b/layout/reftests/scrolling/transformed-1.html new file mode 100644 index 0000000000..cbc9b7ad4a --- /dev/null +++ b/layout/reftests/scrolling/transformed-1.html @@ -0,0 +1,25 @@ + + + +
    +
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    Hello Kitty
    +
    +
    + + + + diff --git a/layout/reftests/scrolling/uncovering-1-ref.html b/layout/reftests/scrolling/uncovering-1-ref.html new file mode 100644 index 0000000000..52d7a1463c --- /dev/null +++ b/layout/reftests/scrolling/uncovering-1-ref.html @@ -0,0 +1,23 @@ + + + + + + +
    +
    + + diff --git a/layout/reftests/scrolling/uncovering-1.html b/layout/reftests/scrolling/uncovering-1.html new file mode 100644 index 0000000000..511892049d --- /dev/null +++ b/layout/reftests/scrolling/uncovering-1.html @@ -0,0 +1,31 @@ + + + + + + +
    +
    + + + diff --git a/layout/reftests/scrolling/uncovering-2-ref.html b/layout/reftests/scrolling/uncovering-2-ref.html new file mode 100644 index 0000000000..5e0e97c825 --- /dev/null +++ b/layout/reftests/scrolling/uncovering-2-ref.html @@ -0,0 +1,24 @@ + + + + + + +
    +
    +
    + + diff --git a/layout/reftests/scrolling/uncovering-2.html b/layout/reftests/scrolling/uncovering-2.html new file mode 100644 index 0000000000..f0d9a39675 --- /dev/null +++ b/layout/reftests/scrolling/uncovering-2.html @@ -0,0 +1,32 @@ + + + + + + +
    +
    +
    + + + diff --git a/layout/reftests/scrolling/xul-scrollbar-iterate-ref.html b/layout/reftests/scrolling/xul-scrollbar-iterate-ref.html new file mode 100644 index 0000000000..784661e1de --- /dev/null +++ b/layout/reftests/scrolling/xul-scrollbar-iterate-ref.html @@ -0,0 +1,27 @@ + +XUL scrollbar testcase + + +
    +
    +
    +
    diff --git a/layout/reftests/scrolling/xul-scrollbar-iterate.html b/layout/reftests/scrolling/xul-scrollbar-iterate.html new file mode 100644 index 0000000000..816218c3dc --- /dev/null +++ b/layout/reftests/scrolling/xul-scrollbar-iterate.html @@ -0,0 +1,27 @@ + +XUL scrollbar testcase + + +
    +
    +
    +
    -- cgit v1.2.3