|
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 »
|
|
XBL __proto__
|
| |
Hey all, I want to implement a base XBL widget in pure JS without having to go through the agro of "implements" ala XPConnect etc. I can get a fair way swapping around the __proto__ object of the XBL binding in its constructor, but before I spend any more time on does anyone know if it's even possible or am I likely to badly bust something down the line?... more »
|
|
XUL as XBL? Overlays?
|
| |
Hi, While I know the content models are different, I am wondering in the push for cross-browser and offline apps ala HTML5, whether XUL may eventually be dropped in favor of HTML, while still allowing for the syntax to resemble XUL (albeit in a different namespace, and possibly, I would imagine, with problems referencing ID's with CSS by the... more »
|
|
problem with first instance of xb binding extending xul:resizer ?
|
| |
I have a binding which extends xul:resizer which worked fine in xulrunner 1.9 however having installed xulrunner 1.9.1.2 the first instance of the element seems to be invisible Anyone else had this problem? If I change the binding to xul:box the element reappears !
|
|
Binding XBL to HTML
|
| |
I've just discovered XBL and I was interested in extending some of the XUL bindings packaged with Firefox and binding them to HTML elements in a web page. An example use case would be adding autocomplete to an arbitrary text input on an html page. I want to do this as an extension. Is this possible? I've experimented a little bit and it seems like it... more »
|
|
XBL binding seems to be not attached - but only on firefox-startup
|
| |
Here is the situation (as precise as possible ;) ): I do have a two xbl-elements ("fileview_breadcrumbs" and "fileview_breadcrumbs_item") declared in the same file. "fileview_breadcrumbs" has a method named "fillMe" that appends newly created elements of type "fileview_breadcrumbs_item" to itself. Reduced to the basics it looks like this:... more »
|
|
contenteditable within binding possible?
|
| |
Hello, I am using my own XBL bindings within XHTML for an editor-like application. A subtree of the document should be contenteditable (including XBL-generated content). This works fine as long as the element marked as contenteditable is an explicit (non-anonymous) element. Now I would like to start the contenteditable tree in a binding, i.e.... more »
|
|
|