gecko-dev/layout/reftests/bugs/1371130-ref.xhtml

25 строки
606 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<bindings xmlns="http://www.mozilla.org/xbl"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<binding id="a">
<content>
<xhtml:p>
<children></children>
</xhtml:p>
<xhtml:span>This should also be green.</xhtml:span>
</content>
</binding>
</bindings>
<style>
span { color: red; }
div > span { color: green; }
</style>
</head>
<body>
<div style="-moz-binding: url(#a)">
<span>This should be green.</span>
</div>
</body>
</html>