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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/svg-image-par-none-no-intrinsic-size-expected.html

Issue 1720853002: Remove Image::computeIntrinsicDimensions() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-and-use-updateconcretesize-upload
Patch Set: Avoid using the size of the error image. Null-check in ImageResource saved the day in previous patc… Created 4 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
Index: third_party/WebKit/LayoutTests/svg/custom/svg-image-par-none-no-intrinsic-size-expected.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/svg-image-par-none-no-intrinsic-size-expected.html b/third_party/WebKit/LayoutTests/svg/custom/svg-image-par-none-no-intrinsic-size-expected.html
index 57755c42b9eec9f2e577beb3cf2bb8aad6021ea0..6e5bd58af031ab9e406460d5fda149c78398b0d2 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/svg-image-par-none-no-intrinsic-size-expected.html
+++ b/third_party/WebKit/LayoutTests/svg/custom/svg-image-par-none-no-intrinsic-size-expected.html
@@ -1,2 +1,5 @@
<!DOCTYPE html>
-<div style="width: 100px; height: 200px; background-color: green"></div>
+<div style="display: inline-block; width: 100px; height: 200px; background-color: green"></div>
+<svg width="100" height="200" preserveAspectRatio="none" viewBox="0 0 100 100">
+ <circle r="50" cx="50" cy="50" fill="green"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698