Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: LayoutTests/fast/dom/HTMLImageElement/image-natural-width-height-svg-expected.txt

Issue 1019813002: Use viewBox for SVG image as intrinsic size when all else fails (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated test expectations and added TODOs Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/as-image/svg-as-image-object-fit-contain.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 This is a testharness.js-based test. 2 This is a testharness.js-based test.
3 PASS naturalWidth/Height of SVG in <img>, width/height in pixels 3 PASS naturalWidth/Height of SVG in <img>, width/height in pixels
4 FAIL naturalWidth/Height of SVG in <img>, width in pixels; height unspecified as sert_equals: expected "500x0" but got "300x150" 4 FAIL naturalWidth/Height of SVG in <img>, width in pixels; height unspecified as sert_equals: expected "500x0" but got "300x150"
5 FAIL naturalWidth/Height of SVG in <img>, width in pixels; percentage height ass ert_equals: expected "500x0" but got "300x150" 5 FAIL naturalWidth/Height of SVG in <img>, width in pixels; percentage height ass ert_equals: expected "500x0" but got "300x150"
6 PASS naturalWidth/Height of SVG in <img>, width/height in pixels; viewBox 6 PASS naturalWidth/Height of SVG in <img>, width/height in pixels; viewBox
7 FAIL naturalWidth/Height of SVG in <img>, width/height unspecified; viewBox asse rt_equals: expected "0x0" but got "300x150" 7 FAIL naturalWidth/Height of SVG in <img>, width/height unspecified; viewBox asse rt_equals: expected "0x0" but got "800x600"
8 FAIL naturalWidth/Height of SVG in <img>, width in pixels; height unspecified; v iewBox assert_equals: expected "400x0" but got "400x300" 8 FAIL naturalWidth/Height of SVG in <img>, width in pixels; height unspecified; v iewBox assert_equals: expected "400x0" but got "400x300"
9 Harness: the test ran to completion. 9 Harness: the test ran to completion.
10 10
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/as-image/svg-as-image-object-fit-contain.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698