Chromium Code Reviews| Index: LayoutTests/fast/css/sticky/sticky-stacking-context.html |
| diff --git a/LayoutTests/fast/css/sticky/sticky-stacking-context.html b/LayoutTests/fast/css/sticky/sticky-stacking-context.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..91e02f3e453c01183daf1223ade4ac79c8bb9e45 |
| --- /dev/null |
| +++ b/LayoutTests/fast/css/sticky/sticky-stacking-context.html |
| @@ -0,0 +1,23 @@ |
| +<!DOCTYPE html> |
| +<html> |
|
Ian Vollick
2015/06/30 17:56:32
no need for html, body or head.
Please also add a
flackr
2015/06/30 18:44:48
Done. Seems I need a body in the parsing test to c
|
| +<head> |
| +<style type="text/css"> |
| +div { |
| + height: 100px; |
| + width: 100px; |
| +} |
| +.sticky { |
| + background-color: green; |
| + position: sticky; |
| +} |
| +.red { |
| + background-color: red; |
| + margin-top: -100px; |
| +} |
| +</style> |
| +</head> |
| +<body> |
| + <div class="sticky"></div> |
| + <div class="red"></div> |
| +</body> |
| +</html> |