From eae8d21428acdb3fb842df091ded0eb276bcaaaa Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Tue, 24 Apr 2018 21:39:13 +0200 Subject: moebius#138: Optimize operations on root of deeply-nested frame tree https://github.com/MoonchildProductions/moebius/pull/138 --- .../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 | 10 +++++++++ 11 files changed, 223 insertions(+) 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 (limited to 'layout/reftests/scrolling') 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 000000000..7c2b1b315 --- /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 000000000..b5115d36f --- /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 000000000..4608b87d6 --- /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 000000000..11809915a --- /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 000000000..20c3b8ae5 --- /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 000000000..250bedd6c --- /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 000000000..c94ddedb2 --- /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 000000000..0ceb1f21a --- /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 000000000..3353a3374 --- /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 000000000..f9105185b --- /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 index db1b81db6..43997ced7 100644 --- a/layout/reftests/scrolling/reftest.list +++ b/layout/reftests/scrolling/reftest.list @@ -85,3 +85,13 @@ fuzzy-if(asyncPan&&!layersGPUAccelerated,102,2420) == frame-scrolling-attr-2.htm == 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 -- cgit v1.2.3