7
edits
Jdescottes (talk | contribs) (Added information on how to opt-in RTL support for devtools html modules.) |
Jdescottes (talk | contribs) |
||
Line 85: | Line 85: | ||
=== RTL support for html modules === | === RTL support for html modules === | ||
By default, new HTML modules support only | By default, new HTML modules support only left-to-right (LTR) and do not reuse the current direction of the browser. | ||
To enable RTL support in a module, set the [dir] attribute on the document element of the module: | To enable right-to-left (RTL) support in a module, set the [dir] attribute on the document element of the module: | ||
* Example: <code><html xmlns="http://www.w3.org/1999/xhtml" dir=""></code> | * Example: <code><html xmlns="http://www.w3.org/1999/xhtml" dir=""></code> | ||
edits