зеркало из https://github.com/mozilla/gecko-dev.git
Bug 403004. Let the text-transform style setting loop cross non-fluid continuation boundaries. r+sr=bz
This commit is contained in:
Родитель
502c2e7e33
Коммит
e10819cfa9
|
@ -1512,7 +1512,7 @@ BuildTextRunsScanner::BuildTextRunForFrames(void* aTextBuffer)
|
||||||
MappedFlow* mappedFlow = &mMappedFlows[i];
|
MappedFlow* mappedFlow = &mMappedFlows[i];
|
||||||
nsTextFrame* f;
|
nsTextFrame* f;
|
||||||
for (f = mappedFlow->mStartFrame; f != mappedFlow->mEndFrame;
|
for (f = mappedFlow->mStartFrame; f != mappedFlow->mEndFrame;
|
||||||
f = static_cast<nsTextFrame*>(f->GetNextInFlow())) {
|
f = static_cast<nsTextFrame*>(f->GetNextContinuation())) {
|
||||||
PRUint32 offset = iter.GetSkippedOffset();
|
PRUint32 offset = iter.GetSkippedOffset();
|
||||||
iter.AdvanceOriginal(f->GetContentLength());
|
iter.AdvanceOriginal(f->GetContentLength());
|
||||||
PRUint32 end = iter.GetSkippedOffset();
|
PRUint32 end = iter.GetSkippedOffset();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче