summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/syntax/parsing/foreign_content_011.html
blob: a8a9d7a1b6147a18555d598f2bfb3de039aacb2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>