Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Overview  





2 See also  





3 References  














XBL






Deutsch
Español
فارسی
Français

Italiano
Nederlands
Polski
Português
Tiếng Vit

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


XBL (XML Binding Language) is an XML-based markup language for altering the behavior of XUL widgets. It was devised at Netscape in the late 1990s as an extension of XUL.[1][2]

The primary use of XBL was in the Firefox web browser, but Mozilla deprecated it in 2017 and completely removed it from Firefox in 2019.[3][4] However, the UXP fork of Firefox intends to continue supporting XBL indefinitely.[5]

Mozilla attempted to standardize XBL 2.0 via W3C in 2007,[6] but due to lack of interest from other web browser vendors, abandoned it in 2012.[7]

The Shadow DOM specification acknowledges XBL as a strong influence.[8]

Overview[edit]

XUL defines the user interface layout of an application. CSS rules can be used to change the appearance of various XUL elements. But XBL is needed to alter the behavior of a XUL widget, such as a scroll bar.

An XBL file contains bindings, each of which describes the behavior of a XUL widget. The root element of an XBL file is the <bindings> element, which contains one or more <binding> elements. Each <binding> element declares one binding, which can be attached to any XUL element. It may also possess an id attribute. A binding is assigned to an element by setting the CSS property -moz-binding to the URL of the binding's file. For example:

scrollbar {
  -moz-binding: url('somefile.xml#binding1');
}

See also[edit]

References[edit]

  1. ^ Castro, Jorge O. (2004-06-15). "Ars Technica sits down with Scott Collins from Mozilla.org". Ars Technica. p. 2. Archived from the original on 2018-02-22. Retrieved 2018-11-28.
  • ^ "XBL 2.0 Acknowledgments". www.w3.org.
  • ^ "Design Review Packet - XBL Removal". mozilla.github.io. Mozilla. 2017-10-13. Retrieved 2018-04-15 – via GitHub Pages.
  • ^ "XBL Graphs". bgrins.github.io. Retrieved 2019-10-16.
  • ^ "Pale Moon future roadmap". Pale Moon. Retrieved 2019-02-15.
  • ^ "W3C news archive: 2007".
  • ^ "XBL 2.0". www.w3.org.
  • ^ "Shadow DOM". wicg.github.io. Retrieved 2022-03-18.
  • Projects

    Mozilla
    Labs

  • ChatZilla
  • Jetpack
  • Lightning
  • Persona
  • Prism
  • Raindrop
  • Skywriter
  • Sunbird
  • PDF.js
  • Ubiquity
  • Mozilla
    Research

  • Rust
  • Shumway
  • WebAssembly
  • WebXR
  • asm.js
  • Daala
  • Firefox OS
  • OpenFlint
  • Mozilla
    Foundation

  • SeaMonkey
  • Thunderbird
  • List of products
  • Firefox

  • 2
  • 3
  • 3.5
  • 3.6
  • 4
  • Version history
  • for Android
  • Focus
  • Firefox Lockwise
  • Firefox Monitor
  • Sync
  • Mozilla VPN
  • Pocket
  • Origins

  • Netscape Navigator
  • Netscape Communicator
  • Netscape Communications
  • Beonex Communicator
  • Frameworks

  • Gecko
  • Necko
  • NPAPI
  • Components

  • NSPR
  • NSS
  • Rhino
  • SpiderMonkey
  • Tamarin
  • Features
  • Typefaces

  • Zilla Slab
  • Discontinued

  • Camino
  • Firefox Send
  • Minimo
  • XUL
  • Forks

  • Classilla
  • Flock
  • Goanna
  • IceCat
  • LibreWolf
  • Miro
  • Netscape 9
  • Pale Moon
  • Portable Edition
  • Swiftfox
  • Swiftweasel
  • Waterfox
  • xB Browser
  • Discontinued projects are in italics. Some projects abandoned by Mozilla that are still maintained by third parties are in underline.

    Organization

    Foundation

  • Mozilla Corporation
  • Mozilla Messaging
  • Official affiliates

  • Mozilla Europe (defunct)
  • Mozilla Japan
  • People

  • David Baron
  • Tantek Çelik
  • Laura Chambers
  • Brendan Eich
  • John Hammink
  • Johnny Stenbäck
  • Doug Turner
  • Community

  • MDN Web Docs
  • MozillaZine
  • Other topics

  • The Book of Mozilla
  • Code Rush
  • Mozilla Public License
  • Mascot
  • Debian–Mozilla trademark dispute
  • Common Voice
  • Products and
    standards

    Recommendations

  • Activity Streams
  • ARIA
  • Canonical XML
  • CDF
  • CSS
  • DOM
  • Geolocation API
  • HTML
  • IndexedDB
  • ITS
  • JSON-LD
  • Linked Data Notifications
  • MathML
  • Micropub
  • OWL
  • PLS
  • RDF
  • SISR
  • SKOS
  • SMIL
  • SOAP
  • SRGS
  • SRI
  • SSML
  • SVG
  • SCXML
  • SHACL
  • SPARQL
  • Timed text
  • VoiceXML
  • WoT
  • Web storage
  • WSDL
  • Webmention
  • WebSub
  • XHTML
  • XML
  • Notes

  • XAdES
  • XBL
  • XHTML+SMIL
  • XUP
  • Working drafts

  • CURIE
  • EME
  • InkML
  • MSE
  • RIF
  • SMIL Timesheets
  • sXBL
  • WebGPU
  • WebXR
  • XFDL
  • XFrames
  • XMLHttpRequest
  • Guidelines

    Initiative

  • Web Accessibility Initiative
  • Web Components
  • Deprecated

  • HDML
  • JSSS
  • PGML
  • VML
  • WebPlatform
  • Obsoleted

  • XHTML+MathML+SVG
  • Organizations

    Working groups

  • CSS
  • SVG
  • WebAssembly
  • WebAuthn
  • WHATWG
  • Community & business groups

  • WebAssemblyCG
  • Closed groups

  • HTML
  • Multimodal Interaction Activity (MMI)
  • Software

  • Libwww
  • Browsers

  • Arena (1993–98)
  • Agora (1994–97)
  • Argo (1994–97)
  • Amaya (browser/editor, 1996–2012)
  • Conferences

  • First conference ("WWW1", 1994)

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=XBL&oldid=1077883598"

    Categories: 
    Declarative markup languages
    Markup languages
    Mozilla
    World Wide Web Consortium standards
    XML-based standards
     



    This page was last edited on 18 March 2022, at 18:31 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki