# HG changeset patch # Parent 72d6dac6db85a561c39f8cbca154b55c3438e348 # User Corey Ford Bug 886646 - Part 7: Reftests for sticky positioning. r=dbaron diff --git a/layout/reftests/position-sticky/bottom-1-ref.html b/layout/reftests/position-sticky/bottom-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-1-ref.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/bottom-1.html b/layout/reftests/position-sticky/bottom-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-1.html @@ -0,0 +1,29 @@ + + + + + CSS Test: Sticky Positioning - bottom, normal position + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/bottom-2-ref.html b/layout/reftests/position-sticky/bottom-2-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-2-ref.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/bottom-2a.html b/layout/reftests/position-sticky/bottom-2a.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-2a.html @@ -0,0 +1,29 @@ + + + + + CSS Test: Sticky Positioning - bottom, normal position + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/bottom-2b.html b/layout/reftests/position-sticky/bottom-2b.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-2b.html @@ -0,0 +1,29 @@ + + + + + CSS Test: Sticky Positioning - bottom, stuck + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/bottom-2c.html b/layout/reftests/position-sticky/bottom-2c.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-2c.html @@ -0,0 +1,30 @@ + + + + + + CSS Test: Sticky Positioning - bottom, stuck + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/bottom-3-ref.html b/layout/reftests/position-sticky/bottom-3-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-3-ref.html @@ -0,0 +1,32 @@ + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/bottom-3.html b/layout/reftests/position-sticky/bottom-3.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-3.html @@ -0,0 +1,37 @@ + + + + + + CSS Test: Sticky Positioning - bottom, stuck + + + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/bottom-4-ref.html b/layout/reftests/position-sticky/bottom-4-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-4-ref.html @@ -0,0 +1,34 @@ + + + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/bottom-4.html b/layout/reftests/position-sticky/bottom-4.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/bottom-4.html @@ -0,0 +1,41 @@ + + + + + CSS Test: Sticky Positioning - bottom, contained + + + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/containing-block-1-ref.html b/layout/reftests/position-sticky/containing-block-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/containing-block-1-ref.html @@ -0,0 +1,32 @@ + + + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/containing-block-1.html b/layout/reftests/position-sticky/containing-block-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/containing-block-1.html @@ -0,0 +1,35 @@ + + + + + CSS Test: Sticky Positioning - absolute containing block + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/initial-1-ref.html b/layout/reftests/position-sticky/initial-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/initial-1-ref.html @@ -0,0 +1,27 @@ + + + + + + + +
+ + diff --git a/layout/reftests/position-sticky/initial-1.html b/layout/reftests/position-sticky/initial-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/initial-1.html @@ -0,0 +1,30 @@ + + + + + CSS Test: Sticky Positioning - initial reflow + + + + + +
+ + diff --git a/layout/reftests/position-sticky/initial-scroll-1-ref.html b/layout/reftests/position-sticky/initial-scroll-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/initial-scroll-1-ref.html @@ -0,0 +1,35 @@ + + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/initial-scroll-1.html b/layout/reftests/position-sticky/initial-scroll-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/initial-scroll-1.html @@ -0,0 +1,38 @@ + + + + + CSS Test: Sticky Positioning - initial scroll position + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/left-1-ref.html b/layout/reftests/position-sticky/left-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-1-ref.html @@ -0,0 +1,42 @@ + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/left-1.html b/layout/reftests/position-sticky/left-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-1.html @@ -0,0 +1,51 @@ + + + + + CSS Test: Sticky Positioning - left, normal position + + + + + + +
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/left-2-ref.html b/layout/reftests/position-sticky/left-2-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-2-ref.html @@ -0,0 +1,37 @@ + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/left-2.html b/layout/reftests/position-sticky/left-2.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-2.html @@ -0,0 +1,51 @@ + + + + + CSS Test: Sticky Positioning - left, stuck + + + + + + +
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/left-3-ref.html b/layout/reftests/position-sticky/left-3-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-3-ref.html @@ -0,0 +1,39 @@ + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/left-3.html b/layout/reftests/position-sticky/left-3.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-3.html @@ -0,0 +1,51 @@ + + + + + CSS Test: Sticky Positioning - left, contained + + + + + + +
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/left-right-1-ref.html b/layout/reftests/position-sticky/left-right-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-right-1-ref.html @@ -0,0 +1,42 @@ + + + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/left-right-1.html b/layout/reftests/position-sticky/left-right-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-right-1.html @@ -0,0 +1,46 @@ + + + + + CSS Test: Sticky Positioning - left+right, at left + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/left-right-2-ref.html b/layout/reftests/position-sticky/left-right-2-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-right-2-ref.html @@ -0,0 +1,33 @@ + + + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/left-right-2.html b/layout/reftests/position-sticky/left-right-2.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-right-2.html @@ -0,0 +1,50 @@ + + + + + CSS Test: Sticky Positioning - left+right, at middle + + + + + + +
+
+
+ + + diff --git a/layout/reftests/position-sticky/left-right-3-ref.html b/layout/reftests/position-sticky/left-right-3-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-right-3-ref.html @@ -0,0 +1,34 @@ + + + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/left-right-3.html b/layout/reftests/position-sticky/left-right-3.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/left-right-3.html @@ -0,0 +1,50 @@ + + + + + CSS Test: Sticky Positioning - left+right, at right + + + + + + +
+
+
+ + + diff --git a/layout/reftests/position-sticky/margin-1-ref.html b/layout/reftests/position-sticky/margin-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/margin-1-ref.html @@ -0,0 +1,31 @@ + + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/margin-1.html b/layout/reftests/position-sticky/margin-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/margin-1.html @@ -0,0 +1,41 @@ + + + + + CSS Test: Sticky Positioning - element margin + + + + + + + +
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/overconstrained-1-ref.html b/layout/reftests/position-sticky/overconstrained-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/overconstrained-1-ref.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/overconstrained-1.html b/layout/reftests/position-sticky/overconstrained-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/overconstrained-1.html @@ -0,0 +1,31 @@ + + + + + CSS Test: Sticky Positioning - top+bottom, overconstrained + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/overconstrained-2-ref.html b/layout/reftests/position-sticky/overconstrained-2-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/overconstrained-2-ref.html @@ -0,0 +1,40 @@ + + + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/overconstrained-2.html b/layout/reftests/position-sticky/overconstrained-2.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/overconstrained-2.html @@ -0,0 +1,46 @@ + + + + + CSS Test: Sticky Positioning - left+right, overconstrained + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/overconstrained-3-ref.html b/layout/reftests/position-sticky/overconstrained-3-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/overconstrained-3-ref.html @@ -0,0 +1,28 @@ + + + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/overconstrained-3.html b/layout/reftests/position-sticky/overconstrained-3.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/overconstrained-3.html @@ -0,0 +1,51 @@ + + + + + CSS Test: Sticky Positioning - left+right, overconstrained + + + + + + +
+
+
+ + + diff --git a/layout/reftests/position-sticky/overcontain-1-ref.html b/layout/reftests/position-sticky/overcontain-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/overcontain-1-ref.html @@ -0,0 +1,20 @@ + + + + + + + +
+ + diff --git a/layout/reftests/position-sticky/overcontain-1.html b/layout/reftests/position-sticky/overcontain-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/overcontain-1.html @@ -0,0 +1,25 @@ + + + + + CSS Test: Sticky Positioning - containment and normal position + + + + + +
+ + diff --git a/layout/reftests/position-sticky/padding-1-ref.html b/layout/reftests/position-sticky/padding-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/padding-1-ref.html @@ -0,0 +1,40 @@ + + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/padding-1.html b/layout/reftests/position-sticky/padding-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/padding-1.html @@ -0,0 +1,37 @@ + + + + + CSS Test: Sticky Positioning - percentage offsets + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/padding-2-ref.html b/layout/reftests/position-sticky/padding-2-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/padding-2-ref.html @@ -0,0 +1,29 @@ + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/padding-2.html b/layout/reftests/position-sticky/padding-2.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/padding-2.html @@ -0,0 +1,41 @@ + + + + + CSS Test: Sticky Positioning - offsets reference + + + + + + +
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/padding-3-ref.html b/layout/reftests/position-sticky/padding-3-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/padding-3-ref.html @@ -0,0 +1,40 @@ + + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/padding-3.html b/layout/reftests/position-sticky/padding-3.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/padding-3.html @@ -0,0 +1,39 @@ + + + + + CSS Test: Sticky Positioning - offsets reference, bottom/right + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/pref-1-disabled-ref.html b/layout/reftests/position-sticky/pref-1-disabled-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/pref-1-disabled-ref.html @@ -0,0 +1,20 @@ + + + + + + + + +

