Closed
Bug 282543
Opened 20 years ago
Closed 20 years ago
binding stylesheets aren't applied to explicit children of binding
Categories
(Core :: XBL, enhancement)
Tracking
()
VERIFIED
INVALID
People
(Reporter: surkov, Assigned: hyatt)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050111
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050111
//binding.xml
<binding id="bnd1">
<resources>
<stylesheet src="binding.css"/>
</resources>
<content>
<xul:description value="green text"/>
<children includes="description"/>
</content>
</binding>
//binding.css
description{ color: greed; }
//test.xul
<bnd1>
<description value="no green text"/>
</bnd1>
Text with label 'green text' will be green. Text with label 'no green text' will
not be green.
Reproducible: Always
Steps to Reproduce:| Reporter | ||
Comment 1•20 years ago
|
||
I think binding stylesheets is loaded before explicit children is inserted into binding element.
Comment 2•20 years ago
|
||
This is the "right" behavior. See http://www.w3.org/TR/xbl/#anonymous-css-binding-sheets
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•