blob: 570e674f9cbcdf302451800149348a21c7c8a4b4 [file] [log] [blame]
<!DOCTYPE html>
<html dir="rl" lang="en" >
<meta charset="utf-8"/>
<title>The dir attribute: default direction, invalid value 'rl'</title>
<link rel='author' title='HTML5 bidi test WG' href=''>
<link rel='help' href=''>
<link rel="match" href="reference/the-dir-attribute-012-ref.html">
<meta name="assert" content="If the root element has an invalid dir attribute ('rl'), the directionality of an element is 'ltr'.">
<style type='text/css'>
.test, .ref { width: 90%; margin: 0 4%; font-size: 2em; position: absolute; top: 0; }
.ref { color: red; z-index: -100; }
<p class="instructions" dir="ltr">Test passes if you see no red characters.</p>
<div style="position: relative">
<div class="test"><p>مكتب W3C הישראלי</p></div>
<div style="position: relative">
<div class="test"><p>&#x202A;مكتب W3C הישראלי&#x202C;</p></div>