From 366e20af5053cc93959d65eb9a98dab72d82a722 Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Mon, 12 Mar 2018 21:04:48 -0700 Subject: [PATCH] #482: note to self --- layout/base/nsBidiPresUtils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layout/base/nsBidiPresUtils.cpp b/layout/base/nsBidiPresUtils.cpp index 1184da66a..5cd0a274a 100644 --- a/layout/base/nsBidiPresUtils.cpp +++ b/layout/base/nsBidiPresUtils.cpp @@ -705,6 +705,9 @@ nsBidiPresUtils::Resolve(nsBlockFrame* aBlockFrame) /* } */ #endif } + // Moving the below here so that we can keep partial work causes RTL + // to get munged. It seems we really do have to iterate through all the + // frames again from the beginning if any are RTL. if (!bpd.mRequiresBidi) { return NS_OK; }