Index: Source/core/html/HTMLMetaElement-in.cpp |
diff --git a/Source/core/html/HTMLMetaElement-in.cpp b/Source/core/html/HTMLMetaElement-in.cpp |
index c1715116dfce720ae8f764fff29f4737e072a856..00eb4dc73b691830815b16b12ebd112df2208617 100644 |
--- a/Source/core/html/HTMLMetaElement-in.cpp |
+++ b/Source/core/html/HTMLMetaElement-in.cpp |
@@ -333,6 +333,10 @@ void HTMLMetaElement::processViewportKeyValuePair(const String& keyString, const |
reportViewportWarning(TargetDensityDpiUnsupported, String(), String()); |
return; |
} |
+ CASE("minimal-ui") { |
+ // Ignore vendor-specific argument. |
+ return; |
+ } |
} |
reportViewportWarning(UnrecognizedViewportArgumentKeyError, keyString, String()); |
} |
@@ -355,11 +359,10 @@ static MessageLevel viewportErrorMessageLevel(ViewportErrorCode errorCode) |
switch (errorCode) { |
case TruncatedViewportArgumentValueError: |
case TargetDensityDpiUnsupported: |
- return WarningMessageLevel; |
case UnrecognizedViewportArgumentKeyError: |
case UnrecognizedViewportArgumentValueError: |
case MaximumScaleTooLargeError: |
- return ErrorMessageLevel; |
+ return WarningMessageLevel; |
} |
ASSERT_NOT_REACHED(); |