diff options
Diffstat (limited to 'tests/html/overflow-bug-1.html')
-rw-r--r-- | tests/html/overflow-bug-1.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/html/overflow-bug-1.html b/tests/html/overflow-bug-1.html new file mode 100644 index 00000000000..1a11bf1320f --- /dev/null +++ b/tests/html/overflow-bug-1.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<!-- https://github.com/servo/servo/issues/9306 --> +<style> + body { + margin: 0; + } + + .green { + background: #0F0; + height: 40px; + width: 400px; + top: 40px; + left: 50%; + margin-left: -300px; + position: absolute; + padding: 0px 100px; + } + + .red { + background: #F00; + position: absolute; + right: 0; + } + +</style> + +<div class="green"> + <span class="red">x</span> +</div> |