diff options
Diffstat (limited to 'layout/reftests/writing-mode/1108923-1-percentage-margins-ref.html')
-rw-r--r-- | layout/reftests/writing-mode/1108923-1-percentage-margins-ref.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1108923-1-percentage-margins-ref.html b/layout/reftests/writing-mode/1108923-1-percentage-margins-ref.html new file mode 100644 index 0000000000..ecd5c175dc --- /dev/null +++ b/layout/reftests/writing-mode/1108923-1-percentage-margins-ref.html @@ -0,0 +1,59 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<style> +.outer { + width:600px; + height:200px; + border:1px solid gray; + background:#eee; + font-size:0px; +} +.test1 { + display:inline-block; + position:relative; + top:100px; + left:300px; + border:10px solid green; + width:80px; + height:30px; +} +.test2 { + display:inline-block; + position:relative; + top:0px; + left:250px; + border:10px solid blue; + width:80px; + height:30px; +} +.test3 { + display:inline-block; + position:relative; + top:20px; + left:230px; + border:10px solid yellow; + width:80px; + height:30px; +} +</style> +</head> + +<body> + +<div class="outer"> + +<div class="test3"> +</div> + +<div class="test2"> +</div> + +<div class="test1"> +</div> + +</div> + +</body> +</html> |