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

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

Issue 422503002: HTMLImageElement.natural{Width,Height} should return intrinsic dimensions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Two more spots... Created 6 years, 5 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
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
new file mode 100644
index 0000000000000000000000000000000000000000..4601614b4002f234f801cd4699911afc7686d562
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-natural-width-height-svg-expected.txt
@@ -0,0 +1,10 @@
+
+This is a testharness.js-based test.
+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 in pixels; height unspecified; viewBox assert_equals: expected "400x0" but got "400x300"
+Harness: the test ran to completion.
+
« no previous file with comments | « LayoutTests/fast/dom/HTMLImageElement/image-natural-width-height-svg.html ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698