Skip to content

Commit

Permalink
Backed out changeset 2bf6b633b054 (bug 1145218)
Browse files Browse the repository at this point in the history
  • Loading branch information
KWierso committed Apr 1, 2015
1 parent 534c6ba commit dd9e1fd
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions layout/generic/nsBlockFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6645,19 +6645,8 @@ nsBlockFrame::Init(nsIContent* aContent,
nsBlockFrameSuper::Init(aContent, aParent, aPrevInFlow);

if (!aPrevInFlow ||
aPrevInFlow->GetStateBits() & NS_BLOCK_NEEDS_BIDI_RESOLUTION) {
aPrevInFlow->GetStateBits() & NS_BLOCK_NEEDS_BIDI_RESOLUTION)
AddStateBits(NS_BLOCK_NEEDS_BIDI_RESOLUTION);
}

// If a box has a different block flow direction than its containing block:
// ...
// If the box is a block container, then it establishes a new block
// formatting context.
// (http://dev.w3.org/csswg/css-writing-modes/#block-flow)
if (GetParent() && StyleVisibility()->mWritingMode !=
GetParent()->StyleVisibility()->mWritingMode) {
AddStateBits(NS_BLOCK_FLOAT_MGR | NS_BLOCK_MARGIN_ROOT);
}

if ((GetStateBits() &
(NS_FRAME_FONT_INFLATION_CONTAINER | NS_BLOCK_FLOAT_MGR)) ==
Expand Down

0 comments on commit dd9e1fd

Please sign in to comment.