From 93f4ff89185116389cfcad92143b43c178542e4a Mon Sep 17 00:00:00 2001 From: Mukilan Thiyagarajan Date: Sun, 11 May 2025 10:41:19 +0530 Subject: [PATCH] update expectations for tests using SVG's natural dimensions /html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight.html The two failures are the cases where the SVG's root element doesn't have an explicit width & height. The issue is related to how resvg handles such cases - we rely on resvg to provide the natural dimensions as the 'viewbox', 'width' and 'height' are not directly exposed in the parsed tree. resvg internally defaults to a width/height of 100x100 (can be overriden via usvg::Options, but doesn't have any effect if viewBox is not present). It is worth noting that all major browsers fail these cases. https://wpt.fyi/results/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight.html?label=experimental&label=master&aligned /css/css-flexbox/align-items-007.html /html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-auto.html /html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-fixed.html /html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-percentage.html The failures are related to the issue explained above. In particular, we are currently not distinguing the case where viewBox is present but width, height are not. As resvg doesn't expose that, we use the viewbox values as natural dimentions rather than treating them as absent. /css/css-backgrounds/background-size/vector/tall--contain--height.html Similar to the above the cases this is related to resvg and lack of distinction between SVGs with explicit height & weight. This test has an SVG with 'width' of 8px but only percentage 'height'. resvg takes the missing height from viewbox (1px), so we render this as if the SVG had an intrinsic dimensions of 8x1, scaled by the container's width, but the test expects that the SVG is treated as no natural dimensions. Chrome, Edge and Safari fail this test. https://wpt.fyi/results/css/css-backgrounds/background-size/vector/tall--contain--height.html?label=experimental&label=master&aligned /css/css-backgrounds/background-size/vector/tall--contain--width.html Same reason as above, except with width missing instead of height. Firefox and Safari fail this test. /css/css-backgrounds/background-size/vector/wide--contain--height.html /css/css-backgrounds/background-size/vector/wide--contain--width.html Same reason as the two 'tall--contain--' tests above. /css/css-backgrounds/background-size/vector/zero-height-ratio-5px-auto.html.ini /css/css-backgrounds/background-size/vector/zero-height-ratio-auto-auto.html.ini /css/css-backgrounds/background-size/vector/zero-height-ratio-contain.html.ini /css/css-backgrounds/background-size/vector/zero-height-ratio-cover.html.ini /css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-5px-auto.html.ini /css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-5px.html.ini /css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-auto.html.ini /css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-contain.html.ini /css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-cover.html.ini /css/css-backgrounds/background-size/vector/zero-width-ratio-5px-auto.html.ini /css/css-backgrounds/background-size/vector/zero-width-ratio-auto-auto.html.ini /css/css-backgrounds/background-size/vector/zero-width-ratio-contain.html.ini /css/css-backgrounds/background-size/vector/zero-width-ratio-cover.html.ini All these tests assert that an SVG with no height specified and a zero-ratio in the viewBox (either last or second to last component is zero) is not rendered. Since resvg defaults the height and width to 100px, we are not able to distinguish this case. Signed-off-by: Mukilan Thiyagarajan --- .../vector/tall--contain--height.html.ini | 2 + .../vector/tall--contain--width.html.ini | 2 + .../vector/wide--contain--height.html.ini | 2 + .../vector/wide--contain--width.html.ini | 2 + .../zero-height-ratio-5px-auto.html.ini | 2 + .../zero-height-ratio-auto-auto.html.ini | 2 + .../vector/zero-height-ratio-contain.html.ini | 2 + .../vector/zero-height-ratio-cover.html.ini | 2 + ...zero-ratio-no-dimensions-5px-auto.html.ini | 2 + ...zero-ratio-no-dimensions-auto-5px.html.ini | 2 + ...ero-ratio-no-dimensions-auto-auto.html.ini | 2 + .../zero-ratio-no-dimensions-contain.html.ini | 2 + .../zero-ratio-no-dimensions-cover.html.ini | 2 + .../vector/zero-width-ratio-5px-auto.html.ini | 2 + .../zero-width-ratio-auto-auto.html.ini | 2 + .../vector/zero-width-ratio-contain.html.ini | 2 + .../vector/zero-width-ratio-cover.html.ini | 2 + .../css/css-flexbox/align-items-007.html.ini | 2 + .../svg-in-img-auto.html.ini | 480 +++++++++++++++++- .../svg-in-img-fixed.html.ini | 144 +++++- .../svg-in-img-percentage.html.ini | 318 +++++++++++- .../naturalWidth-naturalHeight.html.ini | 12 +- 22 files changed, 978 insertions(+), 12 deletions(-) create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/tall--contain--height.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/tall--contain--width.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/wide--contain--height.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/wide--contain--width.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-5px-auto.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-auto-auto.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-contain.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-cover.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-5px-auto.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-5px.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-auto.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-contain.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-cover.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-5px-auto.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-auto-auto.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-contain.html.ini create mode 100644 tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-cover.html.ini create mode 100644 tests/wpt/meta/css/css-flexbox/align-items-007.html.ini diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/tall--contain--height.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/tall--contain--height.html.ini new file mode 100644 index 00000000000..ee3dd441146 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/tall--contain--height.html.ini @@ -0,0 +1,2 @@ +[tall--contain--height.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/tall--contain--width.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/tall--contain--width.html.ini new file mode 100644 index 00000000000..59ce1c92120 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/tall--contain--width.html.ini @@ -0,0 +1,2 @@ +[tall--contain--width.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/wide--contain--height.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/wide--contain--height.html.ini new file mode 100644 index 00000000000..cfc1b7132a6 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/wide--contain--height.html.ini @@ -0,0 +1,2 @@ +[wide--contain--height.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/wide--contain--width.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/wide--contain--width.html.ini new file mode 100644 index 00000000000..560c044745c --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/wide--contain--width.html.ini @@ -0,0 +1,2 @@ +[wide--contain--width.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-5px-auto.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-5px-auto.html.ini new file mode 100644 index 00000000000..d1547f2060b --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-5px-auto.html.ini @@ -0,0 +1,2 @@ +[zero-height-ratio-5px-auto.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-auto-auto.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-auto-auto.html.ini new file mode 100644 index 00000000000..181bf17c0a6 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-auto-auto.html.ini @@ -0,0 +1,2 @@ +[zero-height-ratio-auto-auto.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-contain.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-contain.html.ini new file mode 100644 index 00000000000..8b018e97a3c --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-contain.html.ini @@ -0,0 +1,2 @@ +[zero-height-ratio-contain.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-cover.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-cover.html.ini new file mode 100644 index 00000000000..b9c9d8bc8fc --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-height-ratio-cover.html.ini @@ -0,0 +1,2 @@ +[zero-height-ratio-cover.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-5px-auto.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-5px-auto.html.ini new file mode 100644 index 00000000000..deb79b98576 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-5px-auto.html.ini @@ -0,0 +1,2 @@ +[zero-ratio-no-dimensions-5px-auto.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-5px.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-5px.html.ini new file mode 100644 index 00000000000..e9ac9bf1876 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-5px.html.ini @@ -0,0 +1,2 @@ +[zero-ratio-no-dimensions-auto-5px.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-auto.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-auto.html.ini new file mode 100644 index 00000000000..e3d5059e13a --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-auto-auto.html.ini @@ -0,0 +1,2 @@ +[zero-ratio-no-dimensions-auto-auto.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-contain.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-contain.html.ini new file mode 100644 index 00000000000..8d68d5f568f --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-contain.html.ini @@ -0,0 +1,2 @@ +[zero-ratio-no-dimensions-contain.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-cover.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-cover.html.ini new file mode 100644 index 00000000000..f7e9d3f7106 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-ratio-no-dimensions-cover.html.ini @@ -0,0 +1,2 @@ +[zero-ratio-no-dimensions-cover.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-5px-auto.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-5px-auto.html.ini new file mode 100644 index 00000000000..7b99f03bf5d --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-5px-auto.html.ini @@ -0,0 +1,2 @@ +[zero-width-ratio-5px-auto.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-auto-auto.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-auto-auto.html.ini new file mode 100644 index 00000000000..fd312049411 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-auto-auto.html.ini @@ -0,0 +1,2 @@ +[zero-width-ratio-auto-auto.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-contain.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-contain.html.ini new file mode 100644 index 00000000000..0a355d02658 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-contain.html.ini @@ -0,0 +1,2 @@ +[zero-width-ratio-contain.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-cover.html.ini b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-cover.html.ini new file mode 100644 index 00000000000..6907bd7cac1 --- /dev/null +++ b/tests/wpt/meta/css/css-backgrounds/background-size/vector/zero-width-ratio-cover.html.ini @@ -0,0 +1,2 @@ +[zero-width-ratio-cover.html] + expected: FAIL diff --git a/tests/wpt/meta/css/css-flexbox/align-items-007.html.ini b/tests/wpt/meta/css/css-flexbox/align-items-007.html.ini new file mode 100644 index 00000000000..a388ddefc5e --- /dev/null +++ b/tests/wpt/meta/css/css-flexbox/align-items-007.html.ini @@ -0,0 +1,2 @@ +[align-items-007.html] + expected: FAIL diff --git a/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-auto.html.ini b/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-auto.html.ini index 116047b30c5..c2fa0e6546a 100644 --- a/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-auto.html.ini +++ b/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-auto.html.ini @@ -1,4 +1,480 @@ [svg-in-img-auto.html] - expected: TIMEOUT [placeholder: 'img', ] - expected: TIMEOUT + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', ] + expected: FAIL + + [placeholder: 'img', svgViewBoxAttr: '0 0 100 200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgViewBoxAttr: '0 0 100 200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', ] + expected: FAIL + + [placeholder: 'img', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '100', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderWidthAttr: '50%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL diff --git a/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-fixed.html.ini b/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-fixed.html.ini index ff7c30a066e..99cd9263863 100644 --- a/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-fixed.html.ini +++ b/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-fixed.html.ini @@ -1,4 +1,144 @@ [svg-in-img-fixed.html] - expected: TIMEOUT [placeholder: 'img', placeholderHeightAttr: '100px', ] - expected: TIMEOUT + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100px', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL diff --git a/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-percentage.html.ini b/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-percentage.html.ini index 25c386c108b..076e60360af 100644 --- a/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-percentage.html.ini +++ b/tests/wpt/meta/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-img-percentage.html.ini @@ -1,4 +1,318 @@ [svg-in-img-percentage.html] - expected: TIMEOUT [placeholder: 'img', placeholderHeightAttr: '100%', ] - expected: TIMEOUT + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '200', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '200', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', containerHeightStyle: '400px', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '100', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderWidthAttr: '50%', placeholderHeightAttr: '100%', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL + + [placeholder: 'img', containerWidthStyle: '400px', placeholderHeightAttr: '100%', svgViewBoxAttr: '0 0 100 200', svgWidthAttr: '25%', svgHeightAttr: '25%', ] + expected: FAIL diff --git a/tests/wpt/meta/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight.html.ini b/tests/wpt/meta/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight.html.ini index e695ee932f6..24b19c109ab 100644 --- a/tests/wpt/meta/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight.html.ini +++ b/tests/wpt/meta/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight.html.ini @@ -1,18 +1,18 @@ [naturalWidth-naturalHeight.html] - [HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width/height in pixels] - expected: FAIL - [HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width in pixels; height unspecified] expected: FAIL [HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width in pixels; percentage height] expected: FAIL - [HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width/height in pixels; viewBox] - expected: FAIL - [HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width in pixels; height unspecified; viewBox] expected: FAIL [HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width unspecified; height in pixels; viewBox] expected: FAIL + + [HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, no natural dimensions] + expected: FAIL + + [HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width/height unspecified; viewBox] + expected: FAIL