|
XBL event for CSS property change
|
| |
Hi, Is there any way in XBL to fire an event when a CSS property has changed, either through element.style or element.className? Thanks.
|
|
"XBL + dynamic DOM changes" problem
|
| |
hello! I have the following problem: I've bound XBL "rule" via css, but when I change the content of DOM element (whom XBL was bound) nothing is changed on screen.... Take a look at the simplified example: html file: <html> <style> .ellipsis { overflow: hidden; text-overflow: ellipsis; -moz-binding: url(ellipsis.xml#ellipsis);... more »
|
|
Possible regression with XBL/replaceChild ordering
|
| |
I had code which used to work in FF3.5: var nodeparser = document.createElement("nodepa rser"); expectedCell.replaceChild(node Parser, cdata); // nodeparser should now have a XBL binding on it, with a defineNamespace method nodeParser.defineNamespace("ma rkup", MARKUP_NS); In FF3.6b3, this is no longer working. Dump statements show... more »
|
|
Binding to HTML (again)
|
| |
I'm struggling with binding XBL to tags in the HTML document. So far, no success, even though everyone and everything tells me, this works. HTML: <html> <head> <title>CAML test</title> <style type="text/css"> csl_smiley { -moz-binding: url("camlext.xml#csl_smiley"); border: 1px dotted black;... more »
|
|
Overlay or use script to modify binding
|
| |
My goal is to add a single icon to the tabbrowser-tab binding which defines the contents of a tab in firefox 3. The content is defined as: <content chromedir="&locale.dir;" closetabtext="&closeTab.label; "> <xul:image xbl:inherits="validate,src=ima ge" class="tab-icon- image"/>... more »
|
|
XBL constructor order
|
| |
Bug 526178 [1] was filed yesterday about the fact that between 3.5 and 3.6b1 XBL constructor behavior changed such that the constructor of an ancestor is fired after the constructors of the descendants, not before. The claim is that this breaks various existing code. The change was inadvertent and was made back in March. The new behavior is in fact... more »
|
|
XBL & the HTML iframe tag –wrong behavior?
|
| |
Hello, I’m writing because at present I am testing XBL on Firefox 3.5.4. At the beginning, all worked fine. I defined my bindings and my rules in CSS and binding’s content were bound into a XML element as long as it matches the style rule. However, one of my bindings includes the HTML iframe tag in its content and when I render the source file, the... more »
|
|
Constructor called too late
|
| |
...I forgot to close this thread. I solved the problem by using jsd.topLevelHook to trigger my XBL constructor. It is necessary only for frames/iframes. For top documents, onLocationChange can be used. Here is the code, it might be useful to someone else: :-) [link]... more »
|
|
Binding XBL to HTML apparently ceased to work
|
| |
A couple of days ago, my xbl bindings to HTML pages ceased to work. I attached XBL bindings to arbitrary pages. In order to circumvent the limitations imposed by the same-origin policy (see [1]), I did the following: 1) With the aid of the Stylish extension, I attached a one-line style to every html page (alternatively the userChrome.css file can be... more »
|
|
|