mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1146107 - Replace MOZ_ASSERT with NS_WARN_IF_FALSE on isize check in ruby base container. r=dholbert
--HG-- extra : source : b0dea2a0018b986b90c12055e047a925705982bf
This commit is contained in:
parent
d6b37bd85a
commit
7ee8cc4465
6
layout/generic/crashtests/1146107.html
Normal file
6
layout/generic/crashtests/1146107.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="display: ruby-base; margin: -47891343%"></div>
|
||||
</body>
|
||||
</html>
|
@ -579,4 +579,5 @@ asserts(3-7) load 1137723-2.html # bug 1019192, bug 1138133
|
||||
asserts(0-3) load 1134667.html
|
||||
asserts(0-3) load 1134667.html
|
||||
asserts(0-3) load 1134667.html
|
||||
load 1146107.html
|
||||
load 1146114.html
|
||||
|
@ -518,8 +518,9 @@ nsRubyBaseContainerFrame::Reflow(nsPresContext* aPresContext,
|
||||
// When there are no frames inside the ruby base container, EndSpan
|
||||
// will return 0. However, in this case, the actual width of the
|
||||
// container could be non-zero because of non-empty ruby annotations.
|
||||
MOZ_ASSERT(NS_INLINE_IS_BREAK(aStatus) ||
|
||||
isize == lineSpanSize || mFrames.IsEmpty());
|
||||
// XXX When bug 765861 gets fixed, this warning should be upgraded.
|
||||
NS_WARN_IF_FALSE(NS_INLINE_IS_BREAK(aStatus) ||
|
||||
isize == lineSpanSize || mFrames.IsEmpty(), "bad isize");
|
||||
|
||||
// If there exists any span, the columns must either be completely
|
||||
// reflowed, or be not reflowed at all.
|
||||
|
Loading…
Reference in New Issue
Block a user