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

Unified Diff: Source/core/svg/SVGPreserveAspectRatio.cpp

Issue 1224263002: Remove 'defer' KeyWord from preserveAspectRatio (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Align with review comments Created 5 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
« no previous file with comments | « LayoutTests/svg/dom/preserve-aspect-ratio-parser-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPreserveAspectRatio.cpp
diff --git a/Source/core/svg/SVGPreserveAspectRatio.cpp b/Source/core/svg/SVGPreserveAspectRatio.cpp
index 91e08b1c73ac831c8019c19e1cbb1771a5197964..063f20c325f275817a7cb2ee7a8b78e6b49198aa 100644
--- a/Source/core/svg/SVGPreserveAspectRatio.cpp
+++ b/Source/core/svg/SVGPreserveAspectRatio.cpp
@@ -66,18 +66,6 @@ bool SVGPreserveAspectRatio::parseInternal(const CharType*& ptr, const CharType*
if (!skipOptionalSVGSpaces(ptr, end))
return false;
- if (*ptr == 'd') {
- if (!skipString(ptr, end, "defer"))
- return false;
-
- // FIXME: We just ignore the "defer" here.
- if (ptr == end)
- return true;
-
- if (!skipOptionalSVGSpaces(ptr, end))
- return false;
- }
-
if (*ptr == 'n') {
if (!skipString(ptr, end, "none"))
return false;
« no previous file with comments | « LayoutTests/svg/dom/preserve-aspect-ratio-parser-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698