layout/reftests/w3c-css/received/css3-namespace/syntax-003.xml

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2  <head>
     3   <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/>
     4   <link rel="author" title="Opera Software ASA" href="http://opera.com/"/>
     5   <link rel="help" href="http://www.w3.org/TR/css3-namespace/#syntax"/>
     6   <link rel="match" href="reftest/ref-lime-5.xml"/>
     7   <title>CSS Namespaces Test Suite: @namespace default namespace syntax</title>
     8   <style>
     9    *|test { background:red }
    10   </style>
    11   <style>
    12    @namespace url(test-a);
    13    test { background:lime }
    14   </style>
    15   <style>
    16    @namespace url('test-b');
    17    test { background:lime }
    18   </style>
    19   <style>
    20    @namespace url("test-c");
    21    test { background:lime }
    22   </style>
    23   <style>
    24    @namespace 'test-d';
    25    test { background:lime }
    26   </style>
    27   <style>
    28    @namespace "test-e";
    29    test { background:lime }
    30   </style>
    31  </head>
    32  <body>
    33   <p><test xmlns="test-a">This sentence should have a green background.</test></p>
    34   <p><test xmlns="test-b">This sentence should have a green background.</test></p>
    35   <p><test xmlns="test-c">This sentence should have a green background.</test></p>
    36   <p><test xmlns="test-d">This sentence should have a green background.</test></p>
    37   <p><test xmlns="test-e">This sentence should have a green background.</test></p>
    38  </body>
    39 </html>

mercurial