Bug 1134744 - Reftest for baseline of radio button and checkbox. r=smontagu
authorJonathan Kew <jkew@mozilla.com>
Tue, 03 Mar 2015 12:25:17 +0000
changeset 247024 2a03863c738469a24c7295af17849f486cbb87ca
parent 247023 d530c6ab9f119fd5ef6c281d66a8594e34b33e81
child 247025 c75a393d7bfb81aede37b182e30c7758765268ba
push id884
push userdburns@mozilla.com
push dateTue, 03 Mar 2015 15:29:12 +0000
reviewerssmontagu
bugs1134744
milestone39.0a1
Bug 1134744 - Reftest for baseline of radio button and checkbox. r=smontagu
layout/reftests/writing-mode/1134744-radio-checkbox-baseline-1-ref.html
layout/reftests/writing-mode/1134744-radio-checkbox-baseline-1.html
layout/reftests/writing-mode/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/writing-mode/1134744-radio-checkbox-baseline-1-ref.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Bug 1134744 testcase</title>
+<meta charset="utf-8">
+<style>
+div {
+  height: 200px;
+  margin: 1px;
+  padding: 1px;
+}
+</style>
+</head>
+<body>
+<!-- these two blocks should look the same -->
+<div style="writing-mode: vertical-lr; text-orientation: sideways-right">
+ <label><input type="checkbox">Checkbox</label></br>
+ <label><input type="radio">Radio</label></br>
+</div>
+<div style="writing-mode: vertical-rl; text-orientation: sideways-right">
+ <label><input type="radio">Radio</label></br>
+ <label><input type="checkbox">Checkbox</label></br>
+</div>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/writing-mode/1134744-radio-checkbox-baseline-1.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Bug 1134744 testcase</title>
+<meta charset="utf-8">
+<style>
+div {
+  height: 200px;
+  margin: 1px;
+  padding: 1px;
+}
+</style>
+</head>
+<body>
+<!-- these two blocks should look the same -->
+<div style="writing-mode: vertical-rl; text-orientation: sideways-right">
+ <label><input type="radio">Radio</label></br>
+ <label><input type="checkbox">Checkbox</label></br>
+</div>
+<div style="writing-mode: vertical-lr; text-orientation: sideways-right">
+ <label><input type="checkbox">Checkbox</label></br>
+ <label><input type="radio">Radio</label></br>
+</div>
+</body>
+</html>
--- a/layout/reftests/writing-mode/reftest.list
+++ b/layout/reftests/writing-mode/reftest.list
@@ -98,9 +98,10 @@ HTTP(..) == 1127488-align-end-vertical-l
 HTTP(..) == 1127488-align-left-vertical-lr-rtl.html 1127488-align-top-left-ref.html
 HTTP(..) == 1127488-align-right-vertical-lr-rtl.html 1127488-align-bottom-left-ref.html
 HTTP(..) == 1127488-align-default-vertical-lr-ltr.html 1127488-align-top-left-ref.html
 HTTP(..) == 1127488-align-start-vertical-lr-ltr.html 1127488-align-top-left-ref.html
 HTTP(..) == 1127488-align-end-vertical-lr-ltr.html 1127488-align-bottom-left-ref.html
 HTTP(..) == 1127488-align-left-vertical-lr-ltr.html 1127488-align-top-left-ref.html
 HTTP(..) == 1127488-align-right-vertical-lr-ltr.html 1127488-align-bottom-left-ref.html
 == 1131013-vertical-bidi.html 1131013-vertical-bidi-ref.html
+== 1134744-radio-checkbox-baseline-1.html 1134744-radio-checkbox-baseline-1-ref.html
 fails-if(B2G) == 1135361-ruby-justify-1.html 1135361-ruby-justify-1-ref.html # bug 1136067