layout/reftests/w3c-css/received/css3-namespace/syntax-008.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-2.xml"/>
     7   <title>CSS Namespaces Test Suite: escapes in prefix</title>
     8   <style>
     9    @namespace \72x url("test");
    10    t { background:red }
    11    r\78|t { background:lime }
    12   </style>
    13   <style>
    14    @namespace \032  url("test"); /* two spaces, see CSS 2.1, 4.1.3 */
    15    t2 { background:red }
    16    \32|t2 { background:lime }
    17   </style>
    18  </head>
    19  <body>
    20   <p><t xmlns="test">This sentence should have a green background.</t></p>
    21   <p><t2 xmlns="test">This sentence should have a green background.</t2></p>
    22  </body>
    23 </html>

mercurial