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
Родитель eb5285b396
Коммит a8c1becff0
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

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