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

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: 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..74e454f888009a221117484b08034d8954428e1b
--- /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: naturalWidth expected 500 but got 300
+FAIL naturalWidth/Height of SVG in <img>, width in pixels; percentage height assert_equals: naturalWidth expected 500 but got 300
+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: naturalWidth expected 0 but got 300
+FAIL naturalWidth/Height of SVG in <img>, width in pixels; height unspecified; viewBox assert_equals: naturalHeight expected 0 but got 300
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698