mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
Per the CSS Namespaces spec, an empty string declared in an @namespace rule represents no namespace. Fixes WPT: - css/css-namespaces/prefix-002.xml - css/css-namespaces/prefix-003.xml
16 lines
658 B
XML
16 lines
658 B
XML
<root>
|
|
<head xmlns="http://www.w3.org/1999/xhtml">
|
|
<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/#prefixes"/>
|
|
<link rel="match" href="../../../../expected/wpt-import/css/css-namespaces/reference/ref-lime-1-generic.xml"/>
|
|
<title>CSS Namespaces Test Suite: empty string prefix (Implied element namespace)</title>
|
|
<style>
|
|
@namespace foo "";
|
|
t { background:red }
|
|
foo|t { background:lime }
|
|
</style>
|
|
</head>
|
|
<t>This sentence should have a green background.</t>
|
|
</root>
|