зеркало из https://github.com/mozilla/gecko-dev.git
Make floating :first-letter frames not be containers for font size inflation, to avoid triggering assertions. (Bug 706609, patch 3.5) r=roc
This commit is contained in:
Родитель
de8dc36651
Коммит
6bc1759abb
|
@ -461,6 +461,8 @@ IsFontSizeInflationContainer(nsIFrame* aFrame,
|
|||
* always containers.
|
||||
*/
|
||||
bool isInline = (aStyleDisplay->mDisplay == NS_STYLE_DISPLAY_INLINE ||
|
||||
(aStyleDisplay->IsFloating() &&
|
||||
aFrame->GetType() == nsGkAtoms::letterFrame) ||
|
||||
(aFrame->GetContent() &&
|
||||
aFrame->GetContent()->IsInNativeAnonymousSubtree())) &&
|
||||
!(aFrame->IsBoxFrame() && aFrame->GetParent() &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче