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

Unified Diff: Source/core/css/CSSStyleSheet.cpp

Issue 19555002: Translate viewport related meta tags into @viewport descriptors as suggested by the CSS Device Adap… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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: Source/core/css/CSSStyleSheet.cpp
diff --git a/Source/core/css/CSSStyleSheet.cpp b/Source/core/css/CSSStyleSheet.cpp
index 6a3ed58134b4f6e388ef92079670f5b72016a4db..f5df9d8dece74e6686bc5bc2223aaa9cecdf751f 100644
--- a/Source/core/css/CSSStyleSheet.cpp
+++ b/Source/core/css/CSSStyleSheet.cpp
@@ -64,6 +64,7 @@ static bool isAcceptableCSSStyleSheetParent(Node* parentNode)
|| parentNode->hasTagName(HTMLNames::linkTag)
|| parentNode->hasTagName(HTMLNames::styleTag)
|| parentNode->hasTagName(SVGNames::styleTag)
+ || parentNode->hasTagName(HTMLNames::metaTag)
|| parentNode->nodeType() == Node::PROCESSING_INSTRUCTION_NODE;
}
#endif

Powered by Google App Engine
This is Rietveld 408576698