Don't use the same pseudo-element name to mean two different things. Bug

377824, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224808 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu 2007-04-20 21:27:02 +00:00
parent 49415b2fb8
commit 8d22ae89ff
3 changed files with 11 additions and 1 deletions

View File

@ -6783,7 +6783,7 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsFrameConstructorState& aState,
nsRefPtr<nsStyleContext> blockContext;
blockContext = styleSet->ResolvePseudoStyleFor(aContent,
nsCSSAnonBoxes::mozAnonymousBlock,
nsCSSAnonBoxes::mozMathMLAnonymousBlock,
mrowContext);
// then, create a block frame that will wrap the table frame

View File

@ -472,3 +472,12 @@ mtd[-moz-math-columnline="dashed"] {
semantics > :not(:first-child) {
display: none;
}
/**
* Temporary, until we make mtable no longer use display: table
*/
*|*::-moz-mathml-anonymous-block {
display: block !important;
position: static !important;
}

View File

@ -56,6 +56,7 @@ CSS_ANON_BOX(mozNonElement, ":-moz-non-element")
CSS_ANON_BOX(mozAnonymousBlock, ":-moz-anonymous-block")
CSS_ANON_BOX(mozAnonymousPositionedBlock, ":-moz-anonymous-positioned-block")
CSS_ANON_BOX(mozMathMLAnonymousBlock, ":-moz-mathml-anonymous-block")
CSS_ANON_BOX(mozLineFrame, ":-moz-line-frame")