summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/syntax/parsing/foreign_content_011.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/syntax/parsing/foreign_content_011.html')
-rw-r--r--testing/web-platform/tests/html/syntax/parsing/foreign_content_011.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/syntax/parsing/foreign_content_011.html b/testing/web-platform/tests/html/syntax/parsing/foreign_content_011.html
new file mode 100644
index 0000000000..a8a9d7a1b6
--- /dev/null
+++ b/testing/web-platform/tests/html/syntax/parsing/foreign_content_011.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>HTML 5 Foreign Content SVG in HTML </title>
+ <meta description="Test to verify SVG elements are styled using ID Selector" />
+ <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
+
+ <style>
+ #d1
+ {
+ fill: green;
+ }
+ </style>
+ </head>
+
+ <body>
+ <div class="testdata">
+ <p id="instructions">Test passes if a green square is visible below this line.</p>
+ </div>
+ <div id="d1">
+ <svg width="100px" height="100px">
+ <rect width="100px" height="100px" />
+ </svg>
+ </div>
+ </body>
+</html> \ No newline at end of file