update expectations for new failures exposed due to SVG support

Most of these tests used to pass as both reference and test used SVG.
Now that these images are rendered correctly, this exposes new failures
in related to other CSS properties. There are some exceptions which are
given below:

/css/css-content/element-replacement-image-alt.html
  Here, the test fails even when using a png image in `content: url()`
  so the failure is related to our support for `content`.

/css/filter-effects/svg-image-root-filter.html
/css/css-flexbox/aspect-ratio-intrinsic-size-007.html
  Here, the test renders correctly, but the reference uses inline svg
  which we don't support.

/css/css-lists/list-style-image-gradients-dynamic.html
/css/css-lists/list-style-image-gradients.html
  Here, the test page doesn't use svg, but it is rendered incorrectly as we don't support
  gradients in list-style-image. However, the reference is also broken
  as it uses svg without intrinsic dimensions.

/css/css-images/svg-script-is-ignored.html
  Here, the reference uses inline SVG, so its blank. However, the test
  page also renders incorrectly as `foreingObject` is not rendered by
  resvg.

/css/css-images/cross-fade-natural-size.html
  Here, the test page doesn't render correctly due to the use of
  `content: cross-fade(..)`. However, the SVG in the reference is also
  not rendered correctly as resvg doesn't seem to take into account
  the style on the root svg element.

/html/canvas/offscreen/layers/2d.layer.global-states.filter.ctx-filter.no-transform.tentative.html
/html/canvas/offscreen/layers/2d.layer.global-states.filter.ctx-filter.rotation.tentative.html
/html/canvas/offscreen/layers/2d.layer.global-states.filter.no-cxt-filter.no-transform.tentative.html
/html/canvas/offscreen/layers/2d.layer.global-states.filter.no-cxt-filter.rotation.tentative.html
  Here, the tests themselves fail with the JS error ` ctx.beginLayer is
  not a function`. However, the reference is also not correct as it uses
  svg image as a source for `ctx.drawImage` with is not supported yet.

/html/canvas/element/manual/wide-gamut-canvas/canvas-display-p3-drawImage.https.html
  Here, the now failing subtests all used to simply timeout previously. Now
  they fail as we don't support SVG images as sources in `drawImage`.

/html/canvas/element/manual/imagebitmap/canvas-createImageBitmap-resize.html
  Here, the now failing subtest all used to simply timeout previously. Now
  it fails as we don't support SVG images as sources in
  `createImageBitmap`.

/html/canvas/element/manual/drawing-images-to-the-canvas/drawimage_svg_image_with_foreign_object_does_not_taint.html
  Here, the subtest used to timeout but now fails as we don't support
  SVG images as a source for drawImage. The assertion about canvas not
  being tainted doesn't run due to be drawImage call throwing an
  exception.


Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
Mukilan Thiyagarajan 2025-05-11 11:50:32 +05:30 committed by Martin Robinson
parent 93f4ff8918
commit 8b047e7e3e
26 changed files with 82 additions and 40 deletions

View file

