<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[189475] trunk/LayoutTests</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/189475">189475</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2015-09-07 20:52:01 -0700 (Mon, 07 Sep 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>LayoutTests/imported/w3c:
Unreviewed, fix-up for <a href="http://trac.webkit.org/projects/webkit/changeset/189472">r189472</a>.

- Add a few missing test expectations.
- Rename ref-tests expected results to use proper format: -expected.html

* web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-1-expected.txt: Added.
* web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-2-expected.txt: Added.
* web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/004-1-expected.txt: Added.
* web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/016-1-expected.txt: Added.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.txt: Removed.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-ref.html.
* web-platform-tests/html/dom/elements/global-attributes/style-01-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-ref.html.

LayoutTests:
Unreviewed, Skip again files that were wrongly unskipped in <a href="http://trac.webkit.org/projects/webkit/changeset/189472">r189472</a>.

* TestExpectations:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdynamicmarkupinsertiondocumentwritenesteddocumentwrite1expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdynamicmarkupinsertiondocumentwritenesteddocumentwrite2expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdynamicmarkupinsertionopeningtheinputstream0041expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/004-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomdynamicmarkupinsertionopeningtheinputstream0161expectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/016-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNLexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptRexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoisolateexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNENexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNbetweenRsexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopremixedexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNENexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNbetweenRsexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareamixedexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNENexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNbetweenRsexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptmixedexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxmllang01expectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxyzzyexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesstyle01expectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-expected.html</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptLexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNLrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptRrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoisolaterefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNENrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNbetweenRsrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopremixedrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNENrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNbetweenRsrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareamixedrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNENrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNbetweenRsrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptmixedrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxmllang01refhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxyzzyrefhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-ref.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesstyle01refhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-ref.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/ChangeLog        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,3 +1,9 @@
</span><ins>+2015-09-07  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Unreviewed, Skip again files that were wrongly unskipped in r189472.
+
+        * TestExpectations:
+
</ins><span class="cx"> 2015-09-07  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         [EFL] Unreviewed gardening. tests of imported/w3c/css/ have been passed since r189358.
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/TestExpectations        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -411,6 +411,12 @@
</span><span class="cx"> 
</span><span class="cx"> [ Debug ] fast/workers/worker-cloneport.html [ Slow ]
</span><span class="cx"> 
</span><ins>+# Imported W3C HTML/DOM ref tests that are failing.
+imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01.html [ ImageOnlyFailure ]
+
</ins><span class="cx"> # Imported Mozilla SVG tests
</span><span class="cx"> webkit.org/b/5968 imported/mozilla/svg/linearGradient-basic-03.svg [ ImageOnlyFailure ]
</span><span class="cx"> webkit.org/b/32177 imported/mozilla/svg/as-image/background-image-rect-1png.html [ ImageOnlyFailure ]
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,5 +1,72 @@
</span><span class="cx"> 2015-09-07  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Unreviewed, fix-up for r189472.
+
+        - Add a few missing test expectations.
+        - Rename ref-tests expected results to use proper format: -expected.html
+
+        * web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-1-expected.txt: Added.
+        * web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-2-expected.txt: Added.
+        * web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/004-1-expected.txt: Added.
+        * web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/016-1-expected.txt: Added.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.txt: Removed.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-ref.html.
+        * web-platform-tests/html/dom/elements/global-attributes/style-01-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-ref.html.
+
+2015-09-07  Chris Dumez  &lt;cdumez@apple.com&gt;
+
</ins><span class="cx">         Unreviewed, move html/dom W3C tests to imported/w3c/web-platform-tests/html/dom/
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=148948
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdynamicmarkupinsertiondocumentwritenesteddocumentwrite1expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-1-expected.txt (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-1-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-1-expected.txt        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x52
+  RenderBlock {HTML} at (0,0) size 800x52
+    RenderBody {BODY} at (8,8) size 784x36
+      RenderText {#text} at (0,0) size 266x18
+        text run at (0,0) width 266: &quot;You should see the word \&quot;worked\&quot; below&quot;
+      RenderBR {BR} at (265,0) size 1x18
+      RenderText {#text} at (0,18) size 48x18
+        text run at (0,18) width 48: &quot;worked&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdynamicmarkupinsertiondocumentwritenesteddocumentwrite2expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-2-expected.txt (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-2-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/document-write/nested-document-write-2-expected.txt        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x192
+  RenderBlock {HTML} at (0,0) size 800x192
+    RenderBody {BODY} at (8,8) size 784x176
+      RenderText {#text} at (0,0) size 350x18
+        text run at (0,0) width 350: &quot;You should see the word \&quot;worked\&quot; in the frame below.&quot;
+      RenderBR {BR} at (349,0) size 1x18
+      RenderIFrame {IFRAME} at (0,18) size 304x154 [border: (2px inset #000000)]
+        layer at (0,0) size 300x150
+          RenderView at (0,0) size 300x150
+        layer at (0,0) size 300x150
+          RenderBlock {HTML} at (0,0) size 300x150
+      RenderText {#text} at (0,0) size 0x0
+      RenderText {#text} at (0,0) size 0x0
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdynamicmarkupinsertionopeningtheinputstream0041expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/004-1-expected.txt (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/004-1-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/004-1-expected.txt        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x8
+  RenderBlock {HTML} at (0,0) size 800x8
+    RenderBody {BODY} at (8,8) size 784x0
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomdynamicmarkupinsertionopeningtheinputstream0161expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/016-1-expected.txt (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/016-1-expected.txt                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/016-1-expected.txt        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with EN, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-EN-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text.
+      In this test, it is the Latin letter A since digits are not strongly
+      directional, thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with EN, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-EN-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text.
-      In this test, it is the Latin letter A since digits are not strongly
-      directional, thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with EN, then R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-EN-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text.
+      In this test, it is the Hebrew letter Alef since digits are not strongly
+      directional, thus the direction must be resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoENRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-EN-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with EN, then R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-EN-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text.
-      In this test, it is the Hebrew letter Alef since digits are not strongly
-      directional, thus the direction must be resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with N, then EN, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-EN-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text.
+      In this test, it is the Latin letter A since neutrals and digits are not
+      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with N, then EN, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-EN-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text.
-      In this test, it is the Latin letter A since neutrals and digits are not
-      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with N, then EN, then R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-EN-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text.
+      In this test, it is the Hebrew letter Alef since neutrals and digits are not
+      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with N, then EN, then R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-EN-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text.
-      In this test, it is the Hebrew letter Alef since neutrals and digits are not
-      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with N, then EN, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-EN-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text, ignoring neutrals and numbers.
+      If there is no strong character, as in this test, the direction defaults to LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;@123!&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;@123!&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;@123!&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;@123!&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNENrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-EN-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with N, then EN, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-EN-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text, ignoring neutrals and numbers.
-      If there is no strong character, as in this test, the direction defaults to LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;@123!&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;@123!&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;@123!&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;@123!&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with N, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text.
+      In this test, it is the Latin letter A since neutrals are not
+      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;ltr&quot;&gt;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with N, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text.
-      In this test, it is the Latin letter A since neutrals are not
-      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;ltr&quot;&gt;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with N, then R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text.
+      In this test, it is the Hebrew letter Alef since neutrals are not
+      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoNRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-N-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with N, then R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-N-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text.
-      In this test, it is the Hebrew letter Alef since neutrals are not
-      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/p&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with L within contained element&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text, including text within contained elements.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
+      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
+      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
+      &amp;#x05D6; - The Hebrew letter Zayin (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;&amp;#x05D3;&amp;#x05D4;&lt;/div&gt;&amp;#x05D5;&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;&amp;#x05D3;&amp;#x05D4;&lt;/div&gt;&amp;#x05D5;&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;&amp;#x05D3;&amp;#x05D4;&lt;/div&gt;&amp;#x05D5;&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;&amp;#x05D3;&amp;#x05D4;&lt;/div&gt;&amp;#x05D5;&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,62 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with L within contained element&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text, including text within contained elements.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
-      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
-      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
-      &amp;#x05D6; - The Hebrew letter Zayin (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;&amp;#x05D3;&amp;#x05D4;&lt;/div&gt;&amp;#x05D5;&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;&amp;#x05D3;&amp;#x05D4;&lt;/div&gt;&amp;#x05D5;&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;&amp;#x05D3;&amp;#x05D4;&lt;/div&gt;&amp;#x05D5;&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;div&gt;&lt;div&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;&amp;#x05D3;&amp;#x05D4;&lt;/div&gt;&amp;#x05D5;&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with R within contained element&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text, including text within contained elements.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;XY&lt;/div&gt;Z&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;XY&lt;/div&gt;Z&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;XY&lt;/div&gt;Z&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;XY&lt;/div&gt;Z&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with R within contained element&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text, including text within contained elements.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;XY&lt;/div&gt;Z&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;XY&lt;/div&gt;Z&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;XY&lt;/div&gt;Z&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;XY&lt;/div&gt;Z&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with bdi, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-bdi-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text while ignoring bdi elements.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
+      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
+      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;bdi&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/bdi&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;bdi&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/bdi&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;bdi&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/bdi&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;bdi&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/bdi&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with bdi, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-bdi-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text while ignoring bdi elements.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
-      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
-      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;bdi&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/bdi&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;bdi&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/bdi&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;bdi&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/bdi&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;bdi&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/bdi&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with bdi, then R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-bdi-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text while ignoring bdi elements.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;bdi&gt;DEF&lt;/bdi&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;bdi&gt;DEF&lt;/bdi&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;bdi&gt;DEF&lt;/bdi&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;bdi&gt;DEF&lt;/bdi&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedbdiRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-bdi-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with bdi, then R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-bdi-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text while ignoring bdi elements.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;bdi&gt;DEF&lt;/bdi&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;bdi&gt;DEF&lt;/bdi&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;bdi&gt;DEF&lt;/bdi&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;bdi&gt;DEF&lt;/bdi&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with dir, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-dir-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text while ignoring contained elements with an explicit dir of their own.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
+      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
+      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with dir, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-dir-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text while ignoring contained elements with an explicit dir of their own.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
-      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
-      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with dir, then R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-dir-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text while ignoring contained elements with an explicit dir of their own.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddirRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with dir, then R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-dir-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text while ignoring contained elements with an explicit dir of their own.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with dir=auto, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-dir_auto-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text while ignoring contained elements with an explicit dir of their own.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
+      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
+      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with dir=auto, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-dir_auto-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text while ignoring contained elements with an explicit dir of their own.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
-      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
-      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;p dir=&quot;rtl&quot;&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/p&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with dir=auto, then R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-dir_auto-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text while ignoring contained elements with an explicit dir of their own.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontaineddir_autoRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-dir_auto-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with dir=auto, then R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-dir_auto-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text while ignoring contained elements with an explicit dir of their own.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;p dir=&quot;ltr&quot;&gt;DEF&lt;/p&gt;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with script, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-script-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of descendant text while ignoring descendant script elements.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;script&gt;&amp;#x05D0; = 3;&lt;/script&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;script&gt;&amp;#x05D0; = 3;&lt;/script&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;script&gt;&amp;#x05D0; = 3;&lt;/script&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;script&gt;&amp;#x05D0; = 3;&lt;/script&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptLexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.txt (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.txt        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-expected.txt        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 43: SyntaxError: Unexpected token '&amp;'
-CONSOLE MESSAGE: line 46: SyntaxError: Unexpected token '&amp;'
-CONSOLE MESSAGE: line 51: SyntaxError: Unexpected token '&amp;'
-CONSOLE MESSAGE: line 54: SyntaxError: Unexpected token '&amp;'
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x309
-  RenderBlock {HTML} at (0,0) size 800x309
-    RenderBody {BODY} at (8,32) size 784x257
-      RenderBlock {DIV} at (0,0) size 784x37
-        RenderBlock {P} at (0,0) size 784x37
-          RenderText {#text} at (0,0) size 737x37
-            text run at (0,0) width 737: &quot;Test passes if the two boxes below look exactly the same.&quot;
-      RenderBlock {DIV} at (20,69) size 406x84 [border: (3px solid #808080)]
-        RenderBlock {DIV} at (3,3) size 400x39
-          RenderBlock {DIV} at (0,0) size 400x39
-            RenderText {#text} at (0,2) size 127x37
-              text run at (0,2) width 66: &quot;ABC&quot;
-              text run at (65,2) width 54 RTL: &quot;\x{5D0}\x{5D1}\x{5D2}&quot;
-              text run at (118,2) width 9: &quot;.&quot;
-        RenderBlock {DIV} at (3,42) size 400x39
-          RenderBlock {DIV} at (0,0) size 400x39
-            RenderText {#text} at (0,2) size 127x37
-              text run at (0,2) width 66: &quot;ABC&quot;
-              text run at (65,2) width 54 RTL: &quot;\x{5D0}\x{5D1}\x{5D2}&quot;
-              text run at (118,2) width 9: &quot;.&quot;
-      RenderBlock {DIV} at (20,173) size 406x84 [border: (3px solid #808080)]
-        RenderBlock {DIV} at (3,3) size 400x39
-          RenderBlock {DIV} at (0,0) size 400x39
-            RenderText {#text} at (0,2) size 127x37
-              text run at (0,2) width 66: &quot;ABC&quot;
-              text run at (65,2) width 54 RTL: &quot;\x{5D0}\x{5D1}\x{5D2}&quot;
-              text run at (118,2) width 9: &quot;.&quot;
-        RenderBlock {DIV} at (3,42) size 400x39
-          RenderBlock {DIV} at (0,0) size 400x39
-            RenderText {#text} at (0,2) size 127x37
-              text run at (0,2) width 66: &quot;ABC&quot;
-              text run at (65,2) width 54 RTL: &quot;\x{5D0}\x{5D1}\x{5D2}&quot;
-              text run at (118,2) width 9: &quot;.&quot;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with script, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-script-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of descendant text while ignoring descendant script elements.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;script&gt;&amp;#x05D0; = 3;&lt;/script&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;script&gt;&amp;#x05D0; = 3;&lt;/script&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;script&gt;&amp;#x05D0; = 3;&lt;/script&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;script&gt;&amp;#x05D0; = 3;&lt;/script&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with script, then R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-script-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of descendant text while ignoring descendant script elements.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;script&gt;x = 3;&lt;/script&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;script&gt;x = 3;&lt;/script&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;script&gt;x = 3;&lt;/script&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;script&gt;x = 3;&lt;/script&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedscriptRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-script-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with script, then R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-script-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of descendant text while ignoring descendant script elements.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;script&gt;x = 3;&lt;/script&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;script&gt;x = 3;&lt;/script&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;script&gt;x = 3;&lt;/script&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;script&gt;x = 3;&lt;/script&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with style, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-style-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of descendant text while ignoring descendant style elements.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with style, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-style-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of descendant text while ignoring descendant style elements.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with style, then R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-style-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of descendant text while ignoring descendant style elements.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedstyleRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-style-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with style, then R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-style-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of descendant text while ignoring descendant style elements.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;style&gt;body {color:black;}&lt;/style&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with textarea, then L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-textarea-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of descendant text while ignoring descendant textarea elements.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
+      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
+      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;textarea&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/textarea&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;textarea&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/textarea&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;textarea&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/textarea&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;ltr&quot;&gt;&lt;textarea&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/textarea&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with textarea, then L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-textarea-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of descendant text while ignoring descendant textarea elements.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-      &amp;#x05D3; - The Hebrew letter Dalet (strongly RTL).
-      &amp;#x05D4; - The Hebrew letter He (strongly RTL).
-      &amp;#x05D5; - The Hebrew letter Vav (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;textarea&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/textarea&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;textarea&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/textarea&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;textarea&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/textarea&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;ltr&quot;&gt;&lt;textarea&gt;&amp;#x05D3;&amp;#x05D4;&amp;#x05D5;&lt;/textarea&gt;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, start with textarea, then R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-textarea-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of descendant text while ignoring descendant textarea elements.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;textarea&gt;DEF&lt;/textarea&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;textarea&gt;DEF&lt;/textarea&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;textarea&gt;DEF&lt;/textarea&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;div dir=&quot;rtl&quot;&gt;&lt;textarea&gt;DEF&lt;/textarea&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autocontainedtextareaRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-contained-textarea-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, start with textarea, then R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-contained-textarea-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of descendant text while ignoring descendant textarea elements.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;textarea&gt;DEF&lt;/textarea&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;textarea&gt;DEF&lt;/textarea&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;textarea&gt;DEF&lt;/textarea&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;div dir=&quot;rtl&quot;&gt;&lt;textarea&gt;DEF&lt;/textarea&gt;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&lt;/div&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, start with EN+L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-EN-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Latin letter A since digits are not strongly
+      directional, thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, start with EN+L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-EN-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Latin letter A since digits are not strongly
-      directional, thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, start with EN+R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-EN-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Hebrew letter Alef since digits are not strongly
+      directional, thus the direction must be resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputENRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-EN-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, start with EN+R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-EN-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Hebrew letter Alef since digits are not strongly
-      directional, thus the direction must be resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, start with L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05d0;&amp;#x05d1;&amp;#x05d2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05d0;&amp;#x05d1;&amp;#x05d2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05d0;&amp;#x05d1;&amp;#x05d2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05d0;&amp;#x05d1;&amp;#x05d2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, start with L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05d0;&amp;#x05d1;&amp;#x05d2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05d0;&amp;#x05d1;&amp;#x05d2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05d0;&amp;#x05d1;&amp;#x05d2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05d0;&amp;#x05d1;&amp;#x05d2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, start with N+EN+L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-EN-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Latin letter A since neutrals and digits are not
+      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, start with N+EN+L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-EN-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Latin letter A since neutrals and digits are not
-      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, start with N+EN+R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-EN-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Hebrew letter Alef since neutrals and digits are not
+      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, start with N+EN+R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-EN-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Hebrew letter Alef since neutrals and digits are not
-      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,54 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, all N+EN&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-EN-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value, or to LTR if there is no such
+      character.
+      In this test, there is no strongly directional character in the value,
+      thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNENrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-EN-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,54 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, all N+EN&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-EN-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value, or to LTR if there is no such
-      character.
-      In this test, there is no strongly directional character in the value,
-      thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, start with N+L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Latin letter A since neutrals are not
+      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, start with N+L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Latin letter A since neutrals are not
-      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, start with N+R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Hebrew letter Alef since neutrals are not
+      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputNRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-N-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, start with N+R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-N-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Hebrew letter Alef since neutrals are not
-      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, start with R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+      &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+      &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, start with R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-      &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-      &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with EN+L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-EN-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Latin letter A since digits are not strongly
+      directional, thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with EN+L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-EN-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Latin letter A since digits are not strongly
-      directional, thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with EN+R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-EN-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Hebrew letter Alef since digits are not strongly
+      directional, thus the direction must be resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptENRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-EN-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with EN+R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-EN-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Hebrew letter Alef since digits are not strongly
-      directional, thus the direction must be resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Latin letter A, thus the direction must be
+      resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Latin letter A, thus the direction must be
-      resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with N+EN+L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-EN-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Latin letter A since neutrals and digits are not
+      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with N+EN+L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-EN-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Latin letter A since neutrals and digits are not
-      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=123ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with N+EN+R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-EN-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Hebrew letter Alef since neutrals and digits are not
+      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with N+EN+R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-EN-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Hebrew letter Alef since neutrals and digits are not
-      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=123&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,54 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, script assigns to all N+EN&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-EN-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value, or to LTR if there is no such
+      character.
+      In this test, there is no strongly directional character in the value,
+      thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNENrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-EN-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,54 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, script assigns to all N+EN&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-EN-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value, or to LTR if there is no such
-      character.
-      In this test, there is no strongly directional character in the value,
-      thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;@123!&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNLexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNLrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with N+L&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-L-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Latin letter A since neutrals are not
+      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNLrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-L-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with N+L&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-L-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Latin letter A since neutrals are not
-      strongly directional, thus the direction must be resolved as LTR.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;ltr&quot; value=&quot;.-=ABC&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with N+R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Hebrew letter Alef since neutrals are not
+      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptNRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-N-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with N+R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-N-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Hebrew letter Alef since neutrals are not
-      strongly directional, thus the direction must be resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;.-=&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptRexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptRrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with R&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-R-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction of an input element is set according to
+      the first strong character of its value.
+      In this test, it is the Hebrew letter Alef, thus the direction must be
+      resolved as RTL.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
+      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
+    &lt;/div&gt;
+      &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+      &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoinputscriptRrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-input-script-R-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: input with dir=auto, script assigns to start with R&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-input-script-R-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Shai Berger&quot; href=&quot;mailto:shai@platonix.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction of an input element is set according to
-      the first strong character of its value.
-      In this test, it is the Hebrew letter Alef, thus the direction must be
-      resolved as RTL.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x05D1; - The Hebrew letter Bet (strongly RTL).
-      &amp;#x05D2; - The Hebrew letter Gimel (strongly RTL).
-    &lt;/div&gt;
-      &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-      &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;input type=&quot;text&quot; dir=&quot;rtl&quot; value=&quot;&amp;#x05D0;&amp;#x05D1;&amp;#x05D2;ABC.&quot; /&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoisolateexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoisolaterefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;title&gt;HTML Test: dir=auto, isolated in LTR text&lt;/title&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-isolate-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
+    &lt;meta name=&quot;assert&quot; content=&quot;
+      When dir='auto', the direction is set according to the first strong character
+      of the text, but the element behaves externally as a neutral character.
+      In this test, it allows a preceding R to form a single directional run
+      with a succeeding number.&quot; /&gt;
+    &lt;style&gt;
+      input, textarea {
+        font-size:1em;
+      }
+      body {
+        font-size:2em;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+      &amp;#x202D; - The LRO (left-to-right override) formatting character.
+      &amp;#x202C; - The PDF (pop directional formatting) formatting character; closes LRO.
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &amp;#x202D;1 a! &amp;#x05D0;&amp;#x202C;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &amp;#x202D;a !&amp;#x05D0; 1&amp;#x202C;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &amp;#x202D;1 a! &amp;#x05D0;&amp;#x202C;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &amp;#x202D;a !&amp;#x05D0; 1&amp;#x202C;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autoisolaterefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-isolate-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;title&gt;HTML Test: dir=auto, isolated in LTR text&lt;/title&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-isolate-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Matitiahu Allouche&quot; href=&quot;mailto:matitiahu.allouche@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Oren Roth&quot; href=&quot;mailto:oren.roth@gmail.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-dir-attribute&quot; /&gt;
-    &lt;meta name=&quot;assert&quot; content=&quot;
-      When dir='auto', the direction is set according to the first strong character
-      of the text, but the element behaves externally as a neutral character.
-      In this test, it allows a preceding R to form a single directional run
-      with a succeeding number.&quot; /&gt;
-    &lt;style&gt;
-      input, textarea {
-        font-size:1em;
-      }
-      body {
-        font-size:2em;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-      &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-      &amp;#x202D; - The LRO (left-to-right override) formatting character.
-      &amp;#x202C; - The PDF (pop directional formatting) formatting character; closes LRO.
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &amp;#x202D;1 a! &amp;#x05D0;&amp;#x202C;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &amp;#x202D;a !&amp;#x05D0; 1&amp;#x202C;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &amp;#x202D;1 a! &amp;#x05D0;&amp;#x202C;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &amp;#x202D;a !&amp;#x05D0; 1&amp;#x202C;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNENexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNENrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;style&gt;
+      body {
+        font-size:18px;
+        text-align:left;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;pre dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/pre&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;pre dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/pre&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;pre dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/pre&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;pre dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/pre&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNENrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-EN-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;style&gt;
-      body {
-        font-size:18px;
-        text-align:left;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;pre dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/pre&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;pre dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/pre&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;pre dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/pre&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;pre dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/pre&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNbetweenRsexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNbetweenRsrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;style&gt;
+      body {
+        font-size:18px;
+        text-align:left;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+        &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;pre dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/pre&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;pre dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/pre&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;pre dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/pre&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;pre dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/pre&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopreNbetweenRsrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-N-between-Rs-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;style&gt;
-      body {
-        font-size:18px;
-        text-align:left;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-        &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;pre dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/pre&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;pre dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/pre&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;pre dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/pre&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;pre dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/pre&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopremixedexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopremixedrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;style&gt;
+      body {
+        font-size:18px;
+        text-align:left;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;pre dir=&quot;ltr&quot;&gt;
+@123!
+@123!
+@123!
+@123!
+        &lt;/pre&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;pre dir=&quot;ltr&quot;&gt;
+@123!
+@123!
+@123!
+@123!
+        &lt;/pre&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;pre dir=&quot;ltr&quot;&gt;
+@123!
+@123!
+@123!
+@123!
+        &lt;/pre&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;pre dir=&quot;ltr&quot;&gt;
+@123!
+@123!
+@123!
+@123!
+        &lt;/pre&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autopremixedrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-pre-mixed-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;style&gt;
-      body {
-        font-size:18px;
-        text-align:left;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;pre dir=&quot;ltr&quot;&gt;
-@123!
-@123!
-@123!
-@123!
-        &lt;/pre&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;pre dir=&quot;ltr&quot;&gt;
-@123!
-@123!
-@123!
-@123!
-        &lt;/pre&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;pre dir=&quot;ltr&quot;&gt;
-@123!
-@123!
-@123!
-@123!
-        &lt;/pre&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;pre dir=&quot;ltr&quot;&gt;
-@123!
-@123!
-@123!
-@123!
-        &lt;/pre&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNENexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNENrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;style&gt;
+      body, textarea {
+        font-size:18px;
+        text-align:left;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNENrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;style&gt;
-      body, textarea {
-        font-size:18px;
-        text-align:left;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNbetweenRsexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNbetweenRsrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;style&gt;
+      body, textarea {
+        font-size:18px;
+        text-align:left;
+      }
+      textarea {
+        resize: none;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+        &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNbetweenRsrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-between-Rs-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;style&gt;
-      body, textarea {
-        font-size:18px;
-        text-align:left;
-      }
-      textarea {
-        resize: none;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-        &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareamixedexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptmixedrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;style&gt;
+      body, textarea {
+        font-size:18px;
+        text-align:left;
+      }
+      textarea {
+        resize: none;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;5&quot; dir=&quot;rtl&quot;&gt;
+!123@
+!123@
+!123@
+!123@
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;5&quot; dir=&quot;ltr&quot;&gt;
+@123!
+@123!
+@123!
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;5&quot; dir=&quot;rtl&quot;&gt;
+!123@
+!123@
+!123@
+!123@
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;5&quot; dir=&quot;ltr&quot;&gt;
+@123!
+@123!
+@123!
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareamixedrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;style&gt;
-      body, textarea {
-        font-size:18px;
-        text-align:left;
-      }
-      textarea {
-        resize: none;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;5&quot; dir=&quot;rtl&quot;&gt;
-!123@
-!123@
-!123@
-!123@
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;5&quot; dir=&quot;ltr&quot;&gt;
-@123!
-@123!
-@123!
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;5&quot; dir=&quot;rtl&quot;&gt;
-!123@
-!123@
-!123@
-!123@
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;5&quot; dir=&quot;ltr&quot;&gt;
-@123!
-@123!
-@123!
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNENexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareaNENrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-N-EN-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;style&gt;
+      body, textarea {
+        font-size:18px;
+        text-align:left;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNENrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-EN-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;style&gt;
-      body, textarea {
-        font-size:18px;
-        text-align:left;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;2&quot; dir=&quot;ltr&quot;&gt;
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNbetweenRsexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNbetweenRsrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-textarea-N-between-Rs-ref.html&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;style&gt;
+      body, textarea {
+        font-size:18px;
+        text-align:left;
+      }
+      textarea {
+        resize: none;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;comments&quot;&gt;
+      Key to entities used below:
+        &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
+    &lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
+&amp;#x05D0;
+!...
+&amp;#x05D0;
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptNbetweenRsrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;link rel=&quot;match&quot; href=&quot;dir_auto-textarea-N-between-Rs-ref.html&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;style&gt;
-      body, textarea {
-        font-size:18px;
-        text-align:left;
-      }
-      textarea {
-        resize: none;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;comments&quot;&gt;
-      Key to entities used below:
-        &amp;#x05D0; - The Hebrew letter Alef (strongly RTL).
-    &lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;4&quot; dir=&quot;rtl&quot;&gt;
-&amp;#x05D0;
-!...
-&amp;#x05D0;
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptmixedexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareamixedrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-mixed-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+  &lt;head&gt;
+    &lt;meta charset=&quot;utf-8&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
+    &lt;style&gt;
+      body, textarea {
+        font-size:18px;
+        text-align:left;
+      }
+      textarea {
+        resize: none;
+      }
+      .test, .ref {
+        border: medium solid gray;
+        width: 400px;
+        margin: 20px;
+      }
+      .comments {
+        display: none;
+      }
+    &lt;/style&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
+    &lt;div class=&quot;test&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;5&quot; dir=&quot;rtl&quot;&gt;
+!123@
+!123@
+!123@
+!123@
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;5&quot; dir=&quot;ltr&quot;&gt;
+@123!
+@123!
+@123!
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+    &lt;div class=&quot;ref&quot;&gt;
+      &lt;div dir=&quot;ltr&quot;&gt;
+        &lt;textarea rows=&quot;5&quot; dir=&quot;rtl&quot;&gt;
+!123@
+!123@
+!123@
+!123@
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+      &lt;div dir=&quot;rtl&quot;&gt;
+        &lt;textarea rows=&quot;5&quot; dir=&quot;ltr&quot;&gt;
+@123!
+@123!
+@123!
+@123!
+        &lt;/textarea&gt;
+      &lt;/div&gt;
+    &lt;/div&gt;
+  &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesdir_autotextareascriptmixedrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-mixed-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;meta charset=&quot;utf-8&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;Aharon Lanin&quot; href=&quot;mailto:aharon@google.com&quot; /&gt;
-    &lt;link rel=&quot;author&quot; title=&quot;HTML5 bidi test WG&quot; href=&quot;mailto:html5bidi@googlegroups.com&quot; /&gt;
-    &lt;style&gt;
-      body, textarea {
-        font-size:18px;
-        text-align:left;
-      }
-      textarea {
-        resize: none;
-      }
-      .test, .ref {
-        border: medium solid gray;
-        width: 400px;
-        margin: 20px;
-      }
-      .comments {
-        display: none;
-      }
-    &lt;/style&gt;
-  &lt;/head&gt;
-  &lt;body&gt;
-    &lt;div class=&quot;instructions&quot;&gt;&lt;p&gt;Test passes if the two boxes below look exactly the same.&lt;/p&gt;&lt;/div&gt;
-    &lt;div class=&quot;test&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;5&quot; dir=&quot;rtl&quot;&gt;
-!123@
-!123@
-!123@
-!123@
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;5&quot; dir=&quot;ltr&quot;&gt;
-@123!
-@123!
-@123!
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-    &lt;div class=&quot;ref&quot;&gt;
-      &lt;div dir=&quot;ltr&quot;&gt;
-        &lt;textarea rows=&quot;5&quot; dir=&quot;rtl&quot;&gt;
-!123@
-!123@
-!123@
-!123@
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-      &lt;div dir=&quot;rtl&quot;&gt;
-        &lt;textarea rows=&quot;5&quot; dir=&quot;ltr&quot;&gt;
-@123!
-@123!
-@123!
-@123!
-        &lt;/textarea&gt;
-      &lt;/div&gt;
-    &lt;/div&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxmllang01expectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxmllang01refhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;title&gt;Languages&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-lang-and-xml:lang-attributes&quot;&gt;
+&lt;link tel=&quot;help&quot; href=&quot;http://www.w3.org/TR/CSS2/selector.html#lang&quot;&gt;
+&lt;meta name=&quot;flags&quot; content=&quot;css21&quot;&gt;
+&lt;style&gt;
+#test &gt; * { background: limegreen; }
+&lt;/style&gt;
+&lt;body&gt;
+&lt;p&gt;All lines below should have a green background.&lt;/p&gt;
+&lt;div id=&quot;test&quot;&gt;
+&lt;div&gt;&lt;p&gt;{}{lang}{en}&lt;/p&gt;&lt;/div&gt;
+&lt;div&gt;&lt;p&gt;{}{xml:lang}{en}&lt;/p&gt;&lt;/div&gt;
+&lt;div&gt;&lt;div&gt;&lt;p&gt;Parent: {}{lang}{en}&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
+&lt;div&gt;&lt;div&gt;&lt;p&gt;Parent: {}{xml:lang}{en}&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
+&lt;div&gt;&lt;p&gt;{xml}{lang}{en}&lt;/p&gt;&lt;/div&gt;
+&lt;div&gt;&lt;p&gt;{xml}{lang}{en} - {lang}{de}&lt;/p&gt;&lt;/div&gt;
+&lt;div&gt;&lt;p&gt;{xml}{lang}{de} - {lang}{en}&lt;/p&gt;&lt;/div&gt;
+&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxmllang01refhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xmllang-01-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;title&gt;Languages&lt;/title&gt;
-&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
-&lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-lang-and-xml:lang-attributes&quot;&gt;
-&lt;link tel=&quot;help&quot; href=&quot;http://www.w3.org/TR/CSS2/selector.html#lang&quot;&gt;
-&lt;meta name=&quot;flags&quot; content=&quot;css21&quot;&gt;
-&lt;style&gt;
-#test &gt; * { background: limegreen; }
-&lt;/style&gt;
-&lt;body&gt;
-&lt;p&gt;All lines below should have a green background.&lt;/p&gt;
-&lt;div id=&quot;test&quot;&gt;
-&lt;div&gt;&lt;p&gt;{}{lang}{en}&lt;/p&gt;&lt;/div&gt;
-&lt;div&gt;&lt;p&gt;{}{xml:lang}{en}&lt;/p&gt;&lt;/div&gt;
-&lt;div&gt;&lt;div&gt;&lt;p&gt;Parent: {}{lang}{en}&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
-&lt;div&gt;&lt;div&gt;&lt;p&gt;Parent: {}{xml:lang}{en}&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
-&lt;div&gt;&lt;p&gt;{xml}{lang}{en}&lt;/p&gt;&lt;/div&gt;
-&lt;div&gt;&lt;p&gt;{xml}{lang}{en} - {lang}{de}&lt;/p&gt;&lt;/div&gt;
-&lt;div&gt;&lt;p&gt;{xml}{lang}{de} - {lang}{en}&lt;/p&gt;&lt;/div&gt;
-&lt;/div&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxyzzyexpectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxyzzyrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;title&gt;Invalid languages&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
+&lt;meta name=&quot;flags&quot; content=&quot;css21&quot;&gt;
+&lt;style&gt;#testp { color: green; }&lt;/style&gt;
+&lt;body&gt;
+&lt;div id=&quot;test&quot;&gt;
+&lt;p id=&quot;testp&quot; lang=&quot;xyzzy&quot;&gt;ABC&lt;/p&gt;
+&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributeslangxyzzyrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/lang-xyzzy-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;title&gt;Invalid languages&lt;/title&gt;
-&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
-&lt;meta name=&quot;flags&quot; content=&quot;css21&quot;&gt;
-&lt;style&gt;#testp { color: green; }&lt;/style&gt;
-&lt;body&gt;
-&lt;div id=&quot;test&quot;&gt;
-&lt;p id=&quot;testp&quot; lang=&quot;xyzzy&quot;&gt;ABC&lt;/p&gt;
-&lt;/div&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesstyle01expectedhtmlfromrev189474trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesstyle01refhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-expected.html (from rev 189474, trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-ref.html) (0 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-expected.html                                (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-expected.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;title&gt;The style attribute&lt;/title&gt;
+&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-style-attribute&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/css-style-attr/#syntax&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/CSS21/cascade.html#cascading-order&quot;&gt;
+&lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/CSS21/cascade.html#specificity&quot;&gt;
+&lt;style&gt;
+#test p { background: limegreen; }
+&lt;/style&gt;
+&lt;div id=&quot;test&quot;&gt;
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;p&gt;This line should have a green background.
+&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldomelementsglobalattributesstyle01refhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-ref.html (189474 => 189475)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-ref.html        2015-09-08 02:53:17 UTC (rev 189474)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/style-01-ref.html        2015-09-08 03:52:01 UTC (rev 189475)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;title&gt;The style attribute&lt;/title&gt;
-&lt;link rel=&quot;author&quot; title=&quot;Ms2ger&quot; href=&quot;mailto:ms2ger@gmail.com&quot;&gt;
-&lt;link rel=&quot;help&quot; href=&quot;https://html.spec.whatwg.org/multipage/#the-style-attribute&quot;&gt;
-&lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/css-style-attr/#syntax&quot;&gt;
-&lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/CSS21/cascade.html#cascading-order&quot;&gt;
-&lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/CSS21/cascade.html#specificity&quot;&gt;
-&lt;style&gt;
-#test p { background: limegreen; }
-&lt;/style&gt;
-&lt;div id=&quot;test&quot;&gt;
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;p&gt;This line should have a green background.
-&lt;/div&gt;
</del></span></pre>
</div>
</div>

</body>
</html>