Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: LayoutTests/fast/text/international/bidi-crash-reached-end-of-line.html

Issue 67313009: BidiResolver needs to know when it reached the end of the line. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/text/international/bidi-crash-reached-end-of-line-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <body onload="runTest();">
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5
6 function reference(domNode)
7 {
8 this.domNode = domNode;
9 }
10 function walk(a, currentPrefix, index, domNode)
11 {
12 if (domNode == null)
13 return;
14 newPrefix = currentPrefix + "_" + index;
15 walk(a, currentPrefix, index + 1, domNode.nextSibling);
16 walk(a, newPrefix, 0, domNode.firstChild);
17 a[newPrefix] = new reference(domNode);
18 }
19 function clearAllNodes()
20 {
21 var a = new Array();
22 walk(a, "", 0, document.body);
23 for (key in a)
24 {
25 document.body.offsetTop;
26 child = a[key].domNode.parentNode.removeChild(a[key].domNode);
27 }
28 }
29 function runTest() {
30 clearAllNodes();
31 document.body = document.createElement("body");
32 document.body.innerHTML = "This test has passed if it doesn't crash un der ASAN";
33 }
34 </script>>>>>>><legend style="widows:994907373; padding-right:493197256% ; ">><h1 accesskey="5N'" class="Y990" dir="rtl" style="direction:rtl; line-heigh t:20034836;" id="8" lang="tr" >>>>><abbr title="@u\>qr$^" accesskey="" tabindex= "2147483648" title="\" title="QA'>9JQT" style="border-top-width:medium; white-s pace:pre-line; " id="b71pkZOs" >>><center>,</center>
35 <dl>></dl>
36 <output>nnlN8rc<b></b>
37 </output>
38 > lang="xh" ></i>
39 <output></output>
40 </abbr>
41 <sup>>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/text/international/bidi-crash-reached-end-of-line-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698