DevTools/CSSTips: Difference between revisions

Jump to navigation Jump to search
(Added information on how to opt-in RTL support for devtools html modules.)
 
Line 85: Line 85:
=== RTL support for html modules ===
=== RTL support for html modules ===


By default, new HTML modules support only RTL and do not reuse the current direction of the browser.  
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>


7

edits

Navigation menu