зеркало из https://github.com/mozilla/pjs.git
Look for ::first-letter frames in relative positioned inlines too. b=264799 r=bzbarsky sr=dbaron
This commit is contained in:
Родитель
4df13a26fd
Коммит
6925dad5f1
|
@ -12380,7 +12380,8 @@ nsCSSFrameConstructor::WrapFramesInFirstLetterFrame(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ((nsLayoutAtoms::inlineFrame == frameType) ||
|
else if ((nsLayoutAtoms::inlineFrame == frameType) ||
|
||||||
(nsLayoutAtoms::lineFrame == frameType)) {
|
(nsLayoutAtoms::lineFrame == frameType) ||
|
||||||
|
(nsLayoutAtoms::positionedInlineFrame == frameType)) {
|
||||||
nsIFrame* kids = frame->GetFirstChild(nsnull);
|
nsIFrame* kids = frame->GetFirstChild(nsnull);
|
||||||
WrapFramesInFirstLetterFrame(aPresShell, aPresContext, aState, frame, kids,
|
WrapFramesInFirstLetterFrame(aPresShell, aPresContext, aState, frame, kids,
|
||||||
aModifiedParent, aTextFrame,
|
aModifiedParent, aTextFrame,
|
||||||
|
@ -12570,7 +12571,8 @@ nsCSSFrameConstructor::RemoveFirstLetterFrames(nsPresContext* aPresContext,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if ((nsLayoutAtoms::inlineFrame == frameType) ||
|
else if ((nsLayoutAtoms::inlineFrame == frameType) ||
|
||||||
(nsLayoutAtoms::lineFrame == frameType)) {
|
(nsLayoutAtoms::lineFrame == frameType) ||
|
||||||
|
(nsLayoutAtoms::positionedInlineFrame == frameType)) {
|
||||||
// Look inside child inline frame for the letter frame
|
// Look inside child inline frame for the letter frame
|
||||||
RemoveFirstLetterFrames(aPresContext, aPresShell, aFrameManager, kid,
|
RemoveFirstLetterFrames(aPresContext, aPresShell, aFrameManager, kid,
|
||||||
aStopLooking);
|
aStopLooking);
|
||||||
|
|
|
@ -12380,7 +12380,8 @@ nsCSSFrameConstructor::WrapFramesInFirstLetterFrame(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ((nsLayoutAtoms::inlineFrame == frameType) ||
|
else if ((nsLayoutAtoms::inlineFrame == frameType) ||
|
||||||
(nsLayoutAtoms::lineFrame == frameType)) {
|
(nsLayoutAtoms::lineFrame == frameType) ||
|
||||||
|
(nsLayoutAtoms::positionedInlineFrame == frameType)) {
|
||||||
nsIFrame* kids = frame->GetFirstChild(nsnull);
|
nsIFrame* kids = frame->GetFirstChild(nsnull);
|
||||||
WrapFramesInFirstLetterFrame(aPresShell, aPresContext, aState, frame, kids,
|
WrapFramesInFirstLetterFrame(aPresShell, aPresContext, aState, frame, kids,
|
||||||
aModifiedParent, aTextFrame,
|
aModifiedParent, aTextFrame,
|
||||||
|
@ -12570,7 +12571,8 @@ nsCSSFrameConstructor::RemoveFirstLetterFrames(nsPresContext* aPresContext,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if ((nsLayoutAtoms::inlineFrame == frameType) ||
|
else if ((nsLayoutAtoms::inlineFrame == frameType) ||
|
||||||
(nsLayoutAtoms::lineFrame == frameType)) {
|
(nsLayoutAtoms::lineFrame == frameType) ||
|
||||||
|
(nsLayoutAtoms::positionedInlineFrame == frameType)) {
|
||||||
// Look inside child inline frame for the letter frame
|
// Look inside child inline frame for the letter frame
|
||||||
RemoveFirstLetterFrames(aPresContext, aPresShell, aFrameManager, kid,
|
RemoveFirstLetterFrames(aPresContext, aPresShell, aFrameManager, kid,
|
||||||
aStopLooking);
|
aStopLooking);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче