Chromium Code Reviews

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.
Jump to:
View side-by-side diff with in-line comments
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