summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/color/reference-style.css
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/color/reference-style.css')
-rw-r--r--layout/reftests/forms/input/color/reference-style.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/color/reference-style.css b/layout/reftests/forms/input/color/reference-style.css
new file mode 100644
index 0000000000..347b1216df
--- /dev/null
+++ b/layout/reftests/forms/input/color/reference-style.css
@@ -0,0 +1,17 @@
+div.input-color-swatch {
+ /* This should match the styling for ::-moz-color-swatch in forms.css. */
+ width: 100%;
+ height: 100%;
+ min-width: 3px;
+ min-height: 3px;
+ box-sizing: border-box;
+ border: 1px solid grey;
+ display: block;
+ background-color: #000000; /* default color for input type color */
+}
+
+button.input-color {
+ width: 64px;
+ height: 32px;
+ padding: 4px; /* widget-supplied padding */
+}