[webkit-changes] cvs commit: LayoutTests/fast/text/international
bidi-LDB-2-CSS-expected.checksum bidi-LDB-2-CSS-expected.png
bidi-LDB-2-CSS-expected.txt bidi-LDB-2-CSS.html
bidi-LDB-2-HTML-expected.checksum
bidi-LDB-2-HTML-expected.png bidi-LDB-2-HTML-expected.txt
bidi-LDB-2-HTML.html
bidi-LDB-2-formatting-characters-expected.checksum
bidi-LDB-2-formatting-characters-expected.png
bidi-LDB-2-formatting-characters-expected.txt
bidi-LDB-2-formatting-characters.html
bidi-explicit-embedding-expected.checksum
bidi-explicit-embedding-expected.png
bidi-explicit-embedding-expected.txt bidi-override-expected.txt
Darin
darin at opensource.apple.com
Sat Oct 8 18:46:19 PDT 2005
darin 05/10/08 18:46:19
Modified: . ChangeLog
khtml/rendering bidi.cpp
. ChangeLog
fast/dom/HTMLElement bdo-expected.txt
fast/text/international
bidi-explicit-embedding-expected.checksum
bidi-explicit-embedding-expected.png
bidi-explicit-embedding-expected.txt
bidi-override-expected.txt
Added: fast/text/international bidi-LDB-2-CSS-expected.checksum
bidi-LDB-2-CSS-expected.png
bidi-LDB-2-CSS-expected.txt bidi-LDB-2-CSS.html
bidi-LDB-2-HTML-expected.checksum
bidi-LDB-2-HTML-expected.png
bidi-LDB-2-HTML-expected.txt bidi-LDB-2-HTML.html
bidi-LDB-2-formatting-characters-expected.checksum
bidi-LDB-2-formatting-characters-expected.png
bidi-LDB-2-formatting-characters-expected.txt
bidi-LDB-2-formatting-characters.html
Log:
LayoutTests:
Test cases for http://bugzilla.opendarwin.org/show_bug.cgi?id=4898
(Failures in dbaron's bidi ordering tests).
* fast/dom/HTMLElement/bdo-expected.txt: Updated for differently-breaking text runs.
* fast/text/international/bidi-override-expected.txt: Updated because override characters no
longer show up in the render tree.
* fast/text/international/bidi-LDB-2-CSS-expected.checksum: Added.
* fast/text/international/bidi-LDB-2-CSS-expected.png: Added.
* fast/text/international/bidi-LDB-2-CSS-expected.txt: Added.
* fast/text/international/bidi-LDB-2-CSS.html: Added.
* fast/text/international/bidi-LDB-2-HTML-expected.checksum: Added.
* fast/text/international/bidi-LDB-2-HTML-expected.png: Added.
* fast/text/international/bidi-LDB-2-HTML-expected.txt: Added.
* fast/text/international/bidi-LDB-2-HTML.html: Added.
* fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum: Added.
* fast/text/international/bidi-LDB-2-formatting-characters-expected.png: Added.
* fast/text/international/bidi-LDB-2-formatting-characters-expected.txt: Added.
* fast/text/international/bidi-LDB-2-formatting-characters.html: Added.
* fast/text/international/bidi-explicit-embedding-expected.checksum: Updated to now-correct results.
* fast/text/international/bidi-explicit-embedding-expected.png: Ditto.
* fast/text/international/bidi-explicit-embedding-expected.txt: Ditto.
WebCore:
Reviewed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4898
Failures in dbaron's bidi ordering tests
Added 3 dbaron bidi ordering tests to LayoutTests.
* khtml/rendering/bidi.cpp:
(khtml::deleteBidiRuns):
(khtml::Bidinext):
(khtml::appendRunsForObject):
(khtml::embed):
(khtml::RenderBlock::bidiReorderLine):
Revision Changes Path
1.221 +16 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -r1.220 -r1.221
--- ChangeLog 8 Oct 2005 10:45:05 -0000 1.220
+++ ChangeLog 9 Oct 2005 01:46:09 -0000 1.221
@@ -1,3 +1,19 @@
+2005-10-08 Mitz Pettel <opendarwin.org at mitzpettel.com>
+
+ Reviewed by Darin.
+
+ - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4898
+ Failures in dbaron's bidi ordering tests
+
+ Added 3 dbaron bidi ordering tests to LayoutTests.
+
+ * khtml/rendering/bidi.cpp:
+ (khtml::deleteBidiRuns):
+ (khtml::Bidinext):
+ (khtml::appendRunsForObject):
+ (khtml::embed):
+ (khtml::RenderBlock::bidiReorderLine):
+
2005-10-08 Rob Buis <rwlbuis at xs4all.nl>
Reviewed by eseidel.
1.147 +119 -62 WebCore/khtml/rendering/bidi.cpp
Index: bidi.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/rendering/bidi.cpp,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- bidi.cpp 6 Oct 2005 18:37:42 -0000 1.146
+++ bidi.cpp 9 Oct 2005 01:46:14 -0000 1.147
@@ -176,6 +176,7 @@
static void deleteBidiRuns(RenderArena* arena)
{
+ emptyRun = true;
if (!sFirstBidiRun)
return;
@@ -256,7 +257,7 @@
next = current->firstChild();
if ( next && adjustEmbedding ) {
EUnicodeBidi ub = next->style()->unicodeBidi();
- if ( ub != UBNormal && !emptyRun ) {
+ if ( ub != UBNormal ) {
EDirection dir = next->style()->direction();
QChar::Direction d = ( ub == Embed ? ( dir == RTL ? QChar::DirRLE : QChar::DirLRE )
: ( dir == RTL ? QChar::DirRLO : QChar::DirLRO ) );
@@ -276,7 +277,7 @@
while (current && current != par) {
next = current->nextSibling();
if (next) break;
- if ( adjustEmbedding && current->style()->unicodeBidi() != UBNormal && !emptyRun ) {
+ if ( adjustEmbedding && current->style()->unicodeBidi() != UBNormal ) {
embed( QChar::DirPDF, bidi );
}
current = current->parent();
@@ -529,8 +530,9 @@
betweenMidpoints = true;
sCurrMidpoint++;
if (nextMidpoint.pos != UINT_MAX) { // UINT_MAX means stop at the object and don't include any of it.
- addRun(new (obj->renderArena())
- BidiRun(start, nextMidpoint.pos+1, obj, bidi.context, dir));
+ if (int(nextMidpoint.pos+1) > start)
+ addRun(new (obj->renderArena())
+ BidiRun(start, nextMidpoint.pos+1, obj, bidi.context, dir));
return appendRunsForObject(nextMidpoint.pos+1, end, obj, bidi);
}
}
@@ -577,23 +579,40 @@
#endif
bool b = adjustEmbedding ;
adjustEmbedding = false;
- if ( d == QChar::DirPDF ) {
+ if (d == QChar::DirPDF) {
BidiContext *c = bidi.context->parent;
if (c) {
- if ( bidi.eor != bidi.last ) {
- appendRun( bidi );
- bidi.eor = bidi.last;
- }
- appendRun( bidi );
+ if ( !emptyRun && bidi.eor != bidi.last ) {
+ assert(bidi.status.eor != QChar::DirON);
+ // bidi.sor ... bidi.eor ... bidi.last eor; need to append the bidi.sor-bidi.eor run or extend it through bidi.last
+ assert(bidi.status.last == QChar::DirES || bidi.status.last == QChar::DirET || bidi.status.last == QChar::DirCS || bidi.status.last == QChar::DirBN || bidi.status.last == QChar::DirB || bidi.status.last == QChar::DirS || bidi.status.last == QChar::DirWS || bidi.status.last == QChar::DirON);
+ if (dir == QChar::DirON)
+ dir = bidi.context->dir;
+ if (bidi.context->dir == QChar::DirL) {
+ // bidi.sor ... bidi.eor ... bidi.last L
+ if (bidi.status.eor == QChar::DirEN) {
+ if (bidi.status.lastStrong != QChar::DirL) {
+ dir = QChar::DirEN;
+ appendRun(bidi);
+ }
+ } else if (bidi.status.eor == QChar::DirAN) {
+ dir = QChar::DirAN;
+ appendRun(bidi);
+ } else if (bidi.status.eor != QChar::DirL)
+ appendRun(bidi);
+ } else if (bidi.status.eor != QChar::DirR && bidi.status.eor != QChar::DirAL)
+ appendRun(bidi);
+ bidi.eor = bidi.last;
+ }
+ appendRun(bidi);
emptyRun = true;
+ // sor for the new run is determined by the higher level (rule X10)
bidi.status.last = bidi.context->dir;
+ bidi.status.lastStrong = bidi.context->dir;
bidi.context->deref();
bidi.context = c;
- if(bidi.context->override)
- dir = bidi.context->dir;
- else
- dir = QChar::DirON;
- bidi.status.lastStrong = bidi.context->dir;
+ bidi.status.eor = bidi.context->dir;
+ bidi.eor.obj = 0;
}
} else {
QChar::Direction runDir;
@@ -601,11 +620,7 @@
runDir = QChar::DirR;
else
runDir = QChar::DirL;
- bool override;
- if( d == QChar::DirLRO || d == QChar::DirRLO )
- override = true;
- else
- override = false;
+ bool override = d == QChar::DirLRO || d == QChar::DirRLO;
unsigned char level = bidi.context->level;
if ( runDir == QChar::DirR ) {
@@ -621,19 +636,52 @@
}
if(level < 61) {
- if ( bidi.eor != bidi.last ) {
- appendRun( bidi );
- bidi.eor = bidi.last;
+ if ( !emptyRun && bidi.eor != bidi.last ) {
+ assert(bidi.status.eor != QChar::DirON);
+ // bidi.sor ... bidi.eor ... bidi.last eor; need to append the bidi.sor-bidi.eor run or extend it through bidi.last
+ assert(bidi.status.last == QChar::DirES || bidi.status.last == QChar::DirET || bidi.status.last == QChar::DirCS || bidi.status.last == QChar::DirBN || bidi.status.last == QChar::DirB || bidi.status.last == QChar::DirS || bidi.status.last == QChar::DirWS || bidi.status.last == QChar::DirON);
+ if (dir == QChar::DirON)
+ dir = runDir;
+ if (runDir == QChar::DirL) {
+ // bidi.sor ... bidi.eor ... bidi.last L
+ if (bidi.status.eor == QChar::DirEN) {
+ if (bidi.status.lastStrong != QChar::DirL) {
+ dir = QChar::DirEN;
+ appendRun(bidi);
+ if (bidi.context->dir != QChar::DirL)
+ dir = QChar::DirR;
+ }
+ } else if (bidi.status.eor == QChar::DirAN) {
+ dir = QChar::DirAN;
+ appendRun(bidi);
+ if (bidi.context->dir != QChar::DirL) {
+ bidi.eor = bidi.last;
+ dir = QChar::DirR;
+ appendRun(bidi);
+ }
+ } else if (bidi.status.eor != QChar::DirL) {
+ if(bidi.context->dir == QChar::DirL || bidi.status.lastStrong == QChar::DirL)
+ appendRun(bidi);
+ else
+ dir = QChar::DirR;
+ }
+ } else if (bidi.status.eor != QChar::DirR && bidi.status.eor != QChar::DirAL) {
+ // bidi.sor ... bidi.eor ... bidi.last R; bidi.eor=L/EN/AN; EN,AN behave like R (rule N1)
+ if (bidi.context->dir == QChar::DirR || bidi.status.lastStrong == QChar::DirR || bidi.status.lastStrong == QChar::DirAL)
+ appendRun(bidi);
+ else
+ dir = QChar::DirL;
}
- appendRun( bidi );
- emptyRun = true;
-
+ bidi.eor = bidi.last;
+ }
+ appendRun(bidi);
+ emptyRun = true;
bidi.context = new BidiContext(level, runDir, bidi.context, override);
bidi.context->ref();
- dir = runDir;
bidi.status.last = runDir;
bidi.status.lastStrong = runDir;
bidi.status.eor = runDir;
+ bidi.eor.obj = 0;
}
}
adjustEmbedding = b;
@@ -904,9 +952,10 @@
// context->ref();
- dir = bidi.context->dir;
+ dir = QChar::DirON;
emptyRun = true;
+ bidi.status.eor = bidi.context->dir;
bidi.eor.obj = 0;
numSpaces = 0;
@@ -929,6 +978,8 @@
dirCurrent = bidi.current.direction();
if (bidi.context->override && dirCurrent != QChar::DirRLE && dirCurrent != QChar::DirLRE && dirCurrent != QChar::DirRLO && dirCurrent != QChar::DirLRO && dirCurrent != QChar::DirPDF)
dirCurrent = bidi.context->dir;
+ else if (dirCurrent == QChar::DirNSM)
+ dirCurrent = bidi.status.last;
}
#ifndef QT_NO_UNICODETABLES
@@ -936,7 +987,7 @@
#if BIDI_DEBUG > 1
kdDebug(6041) << "directions: dir=" << (int)dir << " current=" << (int)dirCurrent << " last=" << status.last << " eor=" << status.eor << " lastStrong=" << status.lastStrong << " embedding=" << (int)context->dir << " level =" << (int)context->level << endl;
#endif
-
+ assert(bidi.status.eor != QChar::DirON);
switch(dirCurrent) {
// embedding and overrides (X1-X9 in the Bidi specs)
@@ -950,8 +1001,6 @@
// strong types
case QChar::DirL:
- if(dir == QChar::DirON)
- dir = QChar::DirL;
switch(bidi.status.last)
{
case QChar::DirR:
@@ -998,10 +1047,9 @@
}
} else if(bidi.status.eor != QChar::DirL) {
//last stuff takes embedding dir
- if(bidi.context->dir == QChar::DirL || bidi.status.lastStrong == QChar::DirL) {
- if (bidi.status.eor != QChar::DirON)
+ if(bidi.context->dir == QChar::DirL || bidi.status.lastStrong == QChar::DirL)
appendRun( bidi );
- } else {
+ else {
dir = QChar::DirR;
bidi.eor = bidi.last;
appendRun( bidi );
@@ -1009,27 +1057,23 @@
}
bidi.eor = bidi.current;
bidi.status.eor = QChar::DirL;
- dir = QChar::DirL;
default:
break;
}
bidi.status.lastStrong = QChar::DirL;
+ dir = QChar::DirL;
break;
case QChar::DirAL:
case QChar::DirR:
- if(dir == QChar::DirON) dir = QChar::DirR;
switch(bidi.status.last)
{
- case QChar::DirR:
- case QChar::DirAL:
- bidi.eor = bidi.current; bidi.status.eor = QChar::DirR; break;
case QChar::DirL:
case QChar::DirEN:
case QChar::DirAN:
- appendRun( bidi );
- dir = QChar::DirR;
- bidi.eor = bidi.current;
- bidi.status.eor = QChar::DirR;
+ appendRun(bidi);
+ case QChar::DirR:
+ case QChar::DirAL:
+ bidi.eor = bidi.current;
break;
case QChar::DirES:
case QChar::DirET:
@@ -1039,41 +1083,32 @@
case QChar::DirS:
case QChar::DirWS:
case QChar::DirON:
- if( !(bidi.status.eor == QChar::DirR) && !(bidi.status.eor == QChar::DirAL) ) {
+ if (bidi.status.eor != QChar::DirR && bidi.status.eor != QChar::DirAL) {
//last stuff takes embedding dir
if(bidi.context->dir == QChar::DirR || bidi.status.lastStrong == QChar::DirR
|| bidi.status.lastStrong == QChar::DirAL) {
appendRun( bidi );
- dir = QChar::DirR;
bidi.eor = bidi.current;
- bidi.status.eor = QChar::DirR;
} else {
dir = QChar::DirL;
bidi.eor = bidi.last;
appendRun( bidi );
- dir = QChar::DirR;
- bidi.status.eor = QChar::DirR;
}
- } else {
- bidi.eor = bidi.current; bidi.status.eor = QChar::DirR;
- }
+ } else
+ bidi.eor = bidi.current;
default:
break;
}
+ bidi.status.eor = QChar::DirR;
bidi.status.lastStrong = dirCurrent;
+ dir = QChar::DirR;
break;
// weak types:
- case QChar::DirNSM:
- // ### if @sor, set dir to dirSor
- break;
case QChar::DirEN:
if(!(bidi.status.lastStrong == QChar::DirAL)) {
// if last strong was AL change EN to AN
- if(dir == QChar::DirON) {
- dir = QChar::DirL;
- }
switch(bidi.status.last)
{
case QChar::DirET:
@@ -1091,9 +1126,12 @@
case QChar::DirR:
case QChar::DirAL:
case QChar::DirAN:
+ bidi.eor = bidi.last;
appendRun( bidi );
- bidi.status.eor = QChar::DirEN;
- dir = QChar::DirEN; break;
+ bidi.eor = bidi.current;
+ bidi.status.eor = QChar::DirEN;
+ dir = QChar::DirEN;
+ break;
case QChar::DirES:
case QChar::DirCS:
if(bidi.status.eor == QChar::DirEN) {
@@ -1130,11 +1168,12 @@
default:
break;
}
+ if (dir==QChar::DirON)
+ dir = QChar::DirL;
break;
}
case QChar::DirAN:
dirCurrent = QChar::DirAN;
- if(dir == QChar::DirON) dir = QChar::DirAN;
switch(bidi.status.last)
{
case QChar::DirL:
@@ -1143,8 +1182,11 @@
case QChar::DirR:
case QChar::DirAL:
case QChar::DirEN:
+ bidi.eor = bidi.last;
appendRun( bidi );
- dir = QChar::DirAN; bidi.status.eor = QChar::DirAN;
+ bidi.eor = bidi.current;
+ bidi.status.eor = QChar::DirAN;
+ dir = QChar::DirAN;
break;
case QChar::DirCS:
if(bidi.status.eor == QChar::DirAN) {
@@ -1186,6 +1228,8 @@
default:
break;
}
+ if (dir == QChar::DirON)
+ dir = QChar::DirAN;
break;
case QChar::DirES:
case QChar::DirCS:
@@ -1211,6 +1255,8 @@
// boundary neutrals should be ignored
case QChar::DirBN:
+ if (bidi.eor == bidi.last)
+ bidi.eor = bidi.current;
break;
// neutrals
case QChar::DirB:
@@ -1258,6 +1304,11 @@
break;
case QChar::DirNSM:
case QChar::DirBN:
+ case QChar::DirRLE:
+ case QChar::DirLRE:
+ case QChar::DirRLO:
+ case QChar::DirLRO:
+ case QChar::DirPDF:
// ignore these
break;
case QChar::DirEN:
@@ -1270,7 +1321,7 @@
if ( atEnd ) break;
bidi.last = bidi.current;
- if ( emptyRun ) {
+ if (emptyRun && !(dirCurrent == QChar::DirRLE || dirCurrent == QChar::DirLRE || dirCurrent == QChar::DirRLO || dirCurrent == QChar::DirLRO || dirCurrent == QChar::DirPDF)) {
bidi.sor = bidi.current;
emptyRun = false;
}
@@ -1280,6 +1331,12 @@
adjustEmbedding = true;
bidi.current.increment( bidi );
adjustEmbedding = false;
+ if (emptyRun && (dirCurrent == QChar::DirRLE || dirCurrent == QChar::DirLRE || dirCurrent == QChar::DirRLO || dirCurrent == QChar::DirLRO || dirCurrent == QChar::DirPDF)) {
+ // exclude the embedding char itself from the new run so that ATSUI will never see it
+ bidi.eor.obj = 0;
+ bidi.last = bidi.current;
+ bidi.sor = bidi.current;
+ }
if ( bidi.current == end ) {
if ( emptyRun )
1.19 +28 -0 LayoutTests/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/LayoutTests/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog 8 Oct 2005 00:51:23 -0000 1.18
+++ ChangeLog 9 Oct 2005 01:46:15 -0000 1.19
@@ -1,3 +1,31 @@
+2005-10-08 Darin Adler <darin at apple.com>
+
+ Test cases for http://bugzilla.opendarwin.org/show_bug.cgi?id=4898
+ (Failures in dbaron's bidi ordering tests).
+
+ * fast/dom/HTMLElement/bdo-expected.txt: Updated for differently-breaking text runs.
+ * fast/text/international/bidi-override-expected.txt: Updated because override characters no
+ longer show up in the render tree.
+
+ * fast/text/international/bidi-LDB-2-CSS-expected.checksum: Added.
+ * fast/text/international/bidi-LDB-2-CSS-expected.png: Added.
+ * fast/text/international/bidi-LDB-2-CSS-expected.txt: Added.
+ * fast/text/international/bidi-LDB-2-CSS.html: Added.
+
+ * fast/text/international/bidi-LDB-2-HTML-expected.checksum: Added.
+ * fast/text/international/bidi-LDB-2-HTML-expected.png: Added.
+ * fast/text/international/bidi-LDB-2-HTML-expected.txt: Added.
+ * fast/text/international/bidi-LDB-2-HTML.html: Added.
+
+ * fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum: Added.
+ * fast/text/international/bidi-LDB-2-formatting-characters-expected.png: Added.
+ * fast/text/international/bidi-LDB-2-formatting-characters-expected.txt: Added.
+ * fast/text/international/bidi-LDB-2-formatting-characters.html: Added.
+
+ * fast/text/international/bidi-explicit-embedding-expected.checksum: Updated to now-correct results.
+ * fast/text/international/bidi-explicit-embedding-expected.png: Ditto.
+ * fast/text/international/bidi-explicit-embedding-expected.txt: Ditto.
+
2005-10-07 David Harrison <harrison at apple.com>
Reviewed by Justin.
1.2 +3 -6 LayoutTests/fast/dom/HTMLElement/bdo-expected.txt
Index: bdo-expected.txt
===================================================================
RCS file: /cvs/root/LayoutTests/fast/dom/HTMLElement/bdo-expected.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bdo-expected.txt 5 Jul 2005 21:10:46 -0000 1.1
+++ bdo-expected.txt 9 Oct 2005 01:46:15 -0000 1.2
@@ -35,8 +35,7 @@
RenderBR {BR} at (0,0) size 0x0
RenderInline {BDO} at (0,0) size 209x18
RenderText {TEXT} at (0,36) size 209x18
- text run at (0,36) width 205: "This sentence should be forward"
- text run at (205,36) width 4: "."
+ text run at (0,36) width 209: "This sentence should be forward."
RenderText {TEXT} at (209,36) size 4x18
text run at (209,36) width 4: " "
RenderBR {BR} at (0,0) size 0x0
@@ -51,13 +50,11 @@
RenderBR {BR} at (0,0) size 0x0
RenderInline {BDO} at (0,0) size 290x18
RenderText {TEXT} at (0,90) size 26x18
- text run at (0,90) width 22: "My"
- text run at (22,90) width 4: " "
+ text run at (0,90) width 26: "My "
RenderInline {BDO} at (0,0) size 55x18
RenderText {TEXT} at (26,90) size 55x18
text run at (26,90) width 55: "umbrella"
RenderText {TEXT} at (81,90) size 209x18
- text run at (81,90) width 205: " sure would be useful in this rain"
- text run at (286,90) width 4: "."
+ text run at (81,90) width 209: " sure would be useful in this rain."
RenderText {TEXT} at (0,0) size 0x0
RenderText {TEXT} at (0,0) size 0x0
1.3 +1 -1 LayoutTests/fast/text/international/bidi-explicit-embedding-expected.checksum
Index: bidi-explicit-embedding-expected.checksum
===================================================================
RCS file: /cvs/root/LayoutTests/fast/text/international/bidi-explicit-embedding-expected.checksum,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bidi-explicit-embedding-expected.checksum 24 Sep 2005 13:18:53 -0000 1.2
+++ bidi-explicit-embedding-expected.checksum 9 Oct 2005 01:46:16 -0000 1.3
@@ -1 +1 @@
-1b9ea20a9719b33f135233235869f178
\ No newline at end of file
+9e744d5ff187ef6e114d75297e9e9f7d
\ No newline at end of file
1.3 +87 -83 LayoutTests/fast/text/international/bidi-explicit-embedding-expected.png
<<Binary file>>
1.3 +28 -40 LayoutTests/fast/text/international/bidi-explicit-embedding-expected.txt
Index: bidi-explicit-embedding-expected.txt
===================================================================
RCS file: /cvs/root/LayoutTests/fast/text/international/bidi-explicit-embedding-expected.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bidi-explicit-embedding-expected.txt 24 Sep 2005 13:18:53 -0000 1.2
+++ bidi-explicit-embedding-expected.txt 9 Oct 2005 01:46:17 -0000 1.3
@@ -11,19 +11,16 @@
RenderBlock {P} at (0,70) size 784x18
RenderText {TEXT} at (0,0) size 62x18
text run at (0,0) width 27: "\x{5D0}\x{5D1}\x{5D2}"
- text run at (27,0) width 30: " def"
- text run at (57,0) width 5: " "
- RenderInline {SPAN} at (0,0) size 39x18
- RenderText {TEXT} at (62,0) size 39x18
- text run at (62,0) width 6: "]"
- text run at (68,0) width 33: "(\x{5D6}\x{5D7}\x{5D8}"
- RenderText {TEXT} at (101,0) size 24x18
- text run at (101,0) width 24: " jkl"
+ text run at (27,0) width 35: " def "
+ RenderInline {SPAN} at (0,0) size 38x18
+ RenderText {TEXT} at (62,0) size 38x18
+ text run at (62,0) width 38: "(\x{5D6}\x{5D7}\x{5D8}]"
+ RenderText {TEXT} at (100,0) size 24x18
+ text run at (100,0) width 24: " jkl"
RenderBlock {P} at (0,104) size 784x18
RenderText {TEXT} at (0,0) size 62x18
text run at (0,0) width 27: "\x{5D0}\x{5D1}\x{5D2}"
- text run at (27,0) width 30: " def"
- text run at (57,0) width 5: " "
+ text run at (27,0) width 35: " def "
RenderInline {SPAN} at (0,0) size 36x18
RenderText {TEXT} at (62,0) size 36x18
text run at (62,0) width 6: "]"
@@ -33,8 +30,7 @@
text run at (98,0) width 24: " jkl"
RenderBlock {P} at (0,138) size 784x18
RenderText {TEXT} at (0,0) size 33x18
- text run at (0,0) width 28: "abc"
- text run at (28,0) width 5: " "
+ text run at (0,0) width 33: "abc "
RenderInline {SPAN} at (0,0) size 58x18
RenderText {TEXT} at (33,0) size 58x18
text run at (33,0) width 6: "]"
@@ -45,23 +41,21 @@
RenderText {TEXT} at (91,0) size 31x18
text run at (91,0) width 31: " fgh"
RenderBlock {P} at (0,172) size 784x18
- RenderText {TEXT} at (0,0) size 122x18
- text run at (0,0) width 28: "abc"
- text run at (28,0) width 5: " "
+ RenderText {TEXT} at (0,0) size 121x18
+ text run at (0,0) width 33: "abc "
text run at (33,0) width 5: "]"
text run at (38,0) width 21: "23"
text run at (59,0) width 5: " "
text run at (64,0) width 21: "45"
- text run at (85,0) width 6: "\x{202B}("
- text run at (91,0) width 31: "\x{202C} fgh"
+ text run at (85,0) width 5: "("
+ text run at (90,0) width 31: " fgh"
RenderBlock {P} at (0,206) size 784x18
- RenderText {TEXT} at (0,0) size 109x18
- text run at (0,0) width 28: "abc"
- text run at (28,0) width 5: " "
+ RenderText {TEXT} at (0,0) size 108x18
+ text run at (0,0) width 33: "abc "
text run at (33,0) width 5: "]"
text run at (38,0) width 40: "de fg"
- text run at (78,0) width 6: "\x{202B}("
- text run at (84,0) width 25: "\x{202C} hij"
+ text run at (78,0) width 5: "("
+ text run at (83,0) width 25: " hij"
RenderBlock {P} at (0,240) size 784x18
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "1"
@@ -76,39 +70,34 @@
text run at (0,0) width 11: "1"
RenderInline {SPAN} at (0,0) size 50x18
RenderText {TEXT} at (11,0) size 50x18
- text run at (11,0) width 6: "]"
- text run at (17,0) width 20: " \x{5D2}\x{5D3}"
+ text run at (11,0) width 26: " \x{5D2}\x{5D3}]"
text run at (37,0) width 19: "ab"
text run at (56,0) width 5: "("
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {P} at (0,308) size 784x18
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "1"
- RenderInline {SPAN} at (0,0) size 21x18
- RenderText {TEXT} at (11,0) size 21x18
+ RenderInline {SPAN} at (0,0) size 20x18
+ RenderText {TEXT} at (11,0) size 20x18
text run at (11,0) width 5: "]"
text run at (16,0) width 10: "2"
- text run at (26,0) width 6: "\x{202B}("
- text run at (32,0) width 0: "\x{202C}"
+ text run at (26,0) width 5: "("
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {P} at (0,342) size 784x18
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "1"
- RenderInline {SPAN} at (0,0) size 20x18
- RenderText {TEXT} at (11,0) size 20x18
+ RenderInline {SPAN} at (0,0) size 19x18
+ RenderText {TEXT} at (11,0) size 19x18
text run at (11,0) width 5: "]"
text run at (16,0) width 9: "a"
- text run at (25,0) width 6: "\x{202B}("
- text run at (31,0) width 0: "\x{202C}"
+ text run at (25,0) width 5: "("
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {P} at (0,376) size 784x18
RenderText {TEXT} at (0,0) size 60x18
text run at (0,0) width 10: "1"
- text run at (10,0) width 5: "]"
- text run at (15,0) width 20: " \x{5D2}\x{5D3}"
- text run at (35,0) width 19: "ab"
- text run at (54,0) width 6: "\x{202B}("
- text run at (60,0) width 0: "\x{202C}"
+ text run at (10,0) width 26: " \x{5D2}\x{5D3}]"
+ text run at (36,0) width 19: "ab"
+ text run at (55,0) width 5: "("
RenderBlock {P} at (0,410) size 784x18
RenderInline {SPAN} at (0,0) size 101x18
RenderText {TEXT} at (0,0) size 101x18
@@ -119,10 +108,9 @@
text run at (96,0) width 5: "("
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {P} at (0,444) size 784x18
- RenderText {TEXT} at (0,0) size 101x18
+ RenderText {TEXT} at (0,0) size 100x18
text run at (0,0) width 5: "]"
text run at (5,0) width 28: "abc"
text run at (33,0) width 37: " \x{5D0}\x{5D1}\x{5D2} "
text run at (70,0) width 25: "def"
- text run at (95,0) width 6: "\x{202B}("
- text run at (101,0) width 0: "\x{202C}"
+ text run at (95,0) width 5: "("
1.3 +8 -8 LayoutTests/fast/text/international/bidi-override-expected.txt
Index: bidi-override-expected.txt
===================================================================
RCS file: /cvs/root/LayoutTests/fast/text/international/bidi-override-expected.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bidi-override-expected.txt 24 Sep 2005 13:18:54 -0000 1.2
+++ bidi-override-expected.txt 9 Oct 2005 01:46:17 -0000 1.3
@@ -110,20 +110,20 @@
RenderTableCell {TD} at (97,81) size 238x27 [border: (1px solid #008000)] [r=3 c=1 rs=1 cs=1]
RenderText {TEXT} at (5,5) size 229x18
text run at (5,5) width 22: "abc"
- text run at (27,5) width 66: "\x{202E}ihg\x{5D0}\x{5D1}\x{5D2}fed"
- text run at (93,5) width 20: "\x{202C}jkl "
- text run at (113,5) width 23: "\x{202C}\x{5D9}\x{5DB}\x{5DC}"
- text run at (136,5) width 72: "\x{202D}\x{5D8}\x{5D7}\x{5D6}abc\x{5D5}\x{5D4}\x{5D3}"
+ text run at (27,5) width 66: "ihg\x{5D0}\x{5D1}\x{5D2}fed"
+ text run at (93,5) width 20: "jkl "
+ text run at (113,5) width 23: "\x{5D9}\x{5DB}\x{5DC}"
+ text run at (136,5) width 72: "\x{5D8}\x{5D7}\x{5D6}abc\x{5D5}\x{5D4}\x{5D3}"
text run at (208,5) width 26: "\x{5D0}\x{5D1}\x{5D2}"
RenderTableCell {TD} at (335,81) size 238x27 [border: (1px solid #008000)] [r=3 c=2 rs=1 cs=1]
RenderText {TEXT} at (5,5) size 229x18
- text run at (5,5) width 23: "\x{202C}\x{5D9}\x{5DB}\x{5DC}"
- text run at (28,5) width 72: "\x{202D}\x{5D8}\x{5D7}\x{5D6}abc\x{5D5}\x{5D4}\x{5D3}"
+ text run at (5,5) width 23: "\x{5D9}\x{5DB}\x{5DC}"
+ text run at (28,5) width 72: "\x{5D8}\x{5D7}\x{5D6}abc\x{5D5}\x{5D4}\x{5D3}"
text run at (100,5) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (126,5) width 4: " "
text run at (130,5) width 22: "abc"
- text run at (152,5) width 66: "\x{202E}ihg\x{5D0}\x{5D1}\x{5D2}fed"
- text run at (218,5) width 16: "\x{202C}jkl"
+ text run at (152,5) width 66: "ihg\x{5D0}\x{5D1}\x{5D2}fed"
+ text run at (218,5) width 16: "jkl"
RenderBlock {P} at (0,158) size 784x18
RenderText {TEXT} at (0,0) size 387x18
text run at (0,0) width 387: "The CSS column should be identical to the reference column."
1.1 LayoutTests/fast/text/international/bidi-LDB-2-CSS-expected.checksum
Index: bidi-LDB-2-CSS-expected.checksum
===================================================================
5b22d2b692802bc7c7ea11bb6a9fbf74
1.1 LayoutTests/fast/text/international/bidi-LDB-2-CSS-expected.png
<<Binary file>>
1.1 LayoutTests/fast/text/international/bidi-LDB-2-CSS-expected.txt
Index: bidi-LDB-2-CSS-expected.txt
===================================================================
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x535
RenderBlock {HTML} at (0,0) size 800x535
RenderBody {BODY} at (8,21) size 784x498
RenderBlock {H1} at (0,0) size 784x37
RenderText {TEXT} at (0,0) size 424x37
text run at (0,0) width 424: "Bidirectional Text Test 2 - CSS"
RenderBlock {P} at (0,58) size 784x18
RenderText {TEXT} at (0,0) size 131x18
text run at (0,0) width 131: "This test is based on "
RenderInline {A} at (0,0) size 117x18 [color=#0000EE]
RenderText {TEXT} at (131,0) size 117x18
text run at (131,0) width 117: "CSS2 section 9.10"
RenderText {TEXT} at (248,0) size 31x18
text run at (248,0) width 31: " and "
RenderInline {A} at (0,0) size 62x18 [color=#0000EE]
RenderText {TEXT} at (279,0) size 62x18
text run at (279,0) width 62: "Chapter 3"
RenderText {TEXT} at (341,0) size 44x18
text run at (341,0) width 44: " of the "
RenderInline {A} at (0,0) size 114x18 [color=#0000EE]
RenderText {TEXT} at (385,0) size 114x18
text run at (385,0) width 114: "Unicode Standard"
RenderText {TEXT} at (499,0) size 4x18
text run at (499,0) width 4: "."
RenderBlock {P} at (0,92) size 784x18
RenderText {TEXT} at (0,0) size 67x18
text run at (0,0) width 67: "See also a "
RenderInline {A} at (0,0) size 227x18 [color=#0000EE]
RenderText {TEXT} at (67,0) size 227x18
text run at (67,0) width 227: "test for the same concepts in HTML"
RenderText {TEXT} at (294,0) size 42x18
text run at (294,0) width 42: " and a "
RenderInline {A} at (0,0) size 436x18 [color=#0000EE]
RenderText {TEXT} at (336,0) size 436x18
text run at (336,0) width 436: "test for the same concepts using Unicode directional formatting codes"
RenderText {TEXT} at (772,0) size 4x18
text run at (772,0) width 4: "."
RenderBlock {P} at (0,126) size 784x18
RenderText {TEXT} at (0,0) size 281x18
text run at (0,0) width 281: "In each box, all the lines should be the same."
RenderBlock (anonymous) at (0,160) size 784x226
RenderBlock {DIV} at (3,3) size 102x170 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 94x0
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {P} at (4,4) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 94: "ABCDEFGHI"
RenderBlock {P} at (4,22) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 94: "ABCDEFGHI"
RenderBlock {P} at (4,40) size 94x18
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "ABC"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "DEF"
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "GHI"
RenderBlock {P} at (4,58) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 94: "IHGFEDCBA"
RenderBlock {P} at (4,76) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "FED"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderBlock {P} at (4,94) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "DEF"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderBlock {P} at (4,112) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "FED"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderBlock {P} at (4,130) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "FED"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderBlock {P} at (4,148) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "DEF"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderText {TEXT} at (108,77) size 4x18
text run at (108,77) width 4: " "
RenderBlock {DIV} at (115,48) size 34x80 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 26x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 26x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderBlock {P} at (4,22) size 26x18
RenderText {TEXT} at (0,0) size 26x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
RenderBlock {P} at (4,40) size 26x18
RenderText {TEXT} at (0,0) size 26x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
RenderBlock {P} at (4,58) size 26x18
RenderText {TEXT} at (0,0) size 26x18
text run at (0,0) width 26: "\x{5D2}\x{5D1}\x{5D0}"
RenderText {TEXT} at (152,77) size 4x18
text run at (152,77) width 4: " "
RenderBlock {DIV} at (159,57) size 100x62 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 92x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 92x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 5x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (73,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (84,0) size 8x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderBlock {P} at (4,22) size 92x18
RenderText {TEXT} at (0,0) size 92x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
RenderBlock {P} at (4,40) size 92x18
RenderText {TEXT} at (0,0) size 92x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (30,0) width 34: "ABC"
text run at (64,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
RenderText {TEXT} at (262,77) size 4x18
text run at (262,77) width 4: " "
RenderBlock {DIV} at (269,3) size 165x170 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 157x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 157x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 5x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (73,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (84,0) size 8x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (92,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (96,0) size 12x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (108,0) size 10x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (118,0) size 9x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 10x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (141,0) size 11x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (152,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 157x18
RenderText {TEXT} at (0,0) size 157x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,40) size 157x18
RenderText {TEXT} at (0,0) size 30x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 4: " "
RenderInline {SPAN} at (0,0) size 62x18
RenderText {TEXT} at (30,0) size 62x18
text run at (30,0) width 38: "ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
RenderText {TEXT} at (92,0) size 65x18
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,58) size 157x18
RenderText {TEXT} at (0,0) size 30x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 4: " "
RenderInline {SPAN} at (0,0) size 97x18
RenderText {TEXT} at (30,0) size 97x18
text run at (30,0) width 38: "ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
text run at (92,0) width 35: " DEF"
RenderText {TEXT} at (127,0) size 30x18
text run at (127,0) width 4: " "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,76) size 157x18
RenderText {TEXT} at (127,0) size 30x18
text run at (127,0) width 30: "\x{5D6}\x{5D7}\x{5D8} "
RenderInline {SPAN} at (0,0) size 97x18
RenderText {TEXT} at (30,0) size 97x18
text run at (30,0) width 34: "ABC"
text run at (64,0) width 32: " \x{5D3}\x{5D4}\x{5D5} "
text run at (96,0) width 31: "DEF"
RenderText {TEXT} at (0,0) size 30x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
RenderBlock {P} at (4,94) size 157x18
RenderText {TEXT} at (64,0) size 28x18
text run at (64,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
RenderInline {SPAN} at (0,0) size 64x18
RenderText {TEXT} at (0,0) size 64x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (30,0) width 34: "ABC"
RenderText {TEXT} at (92,0) size 65x18
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,112) size 157x18
RenderText {TEXT} at (64,0) size 28x18
text run at (64,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
RenderInline {SPAN} at (0,0) size 64x18
RenderText {TEXT} at (0,0) size 64x18
text run at (0,0) width 64: "CBA \x{5D0}\x{5D1}\x{5D2}"
RenderText {TEXT} at (92,0) size 65x18
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,130) size 157x18
RenderText {TEXT} at (0,0) size 30x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 4: " "
RenderInline {SPAN} at (0,0) size 62x18
RenderText {TEXT} at (30,0) size 62x18
text run at (30,0) width 62: "ABC \x{5D5}\x{5D4}\x{5D3}"
RenderText {TEXT} at (92,0) size 65x18
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,148) size 157x18
RenderText {TEXT} at (127,0) size 30x18
text run at (127,0) width 30: "\x{5D6}\x{5D7}\x{5D8} "
RenderInline {SPAN} at (0,0) size 62x18
RenderText {TEXT} at (30,0) size 62x18
text run at (30,0) width 62: "ABC \x{5D5}\x{5D4}\x{5D3}"
RenderText {TEXT} at (0,0) size 127x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (92,0) width 35: " DEF"
RenderText {TEXT} at (437,77) size 4x18
text run at (437,77) width 4: " "
RenderBlock {DIV} at (444,66) size 198x44 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 190x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 190x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 5x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (73,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (84,0) size 8x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (92,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (96,0) size 12x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (108,0) size 10x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (118,0) size 9x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 12x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "G"
RenderTableCell {TD} at (143,0) size 12x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "H"
RenderTableCell {TD} at (155,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "I"
RenderTableCell {TD} at (160,0) size 4x18 [r=0 c=19 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (164,0) size 10x18 [r=0 c=20 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (174,0) size 11x18 [r=0 c=21 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (185,0) size 5x18 [r=0 c=22 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 190x18
RenderText {TEXT} at (0,0) size 190x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
text run at (92,0) width 72: " DEF GHI "
text run at (164,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderText {TEXT} at (645,77) size 4x18
text run at (645,77) width 4: " "
RenderBR {BR} at (0,0) size 0x0
RenderBlock {DIV} at (3,179) size 198x44 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 190x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 190x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 9x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (9,0) size 10x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (19,0) size 12x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (31,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (35,0) size 5x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (40,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (51,0) size 8x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (59,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (63,0) size 11x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (74,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (85,0) size 12x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (97,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (101,0) size 7x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (108,0) size 9x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (117,0) size 10x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 12x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "G"
RenderTableCell {TD} at (143,0) size 12x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "H"
RenderTableCell {TD} at (155,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "I"
RenderTableCell {TD} at (160,0) size 4x18 [r=0 c=19 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (164,0) size 10x18 [r=0 c=20 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (174,0) size 11x18 [r=0 c=21 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (185,0) size 5x18 [r=0 c=22 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 190x18
RenderText {TEXT} at (97,0) size 30x18
text run at (97,0) width 30: "\x{5D0}\x{5D1}\x{5D2} "
RenderInline {SPAN} at (0,0) size 97x18
RenderText {TEXT} at (0,0) size 97x18
text run at (0,0) width 97: "ABC \x{5D3}\x{5D4}\x{5D5} DEF"
RenderText {TEXT} at (127,0) size 63x18
text run at (127,0) width 37: " GHI "
text run at (164,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderText {TEXT} at (204,190) size 4x18
text run at (204,190) width 4: " "
RenderBlock {DIV} at (211,179) size 198x44 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 190x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 190x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 9x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (77,0) size 10x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (87,0) size 12x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (99,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (103,0) size 5x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (108,0) size 11x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (119,0) size 8x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 12x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "G"
RenderTableCell {TD} at (143,0) size 12x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "H"
RenderTableCell {TD} at (155,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "I"
RenderTableCell {TD} at (160,0) size 4x18 [r=0 c=19 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (164,0) size 10x18 [r=0 c=20 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (174,0) size 11x18 [r=0 c=21 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (185,0) size 5x18 [r=0 c=22 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 190x18
RenderText {TEXT} at (0,0) size 68x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
RenderInline {SPAN} at (0,0) size 59x18
RenderText {TEXT} at (68,0) size 59x18
text run at (68,0) width 59: "\x{5D3}\x{5D4}\x{5D5} DEF"
RenderText {TEXT} at (127,0) size 63x18
text run at (127,0) width 37: " GHI "
text run at (164,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {HR} at (0,394) size 784x2 [border: (1px inset #000000)]
RenderBlock {P} at (0,412) size 784x18
RenderText {TEXT} at (0,0) size 58x18
text run at (0,0) width 58: "(Back to "
RenderInline {A} at (0,0) size 158x18 [color=#0000EE]
RenderText {TEXT} at (58,0) size 158x18
text run at (58,0) width 158: "CSS Testing Information"
RenderText {TEXT} at (216,0) size 8x18
text run at (216,0) width 8: ", "
RenderInline {A} at (0,0) size 82x18 [color=#0000EE]
RenderText {TEXT} at (224,0) size 82x18
text run at (224,0) width 82: "David Baron"
RenderText {TEXT} at (306,0) size 5x18
text run at (306,0) width 5: ")"
RenderBlock {P} at (0,446) size 784x18
RenderInline {A} at (0,0) size 33x18 [color=#0000EE]
RenderText {TEXT} at (0,0) size 33x18
text run at (0,0) width 33: "LDB"
RenderText {TEXT} at (33,0) size 8x18
text run at (33,0) width 8: ", "
RenderInline {A} at (0,0) size 128x18 [color=#0000EE]
RenderText {TEXT} at (41,0) size 128x18
text run at (41,0) width 128: "dbaron at dbaron.org"
RenderText {TEXT} at (169,0) size 82x18
text run at (169,0) width 82: ", 2001-06-05"
RenderBlock {P} at (0,480) size 784x18
RenderText {TEXT} at (0,0) size 304x18
text run at (0,0) width 304: "Modified and used with the author\x{2019}s permission."
1.1 LayoutTests/fast/text/international/bidi-LDB-2-CSS.html
Index: bidi-LDB-2-CSS.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML><HEAD>
<!--
Based on http://dbaron.org/css/test/bidi2 by Dave Baron, dbaron at dbaron.org
Copied with permission on 2005-09-10
Modified with permission (rearranged to fit in 800x600 and changed to make more
testcases have the same expected layout).
-->
<BASE HREF="http://dbaron.org/css/test/">
<TITLE>Bidirectional Text Test 2 - CSS</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<LINK REL="copyright" HREF="/~dbaron/legal.html">
<STYLE TYPE="text/css">
p { text-align: left; }
table.pair { border-spacing: 0; margin-bottom: 0; }
table.pair td { padding: 0; }
p.pair { margin: 0; }
.rtl { direction: rtl; }
.ltr { direction: ltr; }
.rle { direction: rtl; unicode-bidi: embed; }
.lre { direction: ltr; unicode-bidi: embed; }
.rlo { direction: rtl; unicode-bidi: bidi-override; }
.lro { direction: ltr; unicode-bidi: bidi-override; }
.embed { unicode-bidi: embed; }
.override { unicode-bidi: bidi-override; }
div.box { border:1px green solid; display:inline-block; padding:3px; margin:3px; vertical-align:middle; }
</STYLE>
</HEAD>
<BODY>
<H1>Bidirectional Text Test 2 - CSS</H1>
<p>This test is based on <a
href="http://www.w3.org/TR/REC-CSS2/visuren.html#direction">CSS2 section
9.10</a> and <a href="http://www.unicode.org/unicode/uni2book/ch03.pdf">Chapter
3</a> of the <a href="http://www.unicode.org/unicode/uni2book/u2.html">Unicode
Standard</a>.</p>
<p>See also a <a href="bidi2_html">test for the same concepts in HTML</a>
and a <a href="bidi2_charcode">test for the same concepts using Unicode
directional formatting codes</a>.</p>
<p>In each box, all the lines should be the same.</p>
<div class="box">
<p class="pair">ABCDEFGHI</p>
<p class="rtl pair">ABCDEFGHI</p>
<p class="rtl pair">ABC<span>DEF</span>GHI</p>
<p class="rlo pair">IHGFEDCBA</p>
<p class="rlo pair">IHG<span>FED</span>CBA</p>
<p class="rlo pair">IHG<span class="embed">DEF</span>CBA</p>
<p class="rlo pair">IHG<span class="override">FED</span>CBA</p>
<p class="rlo pair">IHG<span style="unicode-bidi: inherit">FED</span>CBA</p>
<p class="rlo pair">IHG<span class="lro">DEF</span>CBA</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td></tr></table>
<p class="pair">אבג</p>
<p class="pair embed">אבג</p>
<p class="pair override">גבא</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>ו</td><td>ה</td><td>ד</td></tr></table>
<p class="pair">אבג ABC דהו</p>
<p class="pair rtl">דהו ABC אבג</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>D</td><td>E</td><td>F</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ABC דהו DEF זחט</p>
<p class="pair">אבג <span>ABC דהו</span> DEF זחט</p>
<p class="pair">אבג <span class="ltr embed">ABC דהו DEF</span> זחט</p>
<p class="pair">זחט <span class="rtl embed">DEF דהו ABC</span> אבג</p>
<p class="pair">דהו <span class="rtl embed">ABC אבג</span> DEF זחט</p>
<p class="pair">דהו <span class="rtl override">CBA אבג</span> DEF זחט</p>
<p class="pair">אבג <span class="ltr override">ABC והד</span> DEF זחט</p>
<p class="rtl pair">זחט <span class="ltr override">ABC והד</span> DEF אבג</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>D</td><td>E</td><td>F</td><td> </td><td>G</td><td>H</td><td>I</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ABC דהו DEF GHI זחט</p>
</div>
<br/>
<div class="box">
<table class="pair"><tr><td>F</td><td>E</td><td>D</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>C</td><td>B</td><td>A</td><td> </td><td>ג</td><td>ב</td><td>א</td><td> </td><td>G</td><td>H</td><td>I</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג <span class="rtl override">ABC דהו DEF</span> GHI זחט</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>F</td><td>E</td><td>D</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>G</td><td>H</td><td>I</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ABC <span class="rtl override">דהו DEF</span> GHI זחט</p>
</div>
<hr title="Beginning of Footer">
<!--
<P><A HREF="http://validator.w3.org/check/referer" TITLE="W3C HTML Validator"><img src="../../images/vh40" ALT="Valid HTML 4.0!" height="31" width="88"></A></P>
-->
<P>(Back to
<A HREF="./">CSS Testing Information</A>,
<A HREF="../../">David Baron</A>)
<P><A HREF="/" TITLE="David Baron's Homepage">LDB</A>,
<A rev="made" href="mailto:dbaron at dbaron.org" TITLE="Send e-mail to David Baron">dbaron at dbaron.org</A>, 2001-06-05</P>
<P>Modified and used with the author’s permission.</P>
</BODY></HTML>
1.1 LayoutTests/fast/text/international/bidi-LDB-2-HTML-expected.checksum
Index: bidi-LDB-2-HTML-expected.checksum
===================================================================
34f7d4b8d84b59a27b9d1ccc1c45558a
1.1 LayoutTests/fast/text/international/bidi-LDB-2-HTML-expected.png
<<Binary file>>
1.1 LayoutTests/fast/text/international/bidi-LDB-2-HTML-expected.txt
Index: bidi-LDB-2-HTML-expected.txt
===================================================================
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x501
RenderBlock {HTML} at (0,0) size 800x501
RenderBody {BODY} at (8,21) size 784x464
RenderBlock {H1} at (0,0) size 784x37
RenderText {TEXT} at (0,0) size 462x37
text run at (0,0) width 462: "Bidirectional Text Test 2 - HTML"
RenderBlock {P} at (0,58) size 784x18
RenderText {TEXT} at (0,0) size 131x18
text run at (0,0) width 131: "This test is based on "
RenderInline {A} at (0,0) size 117x18 [color=#0000EE]
RenderText {TEXT} at (131,0) size 117x18
text run at (131,0) width 117: "CSS2 section 9.10"
RenderText {TEXT} at (248,0) size 31x18
text run at (248,0) width 31: " and "
RenderInline {A} at (0,0) size 62x18 [color=#0000EE]
RenderText {TEXT} at (279,0) size 62x18
text run at (279,0) width 62: "Chapter 3"
RenderText {TEXT} at (341,0) size 44x18
text run at (341,0) width 44: " of the "
RenderInline {A} at (0,0) size 114x18 [color=#0000EE]
RenderText {TEXT} at (385,0) size 114x18
text run at (385,0) width 114: "Unicode Standard"
RenderText {TEXT} at (499,0) size 4x18
text run at (499,0) width 4: "."
RenderBlock {PRE} at (0,92) size 784x0
RenderBlock {P} at (0,92) size 784x18
RenderText {TEXT} at (0,0) size 281x18
text run at (0,0) width 281: "In each box, all the lines should be the same."
RenderBlock (anonymous) at (0,126) size 784x226
RenderBlock {DIV} at (3,3) size 102x170 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 94x0
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {P} at (4,4) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 94: "ABCDEFGHI"
RenderBlock {P} at (4,22) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 94: "ABCDEFGHI"
RenderBlock {P} at (4,40) size 94x18
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "ABC"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "DEF"
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "GHI"
RenderBlock {P} at (4,58) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 94: "IHGFEDCBA"
RenderBlock {P} at (4,76) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "FED"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderBlock {P} at (4,94) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "DEF"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderBlock {P} at (4,112) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {BDO} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "FED"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderBlock {P} at (4,130) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "FED"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderBlock {P} at (4,148) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {BDO} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "DEF"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderText {TEXT} at (108,77) size 4x18
text run at (108,77) width 4: " "
RenderBlock {DIV} at (115,48) size 34x80 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 26x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 26x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderBlock {P} at (4,22) size 26x18
RenderText {TEXT} at (0,0) size 26x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
RenderBlock {P} at (4,40) size 26x18
RenderText {TEXT} at (0,0) size 26x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
RenderBlock {P} at (4,58) size 26x18
RenderText {TEXT} at (0,0) size 26x18
text run at (0,0) width 26: "\x{5D2}\x{5D1}\x{5D0}"
RenderText {TEXT} at (152,77) size 4x18
text run at (152,77) width 4: " "
RenderBlock {DIV} at (159,57) size 100x62 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 92x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 92x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 5x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (73,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (84,0) size 8x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderBlock {P} at (4,22) size 92x18
RenderText {TEXT} at (0,0) size 92x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
RenderBlock {P} at (4,40) size 92x18
RenderText {TEXT} at (0,0) size 92x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (30,0) width 34: "ABC"
text run at (64,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
RenderText {TEXT} at (262,77) size 4x18
text run at (262,77) width 4: " "
RenderBlock {DIV} at (269,3) size 165x170 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 157x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 157x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 5x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (73,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (84,0) size 8x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (92,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (96,0) size 12x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (108,0) size 10x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (118,0) size 9x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 10x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (141,0) size 11x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (152,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 157x18
RenderText {TEXT} at (0,0) size 157x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,40) size 157x18
RenderText {TEXT} at (0,0) size 30x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 4: " "
RenderInline {SPAN} at (0,0) size 62x18
RenderText {TEXT} at (30,0) size 62x18
text run at (30,0) width 38: "ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
RenderText {TEXT} at (92,0) size 65x18
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,58) size 157x18
RenderText {TEXT} at (0,0) size 30x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 4: " "
RenderInline {SPAN} at (0,0) size 97x18
RenderText {TEXT} at (30,0) size 97x18
text run at (30,0) width 38: "ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
text run at (92,0) width 35: " DEF"
RenderText {TEXT} at (127,0) size 30x18
text run at (127,0) width 4: " "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,76) size 157x18
RenderText {TEXT} at (127,0) size 30x18
text run at (127,0) width 30: "\x{5D6}\x{5D7}\x{5D8} "
RenderInline {SPAN} at (0,0) size 97x18
RenderText {TEXT} at (30,0) size 97x18
text run at (30,0) width 34: "ABC"
text run at (64,0) width 32: " \x{5D3}\x{5D4}\x{5D5} "
text run at (96,0) width 31: "DEF"
RenderText {TEXT} at (0,0) size 30x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
RenderBlock {P} at (4,94) size 157x18
RenderText {TEXT} at (64,0) size 28x18
text run at (64,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
RenderInline {SPAN} at (0,0) size 64x18
RenderText {TEXT} at (0,0) size 64x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (30,0) width 34: "ABC"
RenderText {TEXT} at (92,0) size 65x18
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,112) size 157x18
RenderText {TEXT} at (64,0) size 28x18
text run at (64,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
RenderInline {BDO} at (0,0) size 64x18
RenderText {TEXT} at (0,0) size 64x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (30,0) width 34: "CBA"
RenderText {TEXT} at (92,0) size 65x18
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,130) size 157x18
RenderText {TEXT} at (0,0) size 30x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 4: " "
RenderInline {BDO} at (0,0) size 62x18
RenderText {TEXT} at (30,0) size 62x18
text run at (30,0) width 38: "ABC "
text run at (68,0) width 24: "\x{5D5}\x{5D4}\x{5D3}"
RenderText {TEXT} at (92,0) size 65x18
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,148) size 157x18
RenderText {TEXT} at (127,0) size 30x18
text run at (127,0) width 30: "\x{5D6}\x{5D7}\x{5D8} "
RenderInline {BDO} at (0,0) size 62x18
RenderText {TEXT} at (30,0) size 62x18
text run at (30,0) width 38: "ABC "
text run at (68,0) width 24: "\x{5D5}\x{5D4}\x{5D3}"
RenderText {TEXT} at (0,0) size 127x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (92,0) width 35: " DEF"
RenderText {TEXT} at (437,77) size 4x18
text run at (437,77) width 4: " "
RenderBlock {DIV} at (444,66) size 198x44 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 190x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 190x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 5x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (73,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (84,0) size 8x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (92,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (96,0) size 12x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (108,0) size 10x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (118,0) size 9x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 12x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "G"
RenderTableCell {TD} at (143,0) size 12x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "H"
RenderTableCell {TD} at (155,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "I"
RenderTableCell {TD} at (160,0) size 4x18 [r=0 c=19 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (164,0) size 10x18 [r=0 c=20 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (174,0) size 11x18 [r=0 c=21 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (185,0) size 5x18 [r=0 c=22 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 190x18
RenderText {TEXT} at (0,0) size 190x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
text run at (92,0) width 72: " DEF GHI "
text run at (164,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderText {TEXT} at (645,77) size 4x18
text run at (645,77) width 4: " "
RenderBR {BR} at (649,77) size 0x18
RenderBlock {DIV} at (3,179) size 198x44 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 190x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 190x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 9x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (9,0) size 10x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (19,0) size 12x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (31,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (35,0) size 5x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (40,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (51,0) size 8x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (59,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (63,0) size 11x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (74,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (85,0) size 12x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (97,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (101,0) size 7x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (108,0) size 9x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (117,0) size 10x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 12x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "G"
RenderTableCell {TD} at (143,0) size 12x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "H"
RenderTableCell {TD} at (155,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "I"
RenderTableCell {TD} at (160,0) size 4x18 [r=0 c=19 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (164,0) size 10x18 [r=0 c=20 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (174,0) size 11x18 [r=0 c=21 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (185,0) size 5x18 [r=0 c=22 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 190x18
RenderText {TEXT} at (97,0) size 30x18
text run at (97,0) width 30: "\x{5D0}\x{5D1}\x{5D2} "
RenderInline {BDO} at (0,0) size 97x18
RenderText {TEXT} at (0,0) size 97x18
text run at (0,0) width 31: "DEF"
text run at (31,0) width 32: " \x{5D3}\x{5D4}\x{5D5} "
text run at (63,0) width 34: "ABC"
RenderText {TEXT} at (127,0) size 63x18
text run at (127,0) width 37: " GHI "
text run at (164,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderText {TEXT} at (204,190) size 4x18
text run at (204,190) width 4: " "
RenderBlock {DIV} at (211,179) size 198x44 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 190x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 190x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 9x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (77,0) size 10x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (87,0) size 12x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (99,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (103,0) size 5x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (108,0) size 11x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (119,0) size 8x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 12x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "G"
RenderTableCell {TD} at (143,0) size 12x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "H"
RenderTableCell {TD} at (155,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "I"
RenderTableCell {TD} at (160,0) size 4x18 [r=0 c=19 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (164,0) size 10x18 [r=0 c=20 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (174,0) size 11x18 [r=0 c=21 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (185,0) size 5x18 [r=0 c=22 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 190x18
RenderText {TEXT} at (0,0) size 68x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
RenderInline {BDO} at (0,0) size 59x18
RenderText {TEXT} at (68,0) size 59x18
text run at (68,0) width 31: "DEF"
text run at (99,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
RenderText {TEXT} at (127,0) size 63x18
text run at (127,0) width 37: " GHI "
text run at (164,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {HR} at (0,360) size 784x2 [border: (1px inset #000000)]
RenderBlock {P} at (0,378) size 784x18
RenderText {TEXT} at (0,0) size 58x18
text run at (0,0) width 58: "(Back to "
RenderInline {A} at (0,0) size 158x18 [color=#0000EE]
RenderText {TEXT} at (58,0) size 158x18
text run at (58,0) width 158: "CSS Testing Information"
RenderText {TEXT} at (216,0) size 8x18
text run at (216,0) width 8: ", "
RenderInline {A} at (0,0) size 82x18 [color=#0000EE]
RenderText {TEXT} at (224,0) size 82x18
text run at (224,0) width 82: "David Baron"
RenderText {TEXT} at (306,0) size 5x18
text run at (306,0) width 5: ")"
RenderBlock {P} at (0,412) size 784x18
RenderInline {A} at (0,0) size 33x18 [color=#0000EE]
RenderText {TEXT} at (0,0) size 33x18
text run at (0,0) width 33: "LDB"
RenderText {TEXT} at (33,0) size 8x18
text run at (33,0) width 8: ", "
RenderInline {A} at (0,0) size 128x18 [color=#0000EE]
RenderText {TEXT} at (41,0) size 128x18
text run at (41,0) width 128: "dbaron at dbaron.org"
RenderText {TEXT} at (169,0) size 82x18
text run at (169,0) width 82: ", 2001-06-05"
RenderBlock {P} at (0,446) size 784x18
RenderText {TEXT} at (0,0) size 304x18
text run at (0,0) width 304: "Modified and used with the author\x{2019}s permission."
1.1 LayoutTests/fast/text/international/bidi-LDB-2-HTML.html
Index: bidi-LDB-2-HTML.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML><HEAD>
<!--
Based on http://dbaron.org/css/test/bidi2_html by Dave Baron, dbaron at dbaron.org
Copied with permission on 2005-09-10
Modified with permission (rearranged to fit in 800x600 and changed to make more
testcases have the same expected layout).
-->
<BASE HREF="http://dbaron.org/css/test/">
<TITLE>Bidirectional Text Test 2 - HTML</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<LINK REL="copyright" HREF="/~dbaron/legal.html">
<STYLE TYPE="text/css">
p { text-align: left; }
table.pair { border-spacing: 0; margin-bottom: 0; }
table.pair td { padding: 0; }
p.pair { margin: 0; }
.rtl { direction: rtl; }
.ltr { direction: ltr; }
.rle { direction: rtl; unicode-bidi: embed; }
.lre { direction: ltr; unicode-bidi: embed; }
.rlo { direction: rtl; unicode-bidi: bidi-override; }
.lro { direction: ltr; unicode-bidi: bidi-override; }
.embed { unicode-bidi: embed; }
.override { unicode-bidi: bidi-override; }
div.box { border:1px green solid; display:inline-block; padding:3px; margin:3px; vertical-align:middle; }
</STYLE>
</HEAD>
<BODY>
<H1>Bidirectional Text Test 2 - HTML</H1>
<p>This test is based on <a
href="http://www.w3.org/TR/REC-CSS2/visuren.html#direction">CSS2 section
9.10</a> and <a href="http://www.unicode.org/unicode/uni2book/ch03.pdf">Chapter
3</a> of the <a href="http://www.unicode.org/unicode/uni2book/u2.html">Unicode
Standard</a>.</p>
<PRE>
</PRE>
<p>In each box, all the lines should be the same.</p>
<div class="box">
<p class="pair">ABCDEFGHI</p>
<p class="rtl pair">ABCDEFGHI</p>
<p class="rtl pair">ABC<span>DEF</span>GHI</p>
<p class="rlo pair">IHGFEDCBA</p>
<p class="rlo pair">IHG<span>FED</span>CBA</p>
<p class="rlo pair">IHG<span dir="rtl">DEF</span>CBA</p>
<p class="rlo pair">IHG<bdo dir="rtl">FED</bdo>CBA</p>
<p class="rlo pair">IHG<span style="unicode-bidi: inherit">FED</span>CBA</p>
<p class="rlo pair">IHG<bdo dir="ltr">DEF</bdo>CBA</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td></tr></table>
<p class="pair">אבג</p>
<p class="pair embed">אבג</p>
<p class="pair override">גבא</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>ו</td><td>ה</td><td>ד</td></tr></table>
<p class="pair">אבג ABC דהו</p>
<p class="pair rtl">דהו ABC אבג</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>D</td><td>E</td><td>F</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ABC דהו DEF זחט</p>
<p class="pair">אבג <span>ABC דהו</span> DEF זחט</p>
<p class="pair">אבג <span dir="ltr">ABC דהו DEF</span> זחט</p>
<p class="pair">זחט <span dir="rtl">DEF דהו ABC</span> אבג</p>
<p class="pair">דהו <span dir="rtl">ABC אבג</span> DEF זחט</p>
<p class="pair">דהו <bdo dir="rtl">CBA אבג</bdo> DEF זחט</p>
<p class="pair">אבג <bdo dir="ltr">ABC והד</bdo> DEF זחט</p>
<p class="rtl pair">זחט <bdo dir="ltr">ABC והד</bdo> DEF אבג</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>D</td><td>E</td><td>F</td><td> </td><td>G</td><td>H</td><td>I</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ABC דהו DEF GHI זחט</p>
</div>
<br/>
<div class="box">
<table class="pair"><tr><td>F</td><td>E</td><td>D</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>C</td><td>B</td><td>A</td><td> </td><td>ג</td><td>ב</td><td>א</td><td> </td><td>G</td><td>H</td><td>I</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג <bdo dir="rtl">ABC דהו DEF</bdo> GHI זחט</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>F</td><td>E</td><td>D</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>G</td><td>H</td><td>I</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ABC <bdo dir="rtl">דהו DEF</bdo> GHI זחט</p>
</div>
<hr title="Beginning of Footer">
<!--
<P><A HREF="http://validator.w3.org/check/referer" TITLE="W3C HTML Validator"><img src="../../images/vh40" ALT="Valid HTML 4.0!" height="31" width="88"></A></P>
-->
<P>(Back to
<A HREF="./">CSS Testing Information</A>,
<A HREF="../../">David Baron</A>)
<P><A HREF="/" TITLE="David Baron's Homepage">LDB</A>,
<A rev="made" href="mailto:dbaron at dbaron.org" TITLE="Send e-mail to David Baron">dbaron at dbaron.org</A>, 2001-06-05</P>
<P>Modified and used with the author’s permission.</P>
</BODY></HTML>
1.1 LayoutTests/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum
Index: bidi-LDB-2-formatting-characters-expected.checksum
===================================================================
74af129e6853745783c29347243c82de
1.1 LayoutTests/fast/text/international/bidi-LDB-2-formatting-characters-expected.png
<<Binary file>>
1.1 LayoutTests/fast/text/international/bidi-LDB-2-formatting-characters-expected.txt
Index: bidi-LDB-2-formatting-characters-expected.txt
===================================================================
layer at (0,0) size 800x600
RenderCanvas at (0,0) size 800x600
layer at (0,0) size 800x577
RenderBlock {HTML} at (0,0) size 800x577
RenderBody {BODY} at (8,21) size 784x540
RenderBlock {H1} at (0,0) size 784x37
RenderText {TEXT} at (0,0) size 683x37
text run at (0,0) width 683: "Bidirectional Text Test 2 - Formatting Characters"
RenderBlock {P} at (0,58) size 784x18
RenderText {TEXT} at (0,0) size 131x18
text run at (0,0) width 131: "This test is based on "
RenderInline {A} at (0,0) size 117x18 [color=#0000EE]
RenderText {TEXT} at (131,0) size 117x18
text run at (131,0) width 117: "CSS2 section 9.10"
RenderText {TEXT} at (248,0) size 31x18
text run at (248,0) width 31: " and "
RenderInline {A} at (0,0) size 62x18 [color=#0000EE]
RenderText {TEXT} at (279,0) size 62x18
text run at (279,0) width 62: "Chapter 3"
RenderText {TEXT} at (341,0) size 44x18
text run at (341,0) width 44: " of the "
RenderInline {A} at (0,0) size 114x18 [color=#0000EE]
RenderText {TEXT} at (385,0) size 114x18
text run at (385,0) width 114: "Unicode Standard"
RenderText {TEXT} at (499,0) size 4x18
text run at (499,0) width 4: "."
RenderBlock {P} at (0,92) size 784x18
RenderText {TEXT} at (0,0) size 62x18
text run at (0,0) width 62: "Note that "
RenderInline {A} at (0,0) size 300x18 [color=#0000EE]
RenderText {TEXT} at (62,0) size 300x18
text run at (62,0) width 300: "Unicode in XML and other Markup Languages"
RenderText {TEXT} at (362,0) size 365x18
text run at (362,0) width 365: " suggests that HTML UAs should ignore these characters."
RenderBlock {P} at (0,126) size 784x18
RenderText {TEXT} at (0,0) size 281x18
text run at (0,0) width 281: "In each box, all the lines should be the same."
RenderBlock (anonymous) at (0,160) size 784x226
RenderBlock {DIV} at (3,3) size 102x170 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 94x0
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {P} at (4,4) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 94: "ABCDEFGHI"
RenderBlock {P} at (4,22) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 94: "ABCDEFGHI"
RenderBlock {P} at (4,40) size 94x18
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "ABC"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "DEF"
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "GHI"
RenderBlock {P} at (4,58) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 94: "IHGFEDCBA"
RenderBlock {P} at (4,76) size 94x18
RenderText {TEXT} at (65,0) size 29x18
text run at (65,0) width 29: "IHG"
RenderInline {SPAN} at (0,0) size 31x18
RenderText {TEXT} at (34,0) size 31x18
text run at (34,0) width 31: "FED"
RenderText {TEXT} at (0,0) size 34x18
text run at (0,0) width 34: "CBA"
RenderBlock {P} at (4,94) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 34: "CBA"
text run at (34,0) width 31: "DEF"
text run at (65,0) width 29: "IHG"
RenderBlock {P} at (4,112) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 34: "CBA"
text run at (34,0) width 31: "FED"
text run at (65,0) width 29: "IHG"
RenderBlock {P} at (4,130) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 34: "CBA"
text run at (34,0) width 31: "FED"
text run at (65,0) width 29: "IHG"
RenderBlock {P} at (4,148) size 94x18
RenderText {TEXT} at (0,0) size 94x18
text run at (0,0) width 34: "CBA"
text run at (34,0) width 31: "DEF"
text run at (65,0) width 29: "IHG"
RenderText {TEXT} at (108,77) size 4x18
text run at (108,77) width 4: " "
RenderBlock {DIV} at (115,48) size 34x80 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 26x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 26x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderBlock {P} at (4,22) size 26x18
RenderText {TEXT} at (0,0) size 26x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
RenderBlock {P} at (4,40) size 26x18
RenderText {TEXT} at (0,0) size 26x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
RenderBlock {P} at (4,58) size 26x18
RenderText {TEXT} at (0,0) size 26x18
text run at (0,0) width 26: "\x{5D2}\x{5D1}\x{5D0}"
RenderText {TEXT} at (152,77) size 4x18
text run at (152,77) width 4: " "
RenderBlock {DIV} at (159,57) size 100x62 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 92x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 92x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 5x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (73,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (84,0) size 8x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderBlock {P} at (4,22) size 92x18
RenderText {TEXT} at (0,0) size 92x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
RenderBlock {P} at (4,40) size 92x18
RenderText {TEXT} at (0,0) size 92x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (30,0) width 34: "ABC"
text run at (64,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
RenderText {TEXT} at (262,77) size 4x18
text run at (262,77) width 4: " "
RenderBlock {DIV} at (269,3) size 165x170 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 157x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 157x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 5x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (73,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (84,0) size 8x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (92,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (96,0) size 12x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (108,0) size 10x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (118,0) size 9x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 10x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (141,0) size 11x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (152,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 157x18
RenderText {TEXT} at (0,0) size 157x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,40) size 157x18
RenderText {TEXT} at (0,0) size 30x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 4: " "
RenderInline {SPAN} at (0,0) size 62x18
RenderText {TEXT} at (30,0) size 62x18
text run at (30,0) width 38: "ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
RenderText {TEXT} at (92,0) size 65x18
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,58) size 157x18
RenderText {TEXT} at (0,0) size 157x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 4: " "
text run at (30,0) width 38: "ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
text run at (92,0) width 35: " DEF"
text run at (127,0) width 4: " "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,76) size 157x18
RenderText {TEXT} at (0,0) size 157x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (30,0) width 34: "ABC"
text run at (64,0) width 32: " \x{5D3}\x{5D4}\x{5D5} "
text run at (96,0) width 31: "DEF"
text run at (127,0) width 30: "\x{5D6}\x{5D7}\x{5D8} "
RenderBlock {P} at (4,94) size 157x18
RenderText {TEXT} at (0,0) size 157x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (30,0) width 34: "ABC"
text run at (64,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,112) size 157x18
RenderText {TEXT} at (0,0) size 156x18
text run at (0,0) width 63: "CBA \x{5D0}\x{5D1}\x{5D2}"
text run at (63,0) width 28: "\x{5D3}\x{5D4}\x{5D5} "
text run at (91,0) width 39: " DEF "
text run at (130,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,130) size 157x18
RenderText {TEXT} at (0,0) size 157x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 4: " "
text run at (30,0) width 62: "ABC \x{5D5}\x{5D4}\x{5D3}"
text run at (92,0) width 39: " DEF "
text run at (131,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderBlock {P} at (4,148) size 157x18
RenderText {TEXT} at (0,0) size 157x18
text run at (0,0) width 30: " \x{5D0}\x{5D1}\x{5D2}"
text run at (30,0) width 62: "ABC \x{5D5}\x{5D4}\x{5D3}"
text run at (92,0) width 35: " DEF"
text run at (127,0) width 30: "\x{5D6}\x{5D7}\x{5D8} "
RenderText {TEXT} at (437,77) size 4x18
text run at (437,77) width 4: " "
RenderBlock {DIV} at (444,66) size 198x44 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 190x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 190x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 5x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (73,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (84,0) size 8x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (92,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (96,0) size 12x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (108,0) size 10x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (118,0) size 9x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 12x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "G"
RenderTableCell {TD} at (143,0) size 12x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "H"
RenderTableCell {TD} at (155,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "I"
RenderTableCell {TD} at (160,0) size 4x18 [r=0 c=19 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (164,0) size 10x18 [r=0 c=20 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (174,0) size 11x18 [r=0 c=21 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (185,0) size 5x18 [r=0 c=22 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 190x18
RenderText {TEXT} at (0,0) size 190x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 24: "\x{5D3}\x{5D4}\x{5D5}"
text run at (92,0) width 72: " DEF GHI "
text run at (164,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderText {TEXT} at (645,77) size 4x18
text run at (645,77) width 4: " "
RenderBR {BR} at (649,77) size 0x18
RenderBlock {DIV} at (3,179) size 198x44 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 190x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 190x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 9x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (9,0) size 10x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (19,0) size 12x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (31,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (35,0) size 5x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (40,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (51,0) size 8x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (59,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (63,0) size 11x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (74,0) size 11x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (85,0) size 12x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (97,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (101,0) size 7x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (108,0) size 9x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (117,0) size 10x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 12x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "G"
RenderTableCell {TD} at (143,0) size 12x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "H"
RenderTableCell {TD} at (155,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "I"
RenderTableCell {TD} at (160,0) size 4x18 [r=0 c=19 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (164,0) size 10x18 [r=0 c=20 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (174,0) size 11x18 [r=0 c=21 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (185,0) size 5x18 [r=0 c=22 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 190x18
RenderText {TEXT} at (0,0) size 190x18
text run at (0,0) width 97: "ABC \x{5D3}\x{5D4}\x{5D5} DEF"
text run at (97,0) width 30: "\x{5D0}\x{5D1}\x{5D2} "
text run at (127,0) width 37: " GHI "
text run at (164,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderText {TEXT} at (204,190) size 4x18
text run at (204,190) width 4: " "
RenderBlock {DIV} at (211,179) size 198x44 [border: (1px solid #008000)]
RenderBlock (anonymous) at (4,4) size 190x0
RenderText {TEXT} at (0,0) size 0x0
RenderTable {TABLE} at (4,4) size 190x18
RenderTableSection {TBODY} at (0,0) size 0x18
RenderTableRow {TR} at (0,0) size 0x0
RenderTableCell {TD} at (0,0) size 7x18 [r=0 c=0 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 7x18
text run at (0,0) width 7: "\x{5D2}"
RenderTableCell {TD} at (7,0) size 9x18 [r=0 c=1 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "\x{5D1}"
RenderTableCell {TD} at (16,0) size 10x18 [r=0 c=2 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D0}"
RenderTableCell {TD} at (26,0) size 4x18 [r=0 c=3 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (30,0) size 12x18 [r=0 c=4 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "A"
RenderTableCell {TD} at (42,0) size 11x18 [r=0 c=5 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "B"
RenderTableCell {TD} at (53,0) size 11x18 [r=0 c=6 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "C"
RenderTableCell {TD} at (64,0) size 4x18 [r=0 c=7 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (68,0) size 9x18 [r=0 c=8 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 9x18
text run at (0,0) width 9: "F"
RenderTableCell {TD} at (77,0) size 10x18 [r=0 c=9 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "E"
RenderTableCell {TD} at (87,0) size 12x18 [r=0 c=10 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "D"
RenderTableCell {TD} at (99,0) size 4x18 [r=0 c=11 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (103,0) size 5x18 [r=0 c=12 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D5}"
RenderTableCell {TD} at (108,0) size 11x18 [r=0 c=13 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D4}"
RenderTableCell {TD} at (119,0) size 8x18 [r=0 c=14 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 8x18
text run at (0,0) width 8: "\x{5D3}"
RenderTableCell {TD} at (127,0) size 4x18 [r=0 c=15 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (131,0) size 12x18 [r=0 c=16 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "G"
RenderTableCell {TD} at (143,0) size 12x18 [r=0 c=17 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 12x18
text run at (0,0) width 12: "H"
RenderTableCell {TD} at (155,0) size 5x18 [r=0 c=18 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "I"
RenderTableCell {TD} at (160,0) size 4x18 [r=0 c=19 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 4x18
text run at (0,0) width 4: " "
RenderTableCell {TD} at (164,0) size 10x18 [r=0 c=20 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 10x18
text run at (0,0) width 10: "\x{5D8}"
RenderTableCell {TD} at (174,0) size 11x18 [r=0 c=21 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 11x18
text run at (0,0) width 11: "\x{5D7}"
RenderTableCell {TD} at (185,0) size 5x18 [r=0 c=22 rs=1 cs=1]
RenderText {TEXT} at (0,0) size 5x18
text run at (0,0) width 5: "\x{5D6}"
RenderBlock {P} at (4,22) size 190x18
RenderText {TEXT} at (0,0) size 190x18
text run at (0,0) width 26: "\x{5D0}\x{5D1}\x{5D2}"
text run at (26,0) width 42: " ABC "
text run at (68,0) width 59: "\x{5D3}\x{5D4}\x{5D5} DEF"
text run at (127,0) width 37: " GHI "
text run at (164,0) width 26: "\x{5D6}\x{5D7}\x{5D8}"
RenderText {TEXT} at (0,0) size 0x0
RenderBlock {P} at (0,402) size 784x18
RenderText {TEXT} at (0,0) size 369x18
text run at (0,0) width 39: "Note: "
text run at (39,0) width 330: "This test does not test RLM or LRM, but it ought to."
RenderBlock {HR} at (0,436) size 784x2 [border: (1px inset #000000)]
RenderBlock {P} at (0,454) size 784x18
RenderText {TEXT} at (0,0) size 58x18
text run at (0,0) width 58: "(Back to "
RenderInline {A} at (0,0) size 158x18 [color=#0000EE]
RenderText {TEXT} at (58,0) size 158x18
text run at (58,0) width 158: "CSS Testing Information"
RenderText {TEXT} at (216,0) size 8x18
text run at (216,0) width 8: ", "
RenderInline {A} at (0,0) size 82x18 [color=#0000EE]
RenderText {TEXT} at (224,0) size 82x18
text run at (224,0) width 82: "David Baron"
RenderText {TEXT} at (306,0) size 5x18
text run at (306,0) width 5: ")"
RenderBlock {P} at (0,488) size 784x18
RenderInline {A} at (0,0) size 33x18 [color=#0000EE]
RenderText {TEXT} at (0,0) size 33x18
text run at (0,0) width 33: "LDB"
RenderText {TEXT} at (33,0) size 8x18
text run at (33,0) width 8: ", "
RenderInline {A} at (0,0) size 128x18 [color=#0000EE]
RenderText {TEXT} at (41,0) size 128x18
text run at (41,0) width 128: "dbaron at dbaron.org"
RenderText {TEXT} at (169,0) size 82x18
text run at (169,0) width 82: ", 2001-06-05"
RenderBlock {P} at (0,522) size 784x18
RenderText {TEXT} at (0,0) size 304x18
text run at (0,0) width 304: "Modified and used with the author\x{2019}s permission."
1.1 LayoutTests/fast/text/international/bidi-LDB-2-formatting-characters.html
Index: bidi-LDB-2-formatting-characters.html
===================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML><HEAD>
<!--
Based on http://dbaron.org/css/test/bidi2_charcode by Dave Baron, dbaron at dbaron.org
Copied with permission on 2005-09-10
Modified with permission (rearranged to fit in 800x600 and changed to make more
testcases have the same expected layout).
-->
<BASE HREF="http://dbaron.org/css/test/">
<TITLE>Bidirectional Text Test 2 - Formatting Characters</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<LINK REL="copyright" HREF="/~dbaron/legal.html">
<STYLE TYPE="text/css">
p { text-align: left; }
table.pair { border-spacing: 0; margin-bottom: 0; }
table.pair td { padding: 0; }
p.pair { margin: 0; }
.rtl { direction: rtl; }
.ltr { direction: ltr; }
div.box { border:1px green solid; display:inline-block; padding:3px; margin:3px; vertical-align:middle; }
</STYLE>
</HEAD>
<BODY>
<H1>Bidirectional Text Test 2 - Formatting Characters</H1>
<!--
LRE ‪
RLE ‫
PDF ‬
LRO ‭
RLO ‮
-->
<p>This test is based on <a
href="http://www.w3.org/TR/REC-CSS2/visuren.html#direction">CSS2 section
9.10</a> and <a href="http://www.unicode.org/unicode/uni2book/ch03.pdf">Chapter
3</a> of the <a href="http://www.unicode.org/unicode/uni2book/u2.html">Unicode
Standard</a>.</p>
<p>
Note that <a href="http://www.w3.org/TR/unicode-xml/#Bidi">Unicode in
XML and other Markup Languages</a> suggests that HTML UAs should ignore
these characters.
</p>
<p>In each box, all the lines should be the same.</p>
<div class="box">
<p class="pair">ABCDEFGHI</p>
<p class="rtl pair">‫ABCDEFGHI‬</p>
<p class="rtl pair">‫ABC<span>DEF</span>GHI‬</p>
<p class="rtl pair">‮IHGFEDCBA‬</p>
<p class="rtl pair">‮IHG<span>FED</span>CBA‬</p>
<p class="rtl pair">‮IHG‫DEF‬CBA‬</p>
<p class="rtl pair">‮IHG‮FED‬CBA‬</p>
<p class="rtl pair">‮IHG‮FED‬CBA‬</p>
<p class="rtl pair">‮IHG‭DEF‬CBA‬</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td></tr></table>
<p class="pair">אבג</p>
<p class="pair">‪אבג‬</p>
<p class="pair">‭גבא‬</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>ו</td><td>ה</td><td>ד</td></tr></table>
<p class="pair">אבג ABC דהו</p>
<p class="pair rtl">דהו ABC אבג</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>D</td><td>E</td><td>F</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ABC דהו DEF זחט</p>
<p class="pair">אבג <span>ABC דהו</span> DEF זחט</p>
<p class="pair">אבג ‪ABC דהו DEF‬ זחט</p>
<p class="pair">זחט ‫DEF דהו ABC‬ אבג</p>
<p class="pair">דהו ‫ABC אבג‬ DEF זחט</p>
<p class="pair">דהו ‮CBA אבג‬ DEF זחט</p>
<p class="pair">אבג ‭ABC והד‬ DEF זחט</p>
<p class="pair rtl">זחט ‭ABC והד‬ DEF אבג</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>D</td><td>E</td><td>F</td><td> </td><td>G</td><td>H</td><td>I</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ABC דהו DEF GHI זחט</p>
</div>
<br/>
<div class="box">
<table class="pair"><tr><td>F</td><td>E</td><td>D</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>C</td><td>B</td><td>A</td><td> </td><td>ג</td><td>ב</td><td>א</td><td> </td><td>G</td><td>H</td><td>I</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ‮ABC דהו DEF‬ GHI זחט</p>
</div>
<div class="box">
<table class="pair"><tr><td>ג</td><td>ב</td><td>א</td><td> </td><td>A</td><td>B</td><td>C</td><td> </td><td>F</td><td>E</td><td>D</td><td> </td><td>ו</td><td>ה</td><td>ד</td><td> </td><td>G</td><td>H</td><td>I</td><td> </td><td>ט</td><td>ח</td><td>ז</td></tr></table>
<p class="pair">אבג ABC ‮דהו DEF‬ GHI זחט</p>
</div>
<p>Note: This test does not test RLM or LRM, but it ought to.</p>
<hr title="Beginning of Footer">
<!--
<P><A HREF="http://validator.w3.org/check/referer" TITLE="W3C HTML Validator"><img src="../../images/vh40" ALT="Valid HTML 4.0!" height="31" width="88"></A></P>
-->
<P>(Back to
<A HREF="./">CSS Testing Information</A>,
<A HREF="../../">David Baron</A>)
<P><A HREF="/" TITLE="David Baron's Homepage">LDB</A>,
<A rev="made" href="mailto:dbaron at dbaron.org" TITLE="Send e-mail to David Baron">dbaron at dbaron.org</A>, 2001-06-05</P>
<P>Modified and used with the author’s permission.</P>
</BODY></HTML>
More information about the webkit-changes
mailing list