The test for bidi isolated subparagraphs should be > 0, not > 1. Bug 859093, r=roc

This commit is contained in:
Simon Montagu 2013-04-08 23:25:34 -07:00
parent 8e963efa7b
commit b9562c3d30
4 changed files with 24 additions and 1 deletions

View File

@ -874,7 +874,7 @@ nsBidiPresUtils::ResolveParagraph(nsBlockFrame* aBlockFrame,
}
} // for
if (aBpd->mParagraphDepth > 1) {
if (aBpd->mParagraphDepth > 0) {
nsIFrame* child;
nsIFrame* parent;
if (firstFrame) {

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html dir="rtl" lang="he">
<head>
<meta charset="utf-8" />
</head>
<body>
<ul>
<li><span lang="en">correct rendering, parentheses at the end of the line: (<span dir="rtl">משהו בעברית: Something in English</span>)</span></li>
</ul>
</body>
</html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html dir="rtl" lang="he">
<head>
<meta charset="utf-8" />
</head>
<body>
<ul>
<li><span lang="en">correct rendering, parentheses at the end of the line: (<span dir="auto">משהו בעברית: Something in English</span>)</span></li>
</ul>
</body>
</html>

View File

@ -161,3 +161,4 @@ fuzzy-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)&&!layersGPUAccelerated&&!azur
== dynamicDirAuto-DeleteText-RTL2.html dynamicDirAuto-refRTL-RTL.html
== dynamicDirAuto-DeleteText-RTL3.html dynamicDirAuto-refRTL-RTL.html
== 839886-1.html 839886-1-ref.html
== 859093-1.html 859093-1-ref.html