summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/width-erode-all-focuspadding-rtl-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/button/width-erode-all-focuspadding-rtl-ref.html')
-rw-r--r--layout/reftests/forms/button/width-erode-all-focuspadding-rtl-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/forms/button/width-erode-all-focuspadding-rtl-ref.html b/layout/reftests/forms/button/width-erode-all-focuspadding-rtl-ref.html
new file mode 100644
index 0000000000..762e443f81
--- /dev/null
+++ b/layout/reftests/forms/button/width-erode-all-focuspadding-rtl-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<html dir=rtl>
+<style>
+
+div.button {
+ display: inline-block;
+ background: yellow;
+ border: 2px solid fuchsia;
+ padding: 2px;
+ font-size: 10px;
+}
+
+span {
+ display: inline-block; vertical-align: middle;
+ height: 20px; width: 50px; border: 2px solid blue;
+ margin: 1px 0px; /* for implicit focuspadding, fully eroded */
+}
+
+</style>
+
+<div class=button><span></span></div>