mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 451117. Remove obsolete assertion. r+sr=bzbarsky
This commit is contained in:
parent
c92dae69f3
commit
64e40d52ed
@ -11867,9 +11867,6 @@ nsCSSFrameConstructor::CreateLetterFrame(nsFrameConstructorState& aState,
|
||||
// content for a non-text frame (because we want its primary frame to
|
||||
// be a text frame). So use its parent for the first-letter.
|
||||
nsIContent* letterContent = aTextContent->GetParent();
|
||||
NS_ASSERTION(!letterContent->IsRootOfNativeAnonymousSubtree(),
|
||||
"Reframes of this letter frame will mess with the root "
|
||||
"of a native anonymous content subtree!");
|
||||
letterFrame->Init(letterContent, aParentFrame, nsnull);
|
||||
|
||||
InitAndRestoreFrame(aState, aTextContent, letterFrame, nsnull,
|
||||
|
Loading…
Reference in New Issue
Block a user