diff --git a/css/css-position/sticky/position-sticky-fixed-ancestor-002.html b/css/css-position/sticky/position-sticky-fixed-ancestor-002.html new file mode 100644 index 00000000000000..dc3c383ea5e9c8 --- /dev/null +++ b/css/css-position/sticky/position-sticky-fixed-ancestor-002.html @@ -0,0 +1,53 @@ + + + + + CSS Positioned Layout Test: a sticky element inside a fixed ancestor + + + + + + + + + + + + + +
+ +
FAIL
+ +
PASS
+ +
diff --git a/css/css-position/sticky/position-sticky-fixed-ancestor-003.html b/css/css-position/sticky/position-sticky-fixed-ancestor-003.html new file mode 100644 index 00000000000000..382112cae42f13 --- /dev/null +++ b/css/css-position/sticky/position-sticky-fixed-ancestor-003.html @@ -0,0 +1,44 @@ + + + + + CSS Positioned Layout Test: a sticky element inside a fixed ancestor + + + + + + + + + +
+ +
FAIL
+ +
PASS
+ +
diff --git a/css/css-position/sticky/position-sticky-scrolled-remove-sibling.html b/css/css-position/sticky/position-sticky-scrolled-remove-sibling.html index f2cf8a98b30a2c..845454e1b3d6c5 100644 --- a/css/css-position/sticky/position-sticky-scrolled-remove-sibling.html +++ b/css/css-position/sticky/position-sticky-scrolled-remove-sibling.html @@ -1,21 +1,99 @@ - - -

Test passes if there is a filled green square, and no scrollbars

-
-
-
-
- - - + + + + CSS Positioned Layout Test: element with 'position: sticky' and removing a sibling in the vertical axis and in the horizontal axis + + + + + + + + + + + + + + +

Test passes if there is a filled green square and no scrollbar. + +

+ +
+ +
+ +
+ + +
+ +
+ +
+ + + diff --git a/css/css-position/sticky/position-sticky-stacking-context-002.html b/css/css-position/sticky/position-sticky-stacking-context-002.html new file mode 100644 index 00000000000000..1cc162880a3755 --- /dev/null +++ b/css/css-position/sticky/position-sticky-stacking-context-002.html @@ -0,0 +1,47 @@ + + + + + CSS Positioned Layout Test: an element with 'position: sticky' creates a stacking context + + + + + + + + + +

Test passes if there is a filled green square and no red. + +

+ +
+ +
diff --git a/css/css-position/sticky/reference/position-sticky-fixed-ancestor-002-ref.html b/css/css-position/sticky/reference/position-sticky-fixed-ancestor-002-ref.html new file mode 100644 index 00000000000000..abdc1dbcfa7ea2 --- /dev/null +++ b/css/css-position/sticky/reference/position-sticky-fixed-ancestor-002-ref.html @@ -0,0 +1,20 @@ + + + + + CSS Reference File + + + + + +
PASS