From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- .../forms/meter/bar-pseudo-element-ref.html | 105 ++++++++ .../forms/meter/bar-pseudo-element-rtl-ref.html | 45 ++++ .../forms/meter/bar-pseudo-element-rtl.html | 26 ++ .../meter/bar-pseudo-element-vertical-ref.html | 91 +++++++ .../meter/bar-pseudo-element-vertical-rtl-ref.html | 94 +++++++ .../meter/bar-pseudo-element-vertical-rtl.html | 46 ++++ .../forms/meter/bar-pseudo-element-vertical.html | 46 ++++ .../reftests/forms/meter/bar-pseudo-element.html | 50 ++++ .../reftests/forms/meter/block-invalidate-ref.html | 10 + layout/reftests/forms/meter/block-invalidate.html | 19 ++ .../meter/default-style/default-style-dyn-ref.html | 38 +++ .../meter/default-style/default-style-dyn.html | 34 +++ .../meter/default-style/default-style-ref.html | 279 +++++++++++++++++++++ .../forms/meter/default-style/default-style.html | 61 +++++ .../forms/meter/default-style/reftest.list | 2 + .../reftests/forms/meter/default-style/style.css | 54 ++++ layout/reftests/forms/meter/in-cells-ref.html | 22 ++ layout/reftests/forms/meter/in-cells.html | 21 ++ .../reftests/forms/meter/margin-padding-ref.html | 88 +++++++ .../forms/meter/margin-padding-rtl-ref.html | 88 +++++++ .../reftests/forms/meter/margin-padding-rtl.html | 40 +++ .../forms/meter/margin-padding-vertical-ref.html | 88 +++++++ .../meter/margin-padding-vertical-rtl-ref.html | 88 +++++++ .../forms/meter/margin-padding-vertical-rtl.html | 43 ++++ .../forms/meter/margin-padding-vertical.html | 43 ++++ layout/reftests/forms/meter/margin-padding.html | 40 +++ layout/reftests/forms/meter/max-height-ref.html | 11 + layout/reftests/forms/meter/max-height.html | 11 + .../reftests/forms/meter/meter-orient-block.html | 3 + .../forms/meter/meter-orient-horizontal-rtl.html | 3 + .../forms/meter/meter-orient-horizontal.html | 3 + .../reftests/forms/meter/meter-orient-inline.html | 3 + .../forms/meter/meter-orient-vertical-rtl.html | 3 + .../forms/meter/meter-orient-vertical.html | 3 + .../forms/meter/meter-vlr-orient-block.html | 3 + .../forms/meter/meter-vlr-orient-horizontal.html | 3 + .../forms/meter/meter-vlr-orient-inline.html | 3 + .../forms/meter/meter-vlr-orient-vertical.html | 3 + layout/reftests/forms/meter/meter-vlr.html | 3 + .../forms/meter/meter-vrl-orient-block.html | 3 + .../forms/meter/meter-vrl-orient-horizontal.html | 3 + .../forms/meter/meter-vrl-orient-inline.html | 3 + .../forms/meter/meter-vrl-orient-vertical.html | 3 + layout/reftests/forms/meter/meter-vrl.html | 3 + layout/reftests/forms/meter/reftest.list | 43 ++++ layout/reftests/forms/meter/style.css | 38 +++ .../reftests/forms/meter/transformations-ref.html | 78 ++++++ layout/reftests/forms/meter/transformations.html | 36 +++ layout/reftests/forms/meter/values-ref.html | 163 ++++++++++++ layout/reftests/forms/meter/values-rtl-ref.html | 163 ++++++++++++ layout/reftests/forms/meter/values-rtl.html | 42 ++++ .../reftests/forms/meter/values-vertical-ref.html | 163 ++++++++++++ .../forms/meter/values-vertical-rtl-ref.html | 163 ++++++++++++ .../reftests/forms/meter/values-vertical-rtl.html | 47 ++++ layout/reftests/forms/meter/values-vertical.html | 47 ++++ layout/reftests/forms/meter/values.html | 42 ++++ 56 files changed, 2656 insertions(+) create mode 100644 layout/reftests/forms/meter/bar-pseudo-element-ref.html create mode 100644 layout/reftests/forms/meter/bar-pseudo-element-rtl-ref.html create mode 100644 layout/reftests/forms/meter/bar-pseudo-element-rtl.html create mode 100644 layout/reftests/forms/meter/bar-pseudo-element-vertical-ref.html create mode 100644 layout/reftests/forms/meter/bar-pseudo-element-vertical-rtl-ref.html create mode 100644 layout/reftests/forms/meter/bar-pseudo-element-vertical-rtl.html create mode 100644 layout/reftests/forms/meter/bar-pseudo-element-vertical.html create mode 100644 layout/reftests/forms/meter/bar-pseudo-element.html create mode 100644 layout/reftests/forms/meter/block-invalidate-ref.html create mode 100644 layout/reftests/forms/meter/block-invalidate.html create mode 100644 layout/reftests/forms/meter/default-style/default-style-dyn-ref.html create mode 100644 layout/reftests/forms/meter/default-style/default-style-dyn.html create mode 100644 layout/reftests/forms/meter/default-style/default-style-ref.html create mode 100644 layout/reftests/forms/meter/default-style/default-style.html create mode 100644 layout/reftests/forms/meter/default-style/reftest.list create mode 100644 layout/reftests/forms/meter/default-style/style.css create mode 100644 layout/reftests/forms/meter/in-cells-ref.html create mode 100644 layout/reftests/forms/meter/in-cells.html create mode 100644 layout/reftests/forms/meter/margin-padding-ref.html create mode 100644 layout/reftests/forms/meter/margin-padding-rtl-ref.html create mode 100644 layout/reftests/forms/meter/margin-padding-rtl.html create mode 100644 layout/reftests/forms/meter/margin-padding-vertical-ref.html create mode 100644 layout/reftests/forms/meter/margin-padding-vertical-rtl-ref.html create mode 100644 layout/reftests/forms/meter/margin-padding-vertical-rtl.html create mode 100644 layout/reftests/forms/meter/margin-padding-vertical.html create mode 100644 layout/reftests/forms/meter/margin-padding.html create mode 100644 layout/reftests/forms/meter/max-height-ref.html create mode 100644 layout/reftests/forms/meter/max-height.html create mode 100644 layout/reftests/forms/meter/meter-orient-block.html create mode 100644 layout/reftests/forms/meter/meter-orient-horizontal-rtl.html create mode 100644 layout/reftests/forms/meter/meter-orient-horizontal.html create mode 100644 layout/reftests/forms/meter/meter-orient-inline.html create mode 100644 layout/reftests/forms/meter/meter-orient-vertical-rtl.html create mode 100644 layout/reftests/forms/meter/meter-orient-vertical.html create mode 100644 layout/reftests/forms/meter/meter-vlr-orient-block.html create mode 100644 layout/reftests/forms/meter/meter-vlr-orient-horizontal.html create mode 100644 layout/reftests/forms/meter/meter-vlr-orient-inline.html create mode 100644 layout/reftests/forms/meter/meter-vlr-orient-vertical.html create mode 100644 layout/reftests/forms/meter/meter-vlr.html create mode 100644 layout/reftests/forms/meter/meter-vrl-orient-block.html create mode 100644 layout/reftests/forms/meter/meter-vrl-orient-horizontal.html create mode 100644 layout/reftests/forms/meter/meter-vrl-orient-inline.html create mode 100644 layout/reftests/forms/meter/meter-vrl-orient-vertical.html create mode 100644 layout/reftests/forms/meter/meter-vrl.html create mode 100644 layout/reftests/forms/meter/reftest.list create mode 100644 layout/reftests/forms/meter/style.css create mode 100644 layout/reftests/forms/meter/transformations-ref.html create mode 100644 layout/reftests/forms/meter/transformations.html create mode 100644 layout/reftests/forms/meter/values-ref.html create mode 100644 layout/reftests/forms/meter/values-rtl-ref.html create mode 100644 layout/reftests/forms/meter/values-rtl.html create mode 100644 layout/reftests/forms/meter/values-vertical-ref.html create mode 100644 layout/reftests/forms/meter/values-vertical-rtl-ref.html create mode 100644 layout/reftests/forms/meter/values-vertical-rtl.html create mode 100644 layout/reftests/forms/meter/values-vertical.html create mode 100644 layout/reftests/forms/meter/values.html (limited to 'layout/reftests/forms/meter') diff --git a/layout/reftests/forms/meter/bar-pseudo-element-ref.html b/layout/reftests/forms/meter/bar-pseudo-element-ref.html new file mode 100644 index 0000000000..c9576fc40b --- /dev/null +++ b/layout/reftests/forms/meter/bar-pseudo-element-ref.html @@ -0,0 +1,105 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/bar-pseudo-element-rtl-ref.html b/layout/reftests/forms/meter/bar-pseudo-element-rtl-ref.html new file mode 100644 index 0000000000..ba9b6c8f35 --- /dev/null +++ b/layout/reftests/forms/meter/bar-pseudo-element-rtl-ref.html @@ -0,0 +1,45 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/bar-pseudo-element-rtl.html b/layout/reftests/forms/meter/bar-pseudo-element-rtl.html new file mode 100644 index 0000000000..22f5462dfd --- /dev/null +++ b/layout/reftests/forms/meter/bar-pseudo-element-rtl.html @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/bar-pseudo-element-vertical-ref.html b/layout/reftests/forms/meter/bar-pseudo-element-vertical-ref.html new file mode 100644 index 0000000000..1389954c11 --- /dev/null +++ b/layout/reftests/forms/meter/bar-pseudo-element-vertical-ref.html @@ -0,0 +1,91 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/bar-pseudo-element-vertical-rtl-ref.html b/layout/reftests/forms/meter/bar-pseudo-element-vertical-rtl-ref.html new file mode 100644 index 0000000000..1bdb8c6e86 --- /dev/null +++ b/layout/reftests/forms/meter/bar-pseudo-element-vertical-rtl-ref.html @@ -0,0 +1,94 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/bar-pseudo-element-vertical-rtl.html b/layout/reftests/forms/meter/bar-pseudo-element-vertical-rtl.html new file mode 100644 index 0000000000..b865133a85 --- /dev/null +++ b/layout/reftests/forms/meter/bar-pseudo-element-vertical-rtl.html @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/bar-pseudo-element-vertical.html b/layout/reftests/forms/meter/bar-pseudo-element-vertical.html new file mode 100644 index 0000000000..a2ab3222e3 --- /dev/null +++ b/layout/reftests/forms/meter/bar-pseudo-element-vertical.html @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/bar-pseudo-element.html b/layout/reftests/forms/meter/bar-pseudo-element.html new file mode 100644 index 0000000000..821a449619 --- /dev/null +++ b/layout/reftests/forms/meter/bar-pseudo-element.html @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/block-invalidate-ref.html b/layout/reftests/forms/meter/block-invalidate-ref.html new file mode 100644 index 0000000000..3208c43ef6 --- /dev/null +++ b/layout/reftests/forms/meter/block-invalidate-ref.html @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/layout/reftests/forms/meter/block-invalidate.html b/layout/reftests/forms/meter/block-invalidate.html new file mode 100644 index 0000000000..abc98f7f7a --- /dev/null +++ b/layout/reftests/forms/meter/block-invalidate.html @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/layout/reftests/forms/meter/default-style/default-style-dyn-ref.html b/layout/reftests/forms/meter/default-style/default-style-dyn-ref.html new file mode 100644 index 0000000000..03a1937fa5 --- /dev/null +++ b/layout/reftests/forms/meter/default-style/default-style-dyn-ref.html @@ -0,0 +1,38 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/default-style/default-style-dyn.html b/layout/reftests/forms/meter/default-style/default-style-dyn.html new file mode 100644 index 0000000000..bed08d6511 --- /dev/null +++ b/layout/reftests/forms/meter/default-style/default-style-dyn.html @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/default-style/default-style-ref.html b/layout/reftests/forms/meter/default-style/default-style-ref.html new file mode 100644 index 0000000000..7cba9ab962 --- /dev/null +++ b/layout/reftests/forms/meter/default-style/default-style-ref.html @@ -0,0 +1,279 @@ + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/default-style/default-style.html b/layout/reftests/forms/meter/default-style/default-style.html new file mode 100644 index 0000000000..6c648c3355 --- /dev/null +++ b/layout/reftests/forms/meter/default-style/default-style.html @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/default-style/reftest.list b/layout/reftests/forms/meter/default-style/reftest.list new file mode 100644 index 0000000000..a67d6712b6 --- /dev/null +++ b/layout/reftests/forms/meter/default-style/reftest.list @@ -0,0 +1,2 @@ +== default-style.html default-style-ref.html +== default-style-dyn.html default-style-dyn-ref.html diff --git a/layout/reftests/forms/meter/default-style/style.css b/layout/reftests/forms/meter/default-style/style.css new file mode 100644 index 0000000000..2d42337e9a --- /dev/null +++ b/layout/reftests/forms/meter/default-style/style.css @@ -0,0 +1,54 @@ +div.meter-element { + display: inline-block; + height: 1em; + width: 5em; + vertical-align: -0.2em; + + background: linear-gradient(#e6e6e6, #e6e6e6, #eeeeee 20%, #cccccc 45%, #cccccc 55%); +} + +div.meter-optimum { + float: none ! important; + + height: 100%; + /* + * We can't apply the following style to the reference because it will have + * underisable effectes: + * width: 100%; + */ + + /* green. */ + background: linear-gradient(#ad7, #ad7, #cea 20%, #7a3 45%, #7a3 55%); +} + +div.meter-sub-optimum { + float: none ! important; + + height: 100%; + /* + * We can't apply the following style to the reference because it will have + * underisable effectes: + * width: 100%; + */ + + /* orange. */ + background: linear-gradient(#fe7, #fe7, #ffc 20%, #db3 45%, #db3 55%); +} + +div.meter-sub-sub-optimum { + float: none ! important; + + height: 100%; + /* + * We can't apply the following style to the reference because it will have + * underisable effectes: + * width: 100%; + */ + + /* red. */ + background: linear-gradient(#f77, #f77, #fcc 20%, #d44 45%, #d44 55%); +} + +meter, meter::-moz-meter-bar, div.meter-element, div.meter-optimum, div.meter-sub-optimum, div.meter-sub-sub-optimum { + -moz-appearance: none; +} diff --git a/layout/reftests/forms/meter/in-cells-ref.html b/layout/reftests/forms/meter/in-cells-ref.html new file mode 100644 index 0000000000..aa81938a3d --- /dev/null +++ b/layout/reftests/forms/meter/in-cells-ref.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + +
foobar
foobar
+ + diff --git a/layout/reftests/forms/meter/in-cells.html b/layout/reftests/forms/meter/in-cells.html new file mode 100644 index 0000000000..c62510433a --- /dev/null +++ b/layout/reftests/forms/meter/in-cells.html @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + +
foobar
foobar
+ + diff --git a/layout/reftests/forms/meter/margin-padding-ref.html b/layout/reftests/forms/meter/margin-padding-ref.html new file mode 100644 index 0000000000..84fb9b3852 --- /dev/null +++ b/layout/reftests/forms/meter/margin-padding-ref.html @@ -0,0 +1,88 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/margin-padding-rtl-ref.html b/layout/reftests/forms/meter/margin-padding-rtl-ref.html new file mode 100644 index 0000000000..579794cc9e --- /dev/null +++ b/layout/reftests/forms/meter/margin-padding-rtl-ref.html @@ -0,0 +1,88 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/margin-padding-rtl.html b/layout/reftests/forms/meter/margin-padding-rtl.html new file mode 100644 index 0000000000..d840582647 --- /dev/null +++ b/layout/reftests/forms/meter/margin-padding-rtl.html @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/margin-padding-vertical-ref.html b/layout/reftests/forms/meter/margin-padding-vertical-ref.html new file mode 100644 index 0000000000..e6de9fef13 --- /dev/null +++ b/layout/reftests/forms/meter/margin-padding-vertical-ref.html @@ -0,0 +1,88 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/margin-padding-vertical-rtl-ref.html b/layout/reftests/forms/meter/margin-padding-vertical-rtl-ref.html new file mode 100644 index 0000000000..6ecb2fcafd --- /dev/null +++ b/layout/reftests/forms/meter/margin-padding-vertical-rtl-ref.html @@ -0,0 +1,88 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/margin-padding-vertical-rtl.html b/layout/reftests/forms/meter/margin-padding-vertical-rtl.html new file mode 100644 index 0000000000..55e922b07b --- /dev/null +++ b/layout/reftests/forms/meter/margin-padding-vertical-rtl.html @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/margin-padding-vertical.html b/layout/reftests/forms/meter/margin-padding-vertical.html new file mode 100644 index 0000000000..d25d45e286 --- /dev/null +++ b/layout/reftests/forms/meter/margin-padding-vertical.html @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/margin-padding.html b/layout/reftests/forms/meter/margin-padding.html new file mode 100644 index 0000000000..349813e1fd --- /dev/null +++ b/layout/reftests/forms/meter/margin-padding.html @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/max-height-ref.html b/layout/reftests/forms/meter/max-height-ref.html new file mode 100644 index 0000000000..be61638a7d --- /dev/null +++ b/layout/reftests/forms/meter/max-height-ref.html @@ -0,0 +1,11 @@ + + +Some text diff --git a/layout/reftests/forms/meter/max-height.html b/layout/reftests/forms/meter/max-height.html new file mode 100644 index 0000000000..ae6115f855 --- /dev/null +++ b/layout/reftests/forms/meter/max-height.html @@ -0,0 +1,11 @@ + + +Some text diff --git a/layout/reftests/forms/meter/meter-orient-block.html b/layout/reftests/forms/meter/meter-orient-block.html new file mode 100644 index 0000000000..8096473e76 --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-block.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-horizontal-rtl.html b/layout/reftests/forms/meter/meter-orient-horizontal-rtl.html new file mode 100644 index 0000000000..29050d0219 --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-horizontal-rtl.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-horizontal.html b/layout/reftests/forms/meter/meter-orient-horizontal.html new file mode 100644 index 0000000000..762329c7f6 --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-horizontal.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-inline.html b/layout/reftests/forms/meter/meter-orient-inline.html new file mode 100644 index 0000000000..a5ac5b52ba --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-inline.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-vertical-rtl.html b/layout/reftests/forms/meter/meter-orient-vertical-rtl.html new file mode 100644 index 0000000000..af83d45301 --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-vertical-rtl.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-vertical.html b/layout/reftests/forms/meter/meter-orient-vertical.html new file mode 100644 index 0000000000..0bcc363497 --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-vertical.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr-orient-block.html b/layout/reftests/forms/meter/meter-vlr-orient-block.html new file mode 100644 index 0000000000..500f1599d4 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr-orient-block.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr-orient-horizontal.html b/layout/reftests/forms/meter/meter-vlr-orient-horizontal.html new file mode 100644 index 0000000000..194f942d16 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr-orient-horizontal.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr-orient-inline.html b/layout/reftests/forms/meter/meter-vlr-orient-inline.html new file mode 100644 index 0000000000..d3ee42792b --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr-orient-inline.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr-orient-vertical.html b/layout/reftests/forms/meter/meter-vlr-orient-vertical.html new file mode 100644 index 0000000000..40e9c82344 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr-orient-vertical.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr.html b/layout/reftests/forms/meter/meter-vlr.html new file mode 100644 index 0000000000..7edf4a6042 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl-orient-block.html b/layout/reftests/forms/meter/meter-vrl-orient-block.html new file mode 100644 index 0000000000..6b136624c5 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl-orient-block.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl-orient-horizontal.html b/layout/reftests/forms/meter/meter-vrl-orient-horizontal.html new file mode 100644 index 0000000000..87f8c938dd --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl-orient-horizontal.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl-orient-inline.html b/layout/reftests/forms/meter/meter-vrl-orient-inline.html new file mode 100644 index 0000000000..294f823e19 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl-orient-inline.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl-orient-vertical.html b/layout/reftests/forms/meter/meter-vrl-orient-vertical.html new file mode 100644 index 0000000000..369465660c --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl-orient-vertical.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl.html b/layout/reftests/forms/meter/meter-vrl.html new file mode 100644 index 0000000000..7c481b31e3 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/reftest.list b/layout/reftests/forms/meter/reftest.list new file mode 100644 index 0000000000..f0b3e1f26f --- /dev/null +++ b/layout/reftests/forms/meter/reftest.list @@ -0,0 +1,43 @@ +fuzzy-if(Android,0-128,0-16) == values.html values-ref.html +== values-rtl.html values-rtl-ref.html +== margin-padding.html margin-padding-ref.html +== margin-padding-rtl.html margin-padding-rtl-ref.html +== bar-pseudo-element.html bar-pseudo-element-ref.html +== bar-pseudo-element-rtl.html bar-pseudo-element-rtl-ref.html + +# vertical tests +== values-vertical.html values-vertical-ref.html +== values-vertical-rtl.html values-vertical-rtl-ref.html +== margin-padding-vertical.html margin-padding-vertical-ref.html +== margin-padding-vertical-rtl.html margin-padding-vertical-rtl-ref.html +== bar-pseudo-element-vertical.html bar-pseudo-element-vertical-ref.html +== bar-pseudo-element-vertical-rtl.html bar-pseudo-element-vertical-rtl-ref.html + +# The following test is disabled but kept in the repository because the +# transformations will not behave exactly the same for and two divs. +# However, it would be possible to manually check those. +# == transformations.html transformations-ref.html + +# default style +include default-style/reftest.list + +# Tests for bugs: +== block-invalidate.html block-invalidate-ref.html +== in-cells.html in-cells-ref.html +== max-height.html max-height-ref.html + +# Tests for block and inline orientation in combination with writing-mode +!= meter-orient-vertical.html meter-orient-horizontal.html +!= meter-orient-horizontal.html meter-orient-horizontal-rtl.html +== meter-orient-block.html meter-orient-vertical.html +== meter-orient-inline.html meter-orient-horizontal.html +== meter-vlr.html meter-orient-vertical.html +== meter-vlr-orient-block.html meter-orient-horizontal.html +== meter-vlr-orient-inline.html meter-orient-vertical.html +== meter-vlr-orient-horizontal.html meter-orient-horizontal.html +== meter-vlr-orient-vertical.html meter-orient-vertical.html +== meter-vrl.html meter-orient-vertical-rtl.html +== meter-vrl-orient-block.html meter-orient-horizontal-rtl.html +== meter-vrl-orient-inline.html meter-orient-vertical-rtl.html +== meter-vrl-orient-horizontal.html meter-orient-horizontal-rtl.html +== meter-vrl-orient-vertical.html meter-orient-vertical-rtl.html diff --git a/layout/reftests/forms/meter/style.css b/layout/reftests/forms/meter/style.css new file mode 100644 index 0000000000..8370c5c33a --- /dev/null +++ b/layout/reftests/forms/meter/style.css @@ -0,0 +1,38 @@ +div.meter-element { + display: inline-block; + height: 1em; + width: 5em; + vertical-align: -0.2em; + + background-color: grey; +} + +div.meter-element.vertical { + height: 5em; + width: 1em; +} + +div.meter-bar { + float: none ! important; + + height: 100%; + /* + * We can't apply the following style to the reference because it will have + * underisable effectes: + * width: 100%; + */ + + background-color: green; +} + +meter, meter::-moz-meter-bar, div.meter-element, div.meter-bar { + -moz-appearance: none; +} + +meter { + background: grey; +} + +meter::-moz-meter-bar { + background: green; +} diff --git a/layout/reftests/forms/meter/transformations-ref.html b/layout/reftests/forms/meter/transformations-ref.html new file mode 100644 index 0000000000..17d0daa1a0 --- /dev/null +++ b/layout/reftests/forms/meter/transformations-ref.html @@ -0,0 +1,78 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/transformations.html b/layout/reftests/forms/meter/transformations.html new file mode 100644 index 0000000000..f4d8a3e201 --- /dev/null +++ b/layout/reftests/forms/meter/transformations.html @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/values-ref.html b/layout/reftests/forms/meter/values-ref.html new file mode 100644 index 0000000000..346e1b910d --- /dev/null +++ b/layout/reftests/forms/meter/values-ref.html @@ -0,0 +1,163 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/values-rtl-ref.html b/layout/reftests/forms/meter/values-rtl-ref.html new file mode 100644 index 0000000000..c65e1d1d24 --- /dev/null +++ b/layout/reftests/forms/meter/values-rtl-ref.html @@ -0,0 +1,163 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/values-rtl.html b/layout/reftests/forms/meter/values-rtl.html new file mode 100644 index 0000000000..7fc25c74aa --- /dev/null +++ b/layout/reftests/forms/meter/values-rtl.html @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/values-vertical-ref.html b/layout/reftests/forms/meter/values-vertical-ref.html new file mode 100644 index 0000000000..b330278291 --- /dev/null +++ b/layout/reftests/forms/meter/values-vertical-ref.html @@ -0,0 +1,163 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/values-vertical-rtl-ref.html b/layout/reftests/forms/meter/values-vertical-rtl-ref.html new file mode 100644 index 0000000000..71e166c6c9 --- /dev/null +++ b/layout/reftests/forms/meter/values-vertical-rtl-ref.html @@ -0,0 +1,163 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/forms/meter/values-vertical-rtl.html b/layout/reftests/forms/meter/values-vertical-rtl.html new file mode 100644 index 0000000000..e4653ac671 --- /dev/null +++ b/layout/reftests/forms/meter/values-vertical-rtl.html @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/values-vertical.html b/layout/reftests/forms/meter/values-vertical.html new file mode 100644 index 0000000000..a9c31bbdde --- /dev/null +++ b/layout/reftests/forms/meter/values-vertical.html @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/forms/meter/values.html b/layout/reftests/forms/meter/values.html new file mode 100644 index 0000000000..17ae900177 --- /dev/null +++ b/layout/reftests/forms/meter/values.html @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3