@ -0,0 +1,2 @@
[root-element-background-image-transparency-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[root-element-background-image-transparency-002.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[root-element-background-image-transparency-003.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[root-element-background-image-transparency-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[element-replacement-image-alt.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[aspect-ratio-intrinsic-size-007.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[cross-fade-natural-size.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[object-view-box-fit-contain-svg.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[object-view-box-fit-cover-svg.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[object-view-box-fit-none-svg.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[object-view-box-writing-mode-svg.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[svg-script-is-ignored.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[list-style-image-gradients-dynamic.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[list-style-image-gradients.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[overflow-img-svg.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[transform-fixed-bg-006.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[transform-fixed-bg-007.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[transform-fixed-bg-008.tentative.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[svg-image-root-filter.html]
expected: FAIL

View file

@ -1,5 +1,3 @@
[drawimage_svg_image_with_foreign_object_does_not_taint.html]
expected: TIMEOUT
[Canvas should not be tainted after drawing SVG including <foreignObject>]
expected: TIMEOUT
expected: FAIL

View file

@ -1,7 +1,6 @@
[canvas-createImageBitmap-resize.html]
expected: TIMEOUT
[createImageBitmap from an ImageData with resize option.]
expected: NOTRUN
expected: FAIL
[createImageBitmap from a HTMLImageElement with resize option.]
expected: FAIL
@ -10,10 +9,10 @@
expected: FAIL
[createImageBitmap from an ImageBitmap with resize option.]
expected: NOTRUN
expected: FAIL
[createImageBitmap from a Blob with resize option.]
expected: FAIL
[createImageBitmap from a HTMLImageElement of svg with no specified size with resize option.]
expected: TIMEOUT
expected: FAIL

View file

@ -1,5 +1,4 @@
[canvas-display-p3-drawImage.https.html]
expected: TIMEOUT
[sRGB-FF0000FF.png, Context srgb, ImageData display-p3, scaleImage=false]
expected: FAIL
@ -409,97 +408,97 @@
expected: FAIL
[sRGB-FF0000.svg, Context srgb, ImageData srgb, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[sRGB-FF0000.svg, Context srgb, ImageData srgb, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[sRGB-FF0000.svg, Context srgb, ImageData display-p3, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[sRGB-FF0000.svg, Context srgb, ImageData display-p3, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[sRGB-FF0000.svg, Context display-p3, ImageData srgb, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[sRGB-FF0000.svg, Context display-p3, ImageData srgb, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[sRGB-FF0000.svg, Context display-p3, ImageData display-p3, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[sRGB-FF0000.svg, Context display-p3, ImageData display-p3, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[sRGB-BB0000.svg, Context srgb, ImageData srgb, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[sRGB-BB0000.svg, Context srgb, ImageData srgb, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[sRGB-BB0000.svg, Context srgb, ImageData display-p3, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[sRGB-BB0000.svg, Context srgb, ImageData display-p3, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[sRGB-BB0000.svg, Context display-p3, ImageData srgb, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[sRGB-BB0000.svg, Context display-p3, ImageData srgb, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[sRGB-BB0000.svg, Context display-p3, ImageData display-p3, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[sRGB-BB0000.svg, Context display-p3, ImageData display-p3, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[Display-P3-1-0-0.svg, Context srgb, ImageData srgb, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[Display-P3-1-0-0.svg, Context srgb, ImageData srgb, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[Display-P3-1-0-0.svg, Context srgb, ImageData display-p3, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[Display-P3-1-0-0.svg, Context srgb, ImageData display-p3, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[Display-P3-1-0-0.svg, Context display-p3, ImageData srgb, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[Display-P3-1-0-0.svg, Context display-p3, ImageData srgb, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[Display-P3-1-0-0.svg, Context display-p3, ImageData display-p3, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[Display-P3-1-0-0.svg, Context display-p3, ImageData display-p3, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[Display-P3-0.7333-0-0.svg, Context srgb, ImageData srgb, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[Display-P3-0.7333-0-0.svg, Context srgb, ImageData srgb, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[Display-P3-0.7333-0-0.svg, Context srgb, ImageData display-p3, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[Display-P3-0.7333-0-0.svg, Context srgb, ImageData display-p3, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[Display-P3-0.7333-0-0.svg, Context display-p3, ImageData srgb, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[Display-P3-0.7333-0-0.svg, Context display-p3, ImageData srgb, scaleImage=true]
expected: TIMEOUT
expected: FAIL
[Display-P3-0.7333-0-0.svg, Context display-p3, ImageData display-p3, scaleImage=false]
expected: TIMEOUT
expected: FAIL
[Display-P3-0.7333-0-0.svg, Context display-p3, ImageData display-p3, scaleImage=true]
expected: TIMEOUT
expected: FAIL

View file

@ -0,0 +1,2 @@
[2d.layer.global-states.filter.ctx-filter.no-transform.tentative.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[2d.layer.global-states.filter.ctx-filter.rotation.tentative.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[2d.layer.global-states.filter.no-cxt-filter.no-transform.tentative.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[2d.layer.global-states.filter.no-cxt-filter.rotation.tentative.html]
expected: FAIL