From 3d4aa46bcf4cecde2b5fa239b0ace5c6280b43b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 13 Apr 2016 04:41:30 +0200 Subject: [PATCH] layout: tests: Add tests for max/min inline block size And update existing expectations --- .../css21_dev/html4/max-width-110.htm.ini | 3 - tests/wpt/mozilla/meta/MANIFEST.json | 96 ++++++++++++++++++ tests/wpt/mozilla/tests/css/250x250_green.png | Bin 0 -> 628 bytes .../tests/css/max_inline_block_size.html | 21 ++++ .../css/max_inline_block_size_canvas.html | 24 +++++ .../css/max_inline_block_size_image.html | 18 ++++ .../tests/css/max_inline_block_size_ref.html | 20 ++++ 7 files changed, 179 insertions(+), 3 deletions(-) delete mode 100644 tests/wpt/metadata-css/css21_dev/html4/max-width-110.htm.ini create mode 100644 tests/wpt/mozilla/tests/css/250x250_green.png create mode 100644 tests/wpt/mozilla/tests/css/max_inline_block_size.html create mode 100644 tests/wpt/mozilla/tests/css/max_inline_block_size_canvas.html create mode 100644 tests/wpt/mozilla/tests/css/max_inline_block_size_image.html create mode 100644 tests/wpt/mozilla/tests/css/max_inline_block_size_ref.html diff --git a/tests/wpt/metadata-css/css21_dev/html4/max-width-110.htm.ini b/tests/wpt/metadata-css/css21_dev/html4/max-width-110.htm.ini deleted file mode 100644 index bbc6b87885f..00000000000 --- a/tests/wpt/metadata-css/css21_dev/html4/max-width-110.htm.ini +++ /dev/null @@ -1,3 +0,0 @@ -[max-width-110.htm] - type: reftest - expected: FAIL diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index 25c5cd18688..df6a6e7ad41 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -3179,6 +3179,54 @@ "url": "/_mozilla/css/marker_block_direction_placement_a.html" } ], + "css/max_inline_block_size.html": [ + { + "path": "css/max_inline_block_size.html", + "references": [ + [ + "/_mozilla/css/max_inline_block_size_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/max_inline_block_size.html" + } + ], + "css/max_inline_block_size_canvas.html": [ + { + "path": "css/max_inline_block_size_canvas.html", + "references": [ + [ + "/_mozilla/css/max_inline_block_size_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/max_inline_block_size_canvas.html" + } + ], + "css/max_inline_block_size_image.html": [ + { + "path": "css/max_inline_block_size_image.html", + "references": [ + [ + "/_mozilla/css/max_inline_block_size_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/max_inline_block_size_image.html" + } + ], + "css/max_inline_block_size_ref.html": [ + { + "path": "css/max_inline_block_size_ref.html", + "references": [ + [ + "/_mozilla/css/max_inline_block_size_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/max_inline_block_size_ref.html" + } + ], "css/max_width_float_simple_a.html": [ { "path": "css/max_width_float_simple_a.html", @@ -9709,6 +9757,54 @@ "url": "/_mozilla/css/marker_block_direction_placement_a.html" } ], + "css/max_inline_block_size.html": [ + { + "path": "css/max_inline_block_size.html", + "references": [ + [ + "/_mozilla/css/max_inline_block_size_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/max_inline_block_size.html" + } + ], + "css/max_inline_block_size_canvas.html": [ + { + "path": "css/max_inline_block_size_canvas.html", + "references": [ + [ + "/_mozilla/css/max_inline_block_size_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/max_inline_block_size_canvas.html" + } + ], + "css/max_inline_block_size_image.html": [ + { + "path": "css/max_inline_block_size_image.html", + "references": [ + [ + "/_mozilla/css/max_inline_block_size_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/max_inline_block_size_image.html" + } + ], + "css/max_inline_block_size_ref.html": [ + { + "path": "css/max_inline_block_size_ref.html", + "references": [ + [ + "/_mozilla/css/max_inline_block_size_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/max_inline_block_size_ref.html" + } + ], "css/max_width_float_simple_a.html": [ { "path": "css/max_width_float_simple_a.html", diff --git a/tests/wpt/mozilla/tests/css/250x250_green.png b/tests/wpt/mozilla/tests/css/250x250_green.png new file mode 100644 index 0000000000000000000000000000000000000000..586ef3d69d6b868dc4adc83f4e0a1f15e477d9b6 GIT binary patch literal 628 zcmeAS@N?(olHy`uVBq!ia0vp^zd)FS2}rW{oy`JLoCO|{#S9GG!XV7ZFl&wkNUp@w z*OmPN3onzZfcCE2mw-aDnIRD+&iT2ysd*(pE(3#eQEFmIYKlU6W=V#EyQgnJie4%^ z0|VnLPZ!6Kid%0lG4e7na2(#yTz~!na}?)kE#Znqst4XBly9)UA^V1}jD2_W-Gg8* z5)&@75nT~brVpwft_Y+Z#U!{4McR`wop?hQ?pnAVxNIj{JBms0P@zcsabm;w;5%%# e6RjN-zIl=FTA4oEg);epl7pwKpUXO@geCxbQzR1r literal 0 HcmV?d00001 diff --git a/tests/wpt/mozilla/tests/css/max_inline_block_size.html b/tests/wpt/mozilla/tests/css/max_inline_block_size.html new file mode 100644 index 00000000000..f0f23893143 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/max_inline_block_size.html @@ -0,0 +1,21 @@ + + +Max inline-block size inside another inline-block element + + +
diff --git a/tests/wpt/mozilla/tests/css/max_inline_block_size_canvas.html b/tests/wpt/mozilla/tests/css/max_inline_block_size_canvas.html new file mode 100644 index 00000000000..48cd896a2b7 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/max_inline_block_size_canvas.html @@ -0,0 +1,24 @@ + + +Max inline-block size inside another inline-block element + + +
+ diff --git a/tests/wpt/mozilla/tests/css/max_inline_block_size_image.html b/tests/wpt/mozilla/tests/css/max_inline_block_size_image.html new file mode 100644 index 00000000000..283bbd43256 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/max_inline_block_size_image.html @@ -0,0 +1,18 @@ + + +Max inline-block size inside another inline-block element + + +
diff --git a/tests/wpt/mozilla/tests/css/max_inline_block_size_ref.html b/tests/wpt/mozilla/tests/css/max_inline_block_size_ref.html new file mode 100644 index 00000000000..7fa1370faf7 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/max_inline_block_size_ref.html @@ -0,0 +1,20 @@ + + +Max inline-block size inside another inline-block element + + +