1 |
<?xml version="1.0"?>
|
2 |
<!DOCTYPE foo:root [
|
3 |
<!ENTITY links 'h|div[ll|type="links"]'>
|
4 |
<!--ENTITY linksCloseBox 'h|div[ll|type="links"] h|div[ll|type="closeBox"]'-->
|
5 |
<!ENTITY linksCloseBox 'h|div[ll|type="links"] h|div[type="closeBox"]'>
|
6 |
]>
|
7 |
<foo:root xmlns:foo="http://foo.example/markup"
|
8 |
xmlns:bar="http://bar.example/markup"
|
9 |
xmlns:h="http://www.w3.org/1999/xhtml">
|
10 |
<h:link rel="stylesheet" href="test-hlink1.xml" type="application/x-hlink+xml"/>
|
11 |
<h:link rel="stylesheet" href="test-hlink2.xml" type="application/x-hlink+xml"/>
|
12 |
|
13 |
<h:style type="text/css"><![CDATA[
|
14 |
@namespace h 'http://www.w3.org/1999/xhtml';
|
15 |
h|link:first-child {
|
16 |
-moz-binding: url(hlink-xbl.xml#link-hlink);
|
17 |
}
|
18 |
]]></h:style>
|
19 |
<h:style type="text/css">
|
20 |
@namespace h 'http://www.w3.org/1999/xhtml';
|
21 |
@namespace ll 'urn:x-suika-fam-cx:markup:temporary:hlink';
|
22 |
&links; {
|
23 |
position: absolute;
|
24 |
display: block;
|
25 |
margin: 0;
|
26 |
border: WindowFrame solid 1px;
|
27 |
padding: 4px;
|
28 |
-moz-border-radius: 0.6em;
|
29 |
overflow: hidden;
|
30 |
background-color: InfoBackground;
|
31 |
color: InfoText;
|
32 |
-moz-binding: url(hlink-xbl.xml#ll-links);
|
33 |
}
|
34 |
&links;[ll|display='no'] {
|
35 |
display: none;
|
36 |
}
|
37 |
|
38 |
&linksCloseBox; {
|
39 |
display: block;
|
40 |
position: absolute;
|
41 |
top: 5px; right: 5px;
|
42 |
margin: 0;
|
43 |
border-width: 1px;
|
44 |
border-color: InfoBackground;
|
45 |
border-style: solid;
|
46 |
padding: 0;
|
47 |
line-height: 100%;
|
48 |
background-color: ButtonFace;
|
49 |
color: ButtonText;
|
50 |
text-align: right;
|
51 |
}
|
52 |
&linksCloseBox;:hover {
|
53 |
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
|
54 |
}
|
55 |
&linksCloseBox;:active {
|
56 |
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
|
57 |
}
|
58 |
|
59 |
&links; ll|link {
|
60 |
display: block;
|
61 |
min-width: 10em;
|
62 |
}
|
63 |
&links; ll|link:before {
|
64 |
content: "<";
|
65 |
}
|
66 |
&links; ll|link[attributeName]:before {
|
67 |
content: attr(attributeName) ": <";
|
68 |
}
|
69 |
&links; ll|link:after {
|
70 |
content: ">";
|
71 |
}
|
72 |
&links; ll|link:hover {
|
73 |
background-color: InfoText;
|
74 |
color: InfoBackground;
|
75 |
}
|
76 |
</h:style>
|
77 |
|
78 |
<foo:anchor uri="http://www.w3.org/">World Wide Web Consortium</foo:anchor>
|
79 |
<foo:home/>
|
80 |
<bar:URIs
|
81 |
xhtml="http://www.w3.org/1999/xhtml"
|
82 |
xlink="http://www.w3.org/1999/xlink"
|
83 |
svg="http://www.w3.org/2000/svg"/>
|
84 |
<bar:a href="../css2_syndata/v_length.xhtml"><![CDATA[<length>]]></bar:a>
|
85 |
</foo:root>
|