mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
16 lines
473 B
HTML
16 lines
473 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Test GetDir() for elements</title>
|
|
</head>
|
|
<body>
|
|
<div dir="">dir="", getDir returns ""</div>
|
|
<div dir="ltr">dir="ltr", getDir returns "ltr"</div>
|
|
<div dir="rtl">dir="rtl", getDir returns "rtl"</div>
|
|
<div dir="auto">dir="auto", getDir returns "auto"</div>
|
|
<div dir="foopy">dir="foopy", getDir returns ""</div>
|
|
<div>no dir attribute, getDir returns ""</div>
|
|
</body>
|
|
</html>
|