Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / namespaces / 005.xml
blob31ce5dc38e8f74d977773a7961043aeeca3198b4
1 <html xmlns="http://www.w3.org/1999/xhtml">
2  <head>
3   <title>CSS: @namespace blocks across embedded stylesheets (part 2, negative tests)</title>
4   <style type="text/css">
5     @namespace a url(http://www.example.org/2);
6     @namespace b url(http://www.example.org/1);
7     test3 { color: red; } /* this matches nothing */
8   </style>
9   <style type="text/css">
10     /* namespace declarations are reversed */
11     @namespace a url(http://www.example.org/2); 
12     @namespace b url(http://www.example.org/1);
13     a|test2 { color: red; } /* matches nothing either */
14   </style>
15   <style type="text/css">
16     /* set a default namespace declaration */
17     @namespace url(http://www.example.org/1); 
18     test1 { color: red; } /* still matches nothing */
19   </style>
20   <style type="text/css">
21     /* set the default to be red */
22     *|* { color:green; }
23     *|body *|* { display: block; }
24   </style>
25  </head>
26  <body>
27   <!-- tests *:3 are checked in 004.xml -->
28   <test2 xmlns="http://www.example.org/1"> This should be green. </test2>
29   <!-- test 2:2 is checked in 004.xml -->
30   <test2 xmlns="http://www.example.org/3"> This should be green. </test2>
31   <!-- test 1:1 is checked in 004.xml -->
32   <test1 xmlns="http://www.example.org/2"> This should be green. </test1>
33   <test1 xmlns="http://www.example.org/3"> This should be green. </test1>
34  </body>
35 </html>