diff options
Diffstat (limited to 'files/ru/web/css/-moz-binding/index.html')
| -rw-r--r-- | files/ru/web/css/-moz-binding/index.html | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/files/ru/web/css/-moz-binding/index.html b/files/ru/web/css/-moz-binding/index.html new file mode 100644 index 0000000000..e9c8b29c44 --- /dev/null +++ b/files/ru/web/css/-moz-binding/index.html @@ -0,0 +1,115 @@ +--- +title: '-moz-binding' +slug: Web/CSS/-moz-binding +translation_of: Archive/Web/CSS/-moz-binding +--- +<div>{{CSSRef}}{{Non-standard_Header}}{{Deprecated_Header(57)}}</div> + +<p>The <strong><code>-moz-binding</code></strong> CSS property is used by Mozilla-based applications to attach an <a href="/en-US/docs/XBL">XBL</a> binding to a DOM element.</p> + +<p>{{CSSInfo}}</p> + +<h2 id="Syntax">Syntax</h2> + +<pre class="brush:css">/* <url> value */ +-moz-binding: url(http://www.example.org/xbl/htmlBindings.xml#checkbox); + +/* Global values */ +-moz-binding: inherited; +-moz-binding: initial; +-moz-binding: unset; +</pre> + +<h3 id="Values">Values</h3> + +<dl> + <dt>{{CSSxRef("<url>")}}</dt> + <dd>The URL for the XBL binding (including the fragment identifier).</dd> + <dt><code>none</code></dt> + <dd>No XBL binding is applied to the element.</dd> +</dl> + +<h3 id="Formal_syntax">Formal syntax</h3> + +<pre class="syntaxbox">{{CSSSyntax}}</pre> + +<h2 id="Example">Example</h2> + +<pre class="brush: css">.exampleone { + -moz-binding: url(http://www.example.org/xbl/htmlBindings.xml#radiobutton); +}</pre> + +<h2 id="Specifications">Specifications</h2> + +<p>Not part of any specification.</p> + +<h2 id="Browser_compatibility">Browser compatibility</h2> + +<div class="bc-old"> +<p>{{CompatibilityTable}}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <thead> + <tr> + <th>Feature</th> + <th>Chrome</th> + <th>Edge</th> + <th>Firefox</th> + <th>IE</th> + <th>Opera</th> + <th>Safari</th> + </tr> + </thead> + <tbody> + <tr> + <td>Basic support {{Deprecated_Inline}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatVersionUnknown}} <sup><a href="compatNote_1">[1]</a></sup></td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <thead> + <tr> + <th>Feature</th> + <th>WebView Android</th> + <th>Chrome Android</th> + <th>Edge Mobile</th> + <th>Firefox Android</th> + <th>Opera Android</th> + <th>Safari iOS</th> + <th>Samsung Internet Android</th> + </tr> + </thead> + <tbody> + <tr> + <td>Basic support {{Deprecated_Inline}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatUnknown}} <sup><a href="compatNote_1">[1]</a></sup></td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + </tr> + </tbody> +</table> +</div> + +<p id="compatNote_1">1. XBL is deprecated and being removed (See {{bug(1397874)}}).</p> +</div> + +<h2 id="See_also">See also</h2> + +<ul> + <li><a href="/en-US/docs/XBL/XBL_1.0_Reference/Binding_Attachment_and_Detachment">XBL Reference: Binding Attachment and Detachment</a></li> + <li><a href="/en-US/docs/Mozilla/Tech/XUL/Tutorial/Introduction_to_XBL">XUL Tutorial: Introduction to XBL</a></li> +</ul> |
