Closed
Bug 513731
Opened 15 years ago
Closed 15 years ago
Unable to bind an element per userChrome.css using -moz-binding: {url(myBindings.xml#myElement);}
Categories
(Core :: XBL, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: ShareBird, Unassigned)
References
Details
(Keywords: regression)
Attachments
(1 file)
5.23 KB,
application/rar
|
Details |
userChrome.css can't point to a XBL binding placed on the chrome directory (where userChrome.css lives) anymore. It used to work on FF 3.0. Test-case - please extract the files into your profile's chrome directory.
Updated•15 years ago
|
Attachment #397670 -
Attachment mime type: application/octet-stream → application/rar
Comment 1•15 years ago
|
||
Looks like it works as it should to me, if you make the rule specific enough. As for the attached testcase, there are document stylesheets that set -moz-binding on the toolbar in question, and which therefore override this user style sheet rue. I suggest installing DOM Inspector or Chromebug and taking a look at the list of rules applying to the node.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 2•15 years ago
|
||
I did inspect the node using the DOMi before. It seems the rule applies at all (as shown on the computed style pane). Maybe the extends="chrome://global/content/bindings/toolbar.xml#toolbar" part is not working? This exactly test case works on FF 3.0 but on FF 3.5 it gets rid of the whole nav bar.
Comment 3•15 years ago
|
||
> This exactly test case works on FF 3.0 but on FF 3.5 it gets rid of the whole > nav bar. That's not what comment 0 said. It said you can't point to the binding... I'll try to reproduce the nav bar disappearing tomorrow.
Reporter | ||
Comment 4•15 years ago
|
||
Sorry. I've made an error on reasoning.
Comment 5•15 years ago
|
||
Oh, I see what's up here. You're applying a non-chrome binding to a document that comes from a package that wants XPCNativeWrapper automation. That's not allowed anymore, because it leads to security problems. See bug 479839, bug 500968, bug 500968 for similar issues. Bug 490197 covers better error reporting here.
Blocks: 425153
Reporter | ||
Comment 6•15 years ago
|
||
Oh yes. I was wondering that I didn't become any message from error console. I've supposed to see some security issue advice on it. Thank you for investigating this.
You need to log in
before you can comment on or make changes to this bug.
Description
•