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

Unified 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, 9 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLImageElement/image-natural-width-height-svg-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-natural-width-height-svg-expected.txt b/LayoutTests/fast/dom/HTMLImageElement/image-natural-width-height-svg-expected.txt
index 4601614b4002f234f801cd4699911afc7686d562..d5493583b0138fe8af8d8a2d376a579e5c0c0cad 100644
--- a/LayoutTests/fast/dom/HTMLImageElement/image-natural-width-height-svg-expected.txt
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-natural-width-height-svg-expected.txt
@@ -4,7 +4,7 @@ PASS naturalWidth/Height of SVG in <img>, width/height in pixels
FAIL naturalWidth/Height of SVG in <img>, width in pixels; height unspecified assert_equals: expected "500x0" but got "300x150"
FAIL naturalWidth/Height of SVG in <img>, width in pixels; percentage height assert_equals: expected "500x0" but got "300x150"
PASS naturalWidth/Height of SVG in <img>, width/height in pixels; viewBox
-FAIL naturalWidth/Height of SVG in <img>, width/height unspecified; viewBox assert_equals: expected "0x0" but got "300x150"
+FAIL naturalWidth/Height of SVG in <img>, width/height unspecified; viewBox assert_equals: expected "0x0" but got "800x600"
FAIL naturalWidth/Height of SVG in <img>, width in pixels; height unspecified; viewBox assert_equals: expected "400x0" but got "400x300"
Harness: the test ran to completion.
« 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