зеркало из https://github.com/mozilla/pjs.git
Fix mats's review comment as well. b=210873 r+sr=bzbarsky
This commit is contained in:
Родитель
5932f7a23f
Коммит
670aa826c4
|
@ -6302,9 +6302,8 @@ nsCSSFrameConstructor::ConstructFrameByDisplayType(nsIPresShell* aPre
|
|||
}
|
||||
// See if the frame is absolute or fixed positioned
|
||||
else if (aDisplay->IsAbsolutelyPositioned() &&
|
||||
((NS_STYLE_DISPLAY_BLOCK == aDisplay->mDisplay) ||
|
||||
(NS_STYLE_DISPLAY_INLINE == aDisplay->mDisplay) ||
|
||||
(NS_STYLE_DISPLAY_LIST_ITEM == aDisplay->mDisplay))) {
|
||||
(NS_STYLE_DISPLAY_BLOCK == aDisplay->mDisplay ||
|
||||
NS_STYLE_DISPLAY_LIST_ITEM == aDisplay->mDisplay)) {
|
||||
|
||||
if (!pseudoParent && !aState.mPseudoFrames.IsEmpty()) { // process pending pseudo frames
|
||||
ProcessPseudoFrames(aPresContext, aState.mPseudoFrames, aFrameItems);
|
||||
|
|
|
@ -6302,9 +6302,8 @@ nsCSSFrameConstructor::ConstructFrameByDisplayType(nsIPresShell* aPre
|
|||
}
|
||||
// See if the frame is absolute or fixed positioned
|
||||
else if (aDisplay->IsAbsolutelyPositioned() &&
|
||||
((NS_STYLE_DISPLAY_BLOCK == aDisplay->mDisplay) ||
|
||||
(NS_STYLE_DISPLAY_INLINE == aDisplay->mDisplay) ||
|
||||
(NS_STYLE_DISPLAY_LIST_ITEM == aDisplay->mDisplay))) {
|
||||
(NS_STYLE_DISPLAY_BLOCK == aDisplay->mDisplay ||
|
||||
NS_STYLE_DISPLAY_LIST_ITEM == aDisplay->mDisplay)) {
|
||||
|
||||
if (!pseudoParent && !aState.mPseudoFrames.IsEmpty()) { // process pending pseudo frames
|
||||
ProcessPseudoFrames(aPresContext, aState.mPseudoFrames, aFrameItems);
|
||||
|
|
Загрузка…
Ссылка в новой задаче