Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent.html b/third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c6e938a925bd4e8339ebb0c77298bf5b9bae0d3f |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/block/positioning/fixed-position-with-relative-parent.html |
| @@ -0,0 +1,5 @@ |
| +<!DOCTYPE html> |
| +<style> * { margin: 0; } </style> |
|
mstensho (USE GERRIT)
2016/12/16 11:53:00
I think I'd just drop this rule.
|
| +<div style="background: limegreen; width: 70px; height: 70px; position: relative; left: 40px; top: 40px;"> |
| +<div style="background: green; top: auto; width: 40px; height: 40px; position: fixed;"></div> |
|
mstensho (USE GERRIT)
2016/12/16 11:53:00
Please indent this line. Also no need for the top:
Anton Obzhirov
2016/12/16 14:46:31
Yep, will do.
|
| +</div> |