+ "position: sticky" is: +

disabled
+

+ + diff --git a/layout/reftests/position-sticky/pref-1-enabled-ref.html b/layout/reftests/position-sticky/pref-1-enabled-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/pref-1-enabled-ref.html @@ -0,0 +1,20 @@ + + + + + + + + +

+ "position: sticky" is: +

enabled
+

+ + diff --git a/layout/reftests/position-sticky/pref-1.html b/layout/reftests/position-sticky/pref-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/pref-1.html @@ -0,0 +1,34 @@ + + + + + CSS Test: Sticky Positioning - support test + + + + + + +

+ "position: sticky" is: + +

enabled
+
disabled
+

+ + diff --git a/layout/reftests/position-sticky/reftest.list b/layout/reftests/position-sticky/reftest.list new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/reftest.list @@ -0,0 +1,43 @@ +test-pref(layout.css.sticky.enabled,false) == pref-1.html pref-1-disabled-ref.html +test-pref(layout.css.sticky.enabled,true) == pref-1.html pref-1-enabled-ref.html +default-preferences pref(layout.css.sticky.enabled,true) + +== top-1.html top-1-ref.html +fuzzy-if(Android,4,914) == top-2.html top-2-ref.html +fuzzy-if(Android,4,2729) == top-3.html top-3-ref.html +== top-4.html top-4-ref.html +== top-5.html top-5-ref.html +== top-6.html top-6-ref.html +== bottom-1.html bottom-1-ref.html +== bottom-2a.html bottom-2-ref.html +== bottom-2b.html bottom-2-ref.html +== bottom-2c.html bottom-2-ref.html +== bottom-3.html bottom-3-ref.html +== bottom-4.html bottom-4-ref.html +fuzzy-if(Android,2,4) == left-1.html left-1-ref.html +fuzzy-if(Android,2,4) == left-2.html left-2-ref.html +== left-3.html left-3-ref.html +== right-1.html right-1-ref.html +fuzzy-if(Android,2,4) == right-2.html right-2-ref.html +fuzzy-if(Android,2,4) == right-3.html right-3-ref.html +== margin-1.html margin-1-ref.html +== padding-1.html padding-1-ref.html +== padding-2.html padding-2-ref.html +== padding-3.html padding-3-ref.html +== overcontain-1.html overcontain-1-ref.html +== initial-1.html initial-1-ref.html +== initial-scroll-1.html initial-scroll-1-ref.html +== scrollframe-reflow-1.html scrollframe-reflow-1-ref.html +== scrollframe-reflow-2.html scrollframe-reflow-2-ref.html +== scrollframe-auto-1.html scrollframe-auto-1-ref.html +== stacking-context-1.html stacking-context-1-ref.html +== top-bottom-1.html top-bottom-1-ref.html +== top-bottom-2.html top-bottom-2-ref.html +== top-bottom-3.html top-bottom-3-ref.html +== left-right-1.html left-right-1-ref.html +== left-right-2.html left-right-2-ref.html +== left-right-3.html left-right-3-ref.html +== containing-block-1.html containing-block-1-ref.html +== overconstrained-1.html overconstrained-1-ref.html +== overconstrained-2.html overconstrained-2-ref.html +== overconstrained-3.html overconstrained-3-ref.html diff --git a/layout/reftests/position-sticky/right-1-ref.html b/layout/reftests/position-sticky/right-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/right-1-ref.html @@ -0,0 +1,40 @@ + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/right-1.html b/layout/reftests/position-sticky/right-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/right-1.html @@ -0,0 +1,54 @@ + + + + + CSS Test: Sticky Positioning - right, stuck + + + + + + +
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/right-2-ref.html b/layout/reftests/position-sticky/right-2-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/right-2-ref.html @@ -0,0 +1,41 @@ + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/right-2.html b/layout/reftests/position-sticky/right-2.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/right-2.html @@ -0,0 +1,54 @@ + + + + + CSS Test: Sticky Positioning - right, stuck + + + + + + +
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/right-3-ref.html b/layout/reftests/position-sticky/right-3-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/right-3-ref.html @@ -0,0 +1,41 @@ + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/right-3.html b/layout/reftests/position-sticky/right-3.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/right-3.html @@ -0,0 +1,54 @@ + + + + + CSS Test: Sticky Positioning - right, contained + + + + + + +
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/scrollframe-auto-1-ref.html b/layout/reftests/position-sticky/scrollframe-auto-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/scrollframe-auto-1-ref.html @@ -0,0 +1,34 @@ + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/scrollframe-auto-1.html b/layout/reftests/position-sticky/scrollframe-auto-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/scrollframe-auto-1.html @@ -0,0 +1,36 @@ + + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/scrollframe-reflow-1-ref.html b/layout/reftests/position-sticky/scrollframe-reflow-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/scrollframe-reflow-1-ref.html @@ -0,0 +1,25 @@ + + + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/scrollframe-reflow-1.html b/layout/reftests/position-sticky/scrollframe-reflow-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/scrollframe-reflow-1.html @@ -0,0 +1,36 @@ + + + + + + + + + + +
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/scrollframe-reflow-2-ref.html b/layout/reftests/position-sticky/scrollframe-reflow-2-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/scrollframe-reflow-2-ref.html @@ -0,0 +1,25 @@ + + + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/scrollframe-reflow-2.html b/layout/reftests/position-sticky/scrollframe-reflow-2.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/scrollframe-reflow-2.html @@ -0,0 +1,36 @@ + + + + + + + + + + +
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/stacking-context-1-ref.html b/layout/reftests/position-sticky/stacking-context-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/stacking-context-1-ref.html @@ -0,0 +1,39 @@ + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/stacking-context-1.html b/layout/reftests/position-sticky/stacking-context-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/stacking-context-1.html @@ -0,0 +1,45 @@ + + + + + CSS Test: Sticky Positioning - stacking context + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-1-ref.html b/layout/reftests/position-sticky/top-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-1-ref.html @@ -0,0 +1,34 @@ + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-1.html b/layout/reftests/position-sticky/top-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-1.html @@ -0,0 +1,41 @@ + + + + + CSS Test: Sticky Positioning - top, normal position + + + + + + +
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-2-ref.html b/layout/reftests/position-sticky/top-2-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-2-ref.html @@ -0,0 +1,34 @@ + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-2.html b/layout/reftests/position-sticky/top-2.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-2.html @@ -0,0 +1,45 @@ + + + + + CSS Test: Sticky Positioning - top, normal position + + + + + + + +
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/top-3-ref.html b/layout/reftests/position-sticky/top-3-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-3-ref.html @@ -0,0 +1,38 @@ + + + + + + + + +
+
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-3.html b/layout/reftests/position-sticky/top-3.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-3.html @@ -0,0 +1,45 @@ + + + + + CSS Test: Sticky Positioning - top, stuck + + + + + + + +
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/top-4-ref.html b/layout/reftests/position-sticky/top-4-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-4-ref.html @@ -0,0 +1,30 @@ + + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-4.html b/layout/reftests/position-sticky/top-4.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-4.html @@ -0,0 +1,45 @@ + + + + + CSS Test: Sticky Positioning - top, stuck + + + + + + + +
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/top-5-ref.html b/layout/reftests/position-sticky/top-5-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-5-ref.html @@ -0,0 +1,28 @@ + + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-5.html b/layout/reftests/position-sticky/top-5.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-5.html @@ -0,0 +1,45 @@ + + + + + CSS Test: Sticky Positioning - top, contained + + + + + + + +
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/top-6-ref.html b/layout/reftests/position-sticky/top-6-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-6-ref.html @@ -0,0 +1,32 @@ + + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-6.html b/layout/reftests/position-sticky/top-6.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-6.html @@ -0,0 +1,49 @@ + + + + + CSS Test: Sticky Positioning - top, contained + + + + + + + +
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/top-bottom-1-ref.html b/layout/reftests/position-sticky/top-bottom-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-bottom-1-ref.html @@ -0,0 +1,27 @@ + + + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-bottom-1.html b/layout/reftests/position-sticky/top-bottom-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-bottom-1.html @@ -0,0 +1,31 @@ + + + + + CSS Test: Sticky Positioning - top+bottom, at top + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-bottom-2-ref.html b/layout/reftests/position-sticky/top-bottom-2-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-bottom-2-ref.html @@ -0,0 +1,23 @@ + + + + + + + + +
+
+
+
+ + diff --git a/layout/reftests/position-sticky/top-bottom-2.html b/layout/reftests/position-sticky/top-bottom-2.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-bottom-2.html @@ -0,0 +1,35 @@ + + + + + CSS Test: Sticky Positioning - top+bottom, at middle + + + + + + + +
+
+
+
+
+ + + diff --git a/layout/reftests/position-sticky/top-bottom-3-ref.html b/layout/reftests/position-sticky/top-bottom-3-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-bottom-3-ref.html @@ -0,0 +1,25 @@ + + + + + + + + +
+
+
+ + diff --git a/layout/reftests/position-sticky/top-bottom-3.html b/layout/reftests/position-sticky/top-bottom-3.html new file mode 100644 --- /dev/null +++ b/layout/reftests/position-sticky/top-bottom-3.html @@ -0,0 +1,35 @@ + + + + + CSS Test: Sticky Positioning - top+bottom, at bottom + + + + + + + +
+
+
+
+
+ + + diff --git a/layout/reftests/reftest.list b/layout/reftests/reftest.list --- a/layout/reftests/reftest.list +++ b/layout/reftests/reftest.list @@ -245,16 +245,19 @@ skip-if(B2G) include pagination/reftest. skip-if(B2G) include scoped-style/reftest.list # scrolling skip-if(Android&&AndroidVersion>=15) include scrolling/reftest.list # selection include selection/reftest.list +# sticky positioning +include position-sticky/reftest.list + # svg/ include svg/reftest.list # tab-size/ skip-if(B2G) include tab-size/reftest.list # table-anonymous-boxes/ skip-if(B2G) include table-anonymous-boxes/reftest.list diff --git a/layout/reftests/svg/text/ignore-position-ref.svg b/layout/reftests/svg/text/ignore-position-ref.svg --- a/layout/reftests/svg/text/ignore-position-ref.svg +++ b/layout/reftests/svg/text/ignore-position-ref.svg @@ -2,10 +2,11 @@ Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> hello there everyone hello there everyone hello there everyone + hello there everyone diff --git a/layout/reftests/svg/text/ignore-position.svg b/layout/reftests/svg/text/ignore-position.svg --- a/layout/reftests/svg/text/ignore-position.svg +++ b/layout/reftests/svg/text/ignore-position.svg @@ -2,10 +2,11 @@ Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> hello there everyone hello there everyone hello there everyone + hello there everyone