O'Reilly logo

Rapid Application Development with Mozilla™ by Nigel McFarlane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

15.4. How Bindings Are Processed

Here are the steps a binding goes through when it is bound to a tag in a target document:

1.
When loading the target document, the Mozilla layout engine detects the need for a binding when it sees a -moz-binding style on a given loaded tag.
2.
The document's list of things to finish is incremented by one. This list delays the firing of an onload event for the target document.
3.
If a complete, compiled copy of the binding does not yet exist for the target document, steps 4-7 are done. If it exists, processing continues from step 8.
4.
The XBL document for the binding is fetched and put in the Mozilla cache. This is done in parallel with the loading of the target document.
5.
The fetched XBL document is parsed and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required