[wpt-sync] Sync PR 15464 - Export 2 WPT tests for intrinsic size of SVG images with CSS 'auto' size

RESOLVED FIXED in Firefox 67

Status

()

enhancement
P4
normal
RESOLVED FIXED
3 months ago
2 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla67
Points:
---

Firefox Tracking Flags

(firefox67 fixed)

Details

(Whiteboard: [wptsync downstream], )

Assignee

Description

3 months ago

Sync web-platform-tests PR 15464 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15464
Details from upstream follow.

Frédéric Wang <fwang@igalia.com> wrote:

Export 2 WPT tests for intrinsic size of SVG images with CSS 'auto' size

The following changes are made:

  • Add spec documentation
  • Update link to harness JS files.
  • Remove trailing whitespace to pass WPT check.
  • Use green-256x256.png as a test image and update metrics accordingly.

Bug: 493681
Change-Id: I5e7ebac00d4d4401bfec7780ee40f853ee4fdbb4
Reviewed-on: https://chromium-review.googlesource.com/1477703
WPT-Export-Revision: 1969f54ab428cf76cb834bada3434f1f04e5e181

Assignee

Updated

3 months ago
Component: web-platform-tests → SVG
Product: Testing → Core
Assignee

Comment 4

3 months ago
Ran 2 tests and 31 subtests
OK     : 2
PASS   : 6
FAIL   : 25

New tests that have failures or other problems:
/svg/geometry/svg-image-intrinsic-size-with-cssstyle-auto-dynamic-image-change.html
    Test <svg:image>'s sizing with css size as auto, with dynamic image change: FAIL
/svg/geometry/svg-image-intrinsic-size-with-cssstyle-auto.html
    <svg:image> 'auto' sizing with 200x100 svg image viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'height:auto': FAIL
    <svg:image> 'auto' sizing with 200x100 svg image viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'width:auto': FAIL
    <svg:image> 'auto' sizing with 200x100 svg image viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'width:auto; height:auto': FAIL
    <svg:image> 'auto' sizing with 200x100 svg image, attributes height='50' and 'width:auto': FAIL
    <svg:image> 'auto' sizing with 200x100 svg image, attributes width='50' and CSS height:auto: FAIL
    <svg:image> 'auto' sizing with 200x100 svg image, attributes width='50' height='50' and CSS 'width:auto': FAIL
    <svg:image> 'auto' sizing with 200x100 svg image, attributes width='50' height='50' and CSS 'width:auto; height:auto': FAIL
    <svg:image> 'auto' sizing with 200x100 svg image, without attributes width and height and CSS 'width:auto': FAIL
    <svg:image> 'auto' sizing with 256x256 png image, attributes width='128' height='64' and CSS 'width:auto': FAIL
    <svg:image> 'auto' sizing with 256x256 png image, attributes width='64' height='128' and CSS 'height:auto': FAIL
    <svg:image> 'auto' sizing with 256x256 png image, attributes width='64' height='64' and CSS 'width:auto; height:auto': FAIL
    <svg:image> 'auto' sizing with default sized svg image viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'height:auto': FAIL
    <svg:image> 'auto' sizing with default sized svg image viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'width:auto': FAIL
    <svg:image> 'auto' sizing with default sized svg image viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'width:auto; height:auto': FAIL
    <svg:image> 'auto' sizing with default sized svg image, attributes height='200' and CSS 'width:auto; height:auto': FAIL
    <svg:image> 'auto' sizing with default sized svg image, attributes width='200' and CSS 'width:auto; height:auto': FAIL
    <svg:image> 'auto' sizing with default sized svg image, attributes width='200' height='200' and CSS 'width:auto; height:auto': FAIL
    <svg:image> 'auto' sizing with default sized svg image, without attributes width and height, no css width/height specified: FAIL
    <svg:image> 'auto' sizing with svg image height='100' viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'height:auto': FAIL
    <svg:image> 'auto' sizing with svg image height='100' viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'width:auto': FAIL
    <svg:image> 'auto' sizing with svg image height='100' viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'width:auto; height:auto': FAIL
    <svg:image> 'auto' sizing with svg image width='200' viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'height:auto': FAIL
    <svg:image> 'auto' sizing with svg image width='200' viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'width:auto': FAIL
    <svg:image> 'auto' sizing with svg image width='200' viewBox='0 0 400 100', attributes width='60' height='60' and CSS 'width:auto; height:auto': FAIL

Comment 5

2 months ago
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/51f209d730ca
[wpt PR 15464] - Export 2 WPT tests for intrinsic size of SVG images with CSS 'auto' size, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/869b8f43a793
[wpt PR 15464] - Update wpt metadata, a=testonly

Comment 6

2 months ago
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/03144d45d71a
[wpt PR 15464] - Export 2 WPT tests for intrinsic size of SVG images with CSS 'auto' size, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/db896ec3c023
[wpt PR 15464] - Update wpt metadata, a=testonly

Comment 7

2 months ago
bugherder
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.