Overview
XBL 2.0
Specification: XML Binding Language (XBL) 2.0
| Module / Feature | Support | Comment |
| XBL Elements | |
| xbl | yes |
| binding | yes |
| implementation | yes |
| template | yes |
| content | yes |
| inherited | yes |
| div | yes |
| handlers | yes |
| handler | yes |
| resources | yes |
| style | yes |
| prefetch | yes |
| script | yes |
| XBL Attributes | |
| xbl:attr | yes |
| xbl:text | yes |
| xbl:pseudo | yes |
| XBL Events | |
| xbl-bound | no | Internet Explorer doesn't allow sending custom events |
| xbl-bindings-are-ready | no |
| XBL Interfaces | |
| XBLImplementation | yes |
| XBLImplementationList | yes |
| ElementXBL | yes |
| DocumentXBL | yes |
| EventXBL | yes |
| XBLContentElement | no |
| XBLTemplateElement | yes |
| XML Attributes | |
| xml:base | yes |
| xml:space | yes | xml:space attribute is only supported on template element |
| Binding Attachment and Detachment | |
| using CSS | yes |
| using the DOM | yes |
<binding element=""> | yes |
| <?xbl href=""?> | no | Processing Instructions are not supported in HTML in most of major browsers |
<link type="application/xml" rel="binding" href=""> </link> | yes | (!) This is a non-standard way of binding |
| Binding Inheritance | |
| Explicit Inheritance | yes |
| Implicit Inheritance | no |
| Binding Styling | |
| Stylesheets scope | yes |
| Event Handler Filters | |
| Common Filters | yes |
| Mouse Event Handler Filters | yes |
| Key Event Handler Filters | yes | @key-location is not supported |
| Text Input Event Handler Filters | yes | Only input originated from the user typing |
| Mutation Event Handler Filters | yes | Only DOMAttrModified event supported |
Behavioral Extensions to CSS
Specification: Behavioral Extensions to CSS
| Feature | Support | Comment |
| Binding attachment with CSS | yes |
| The :bound-element pseudo-class | yes |
DOM Events
Specification: Document Object Model (DOM) Level 3 Events
| Interface / Type | Support | Comment |
| UIEvent | |
| DOMActivate | yes |
| DOMFocusIn | yes |
| DOMFocusOut | yes |
| focus | yes |
| blur | yes |
| MouseEvent | |
| mouseover | yes |
| mouseout | yes |
| mousemove | yes |
| mousedown | yes |
| mouseup | yes |
| click | yes |
| dblclick | yes |
| MouseWheelEvent | |
| mousewheel | yes |
| KeyboardEvent | |
| keydown | yes |
| keyup | yes |
| TextEvent | |
| textInput | yes |
| Event | |
| reset | yes |
| submit | yes |
| change | yes |
| CustomEvent | yes |
| MutationEvent | |
| DOMAttrModified | yes |
| DOMSubtreeModified | no |
| DOMNodeInserted | no |
| DOMNodeInsertedodeRemoved | no |
| DOMNodeRemoved | no |
| DOMNodeRemovedFromDocument | no |
| DOMNodeInsertedIntoDocument | no |
| DOMCharacterDataModified | no |
| DOMElementNameChanged | no |
| DOMAttributeNameChanged | no |
Selectors API
Specification: Selectors API
| Feature | Support | Comment |
| ElementSelector | yes |
| DocumentSelector | yes |
CSS Selectors
Specification: CSS 2.1 Selectors
| Type / Selector | Support | Comment |
| Element | |
| E | yes |
| E F | yes |
| E > F | yes |
| E + F | yes |
| E ~ F | yes |
| E.myclass | yes |
| E#myid | yes |
| Attribute | |
| Efoo | yes |
| E[foo="warning"] | yes |
| E[foo~="warning"] | yes |
| E[lang|="en"] | yes |
| E[lang="en"] | yes |
| E[lang$="en"] | yes |
| E[lang^="en"] | yes |
| Pseudo-class | |
| E:first-child | yes |
| E:link | yes |
| E:visited | no |
| E:active | no |
| E:hover | no |
| E:focus | no |
| E:lang(c) | yes |
| E:contains(text) | yes |
| E:root | yes |
| E:empty | yes |
| E:last-child | yes |
| E:nth-child(n) | no |
| E:nth-last-child(n) | no |
| E:nth-of-type(n) | no |
| E:nth-last-of-type(n) | no |
| E:first-of-type | no |
| E:last-of-type | no |
| E:only-child | yes |
| E:only-of-type | no |
| E:target | yes |
| E:enabled | yes |
| E:disabled | yes |
| E:checked | yes |
| Pseudo-element | no |