Bug 1121738 - Ruby base container frames should not support CSS transforms. r=xidorn

Following bug 1055667 patch 5, nsRubyBaseContainerFrame is the only ruby
frame type with this bug.  It should not support CSS transforms given
the spec wording in
http://dev.w3.org/csswg/css-transforms/#transformable-element
This commit is contained in:
L. David Baron 2015-01-15 15:07:50 -08:00
parent b42c515aad
commit 9bec86a190

View File

@ -265,7 +265,10 @@ nsRubyBaseContainerFrame::AddInlinePrefISize(
/* virtual */ bool
nsRubyBaseContainerFrame::IsFrameOfType(uint32_t aFlags) const
{
return nsContainerFrame::IsFrameOfType(aFlags &
if (aFlags & eSupportsCSSTransforms) {
return false;
}
return nsContainerFrame::IsFrameOfType(aFlags &
~(nsIFrame::eLineParticipant));
}