mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
The test for bidi isolated subparagraphs should be > 0, not > 1. Bug 859093, r=roc
This commit is contained in:
parent
8e963efa7b
commit
b9562c3d30
@ -874,7 +874,7 @@ nsBidiPresUtils::ResolveParagraph(nsBlockFrame* aBlockFrame,
|
||||
}
|
||||
} // for
|
||||
|
||||
if (aBpd->mParagraphDepth > 1) {
|
||||
if (aBpd->mParagraphDepth > 0) {
|
||||
nsIFrame* child;
|
||||
nsIFrame* parent;
|
||||
if (firstFrame) {
|
||||
|
11
layout/reftests/bidi/dirAuto/859093-1-ref.html
Normal file
11
layout/reftests/bidi/dirAuto/859093-1-ref.html
Normal 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>
|
11
layout/reftests/bidi/dirAuto/859093-1.html
Normal file
11
layout/reftests/bidi/dirAuto/859093-1.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user