Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-namespaces/syntax-015.xml
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="author" title="Anne van Kesteren" href="http://annevankesteren.nl/"/> <link rel="author" title="Opera Software ASA" href="http://opera.com/"/> <link rel="help" href="http://www.w3.org/TR/css-namespaces-3/#syntax"/> <link rel="match" href="reference/ref-lime-1.xml"/> <title>CSS Namespaces Test Suite: invalid URI</title> <style> @namespace x url("test"); @namespace x url("}x< >x{"); t { background:lime } x|t { background:red } </style> </head> <body> <p><t xmlns="test">This sentence should have a green background.</t></p> </body> </html>
/css/css-namespaces/reference/ref-lime-1.xml
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="author" title="L. David Baron" href="https://dbaron.org/"/> <link rel="author" title="Mozilla" href="http://mozilla.org/"/> <title>CSS Namespaces Test Suite reference</title> </head> <body> <p><test style="background: lime">This sentence should have a green background.</test></p> </body> </html>