Index: LayoutTests/imported/web-platform-tests/html/semantics/document-metadata/the-style-element/html_style_in_comment.xhtml |
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/document-metadata/the-style-element/html_style_in_comment.xhtml b/LayoutTests/imported/web-platform-tests/html/semantics/document-metadata/the-style-element/html_style_in_comment.xhtml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..839548f01cf0283607d35bedfe4d9dfb25320982 |
--- /dev/null |
+++ b/LayoutTests/imported/web-platform-tests/html/semantics/document-metadata/the-style-element/html_style_in_comment.xhtml |
@@ -0,0 +1,18 @@ |
+<html xmlns="http://www.w3.org/1999/xhtml"> |
+<head> |
+<link rel="match" href="html_style_in_comment-ref.html"/> |
+<style type="text/css"> |
+h4 {color: green} |
+<!-- |
+h4 {color: red} |
+--> |
+</style> |
+</head> |
+<body> |
+<p> This page tests that Style written inside HTML comment is not applied</p> |
+This test passes if the text below is <b>Green. NOT Red.</b> |
+<h4> |
+This is some text. |
+</h4> |
+</body> |
+</html> |