Commit Graph

473 Commits

Author SHA1 Message Date
L. David Baron
38a6d76524 Bug 828312 patch 11: Don't generate change hints for restyling of later continuations, since the handling of the change hints from the first continuation is required to do the necessary work. r=bzbarsky
This depends on bug 898333 in order to avoid causing:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/test_focused_link_scroll.xul | Assertion count 1 is greater than expected range 0-0 assertions.
due to the assertion:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62

The assertion count change in layout/generic/crashtests/571995.xhtml is
expected because it changes us from having 7 of:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62
with the stack:
  mozilla::ElementRestyler::CaptureChange(nsStyleContext*, nsStyleContext*, nsChangeHint) [layout/base/nsChangeHint.h:191]
  mozilla::ElementRestyler::RestyleSelf(nsRestyleHint) [layout/base/RestyleManager.cpp:2304]
to only having one.  This is expected since this patch changes
RestyleSelf to only call CaptureChange for the first continuation or
block-in-inline sibling.
2013-09-25 12:28:08 -07:00
Corey Ford
92841b7169 Bug 915475 - Don't sticky position frames with NS_FRAME_IS_NONDISPLAY. r=dholbert 2013-09-17 14:11:12 -07:00
Phil Ringnalda
5bafbda9ba Bug 914919 followup followup, increase the assertion range for everyone 2013-09-15 13:34:08 -07:00
Phil Ringnalda
863ac83acc Bug 914919 followup, increase the assertion range for Windows 2013-09-14 21:39:16 -07:00
Corey Ford
2c345af1a4 Bug 914919 - Downgrade BaseRect::Set*Edge assertions to be non-fatal. r=dholbert 2013-09-11 16:27:14 -07:00
Corey Ford
25096b484a Bug 914891 - Bail gracefully on sticky positioning with no scroll container. r=dholbert 2013-09-11 16:30:56 -07:00
Scott Johnson
57ce07ef81 Bug 794693, part 2: Perform parent reflow state calculation at the box-block interface before setting up child reflow state to prevent crashing when a parent reflow state is assumed to be non-null. [r=dbaron] 2013-09-09 15:29:06 -05:00
Karl Tomlinson
b9829289b8 add crashtest for bug 893523 using testcase by jruderman@gmail.com
--HG--
extra : transplant_source : %C9y%C9%A3%DF%BF%01%E6%A25%D4%C4%28G%FE%FF%94%2B%E9%D5
2013-08-05 14:58:10 +12:00
Robert O'Callahan
0410954212 Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats
--HG--
extra : rebase_source : 284587e5fa70532bc6435f987f03c1282edc9cb8
2013-07-26 13:36:05 +12:00
Blake Kaplan
89177ea95a Bug 888787 - Restore old XBL behavior when a child of the bound element didn't match any of the <children/> in the binding. r=sicking 2013-07-11 17:05:54 -04:00
Ryan VanderMeulen
42dc56caf5 Bug 891347 - Skip 385526.html on B2G due to frequent timeouts. 2013-07-09 16:02:04 -04:00
Blake Kaplan
9a0d5df639 Bug 653881 - Bump the assertion count for 382745-1.xhtml. r=bz
--HG--
extra : rebase_source : e645bf99e368d97aca200c0db4c302a87abf3b1f
2013-06-28 18:48:12 -07:00
Karl Tomlinson
4ff9f7630b b=810274 ensure scrolled range is non-negative even in the presence of nscoord overflow r=roc
Instead of trying to detect all integer overflow at the source, this merely
keeps the sizes non-negative.  That may not mean they are less than
nscoord_MAX.

If we give in and accept that integer arithmetic may result in the scrolled
rect being smaller than the scroll port, then we shouldn't assert.

--HG--
extra : transplant_source : RP%15%84zx%B9%E8%2C%1E%0A%AB%82%F4%9C%A2y%AD5%27
2013-06-06 15:47:39 +12:00
Ehsan Akhgari
1fbfccb49f Bug 876194 - Remove 660451-1.html because we have another copy of it in the tree (656130-2.html) 2013-06-03 21:42:23 -04:00
Scott Johnson
fe9e70e605 Bug 730559: Limit the number of columns during layout of column sets to prevent hang. [r=mats]
In nsRuleNode, when we parse a number of columns from a CSS style sheet, we enforce
a rule that the number of columns cannot exceed 1000. This patch simply enforces
the same rule when we decide that the column count will be generated based on
the available width (e.g. the column-count property has a value of 'auto').
2013-05-31 10:51:43 -05:00
Daniel Holbert
31fd633e58 Bug 876074: Soften flexbox assertion about out-of-order children, since it's not dangerous and it can be triggered by unrelated-to-flexbox tree mutations. r=bz 2013-05-28 09:39:02 -07:00
Phil Ringnalda
6c5865d6a9 Back out 6115fce2399d (bug 756241 crash test) for making Linux debug crashtest logs exceed the maximum size
CLOSED TREE
2013-05-25 18:13:40 -07:00
Daniel Holbert
35aa3d8c53 Bug 825810 part 2: When digging for a flex item's first non-anonymous descendant, check table caption list & column-group list. r=bz 2013-05-22 11:59:36 +08:00
Martijn Wargers
5603b609fd Bug 367360 - crash test 2013-05-19 18:20:21 +00:00
Martijn Wargers
2db7ef0d44 Bug 368752 - crash test 2013-05-19 18:20:21 +00:00
Jesse Ruderman
60627a970e Bug 493649 - crash test 2013-05-19 18:20:20 +00:00
Aki Helin
24e331e5c1 Bug 619021 - crash test 2013-05-18 18:38:34 +00:00
Jesse Ruderman
612057776b Bug 571995 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
25554b4b15 Bug 526217 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
4999e3d00a Bug 499138 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
edc98dfa53 Bug 496742 - crash test 2013-05-18 18:38:32 +00:00
Mats Palmgren
36dc286e5d Bug 756241 - crash test. 2013-05-14 10:36:51 +02:00
Jesse Ruderman
a12c94a99d Bug 691210 - crash test 2013-05-14 10:36:51 +02:00
Martijn Wargers
54cecb77c0 Bug 723108 - crash test 2013-05-14 10:36:51 +02:00
Abhishek Arya
1727ce11f7 Bug 747688 - crash test. 2013-05-14 10:36:51 +02:00
Mats Palmgren
81e6ae37f1 Bug 750066 crashtest. 2013-05-14 10:36:51 +02:00
Jesse Ruderman
44e78e1c94 Bug 765409 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
52e77f2186 Bug 765621 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
4c5bf1f4fd Bug 767765 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
c1d30df210 Bug 769120 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
39d006f5a4 Bug 769303 - crash tests 2013-05-14 10:36:50 +02:00
Jesse Ruderman
ba645b6dea Bug 791601 - crash test 2013-05-13 16:28:29 +02:00
Abhishek Arya
5f63f738e5 Bug 827076 - crash test 2013-05-13 16:28:28 +02:00
Jesse Ruderman
99cee7a269 Bug 840787 - crash test 2013-05-13 16:28:28 +02:00
Jesse Ruderman
6b4b180e17 Bug 494283 - crash test 2013-05-12 23:09:31 +02:00
Martijn Wargers
baa948a934 Bug 455407 - crash test 2013-05-12 23:09:30 +02:00
Jesse Ruderman
dd766be282 Bug 423098 - crash test 2013-05-12 23:09:30 +02:00
Martijn Wargers
2b6c9ee4d4 Bug 420718 - crash tests 2013-05-12 23:09:30 +02:00
Martijn Wargers
0e5ded4687 Bug 416165 - crash tests 2013-05-12 23:09:30 +02:00
Martijn Wargers
b9fb9fa9c7 Bug 402872 - crash tests 2013-05-12 23:09:30 +02:00
Mats Palmgren
4721db3cda Bug 377522 - crash test 2013-05-12 23:09:29 +02:00
Martijn Wargers
a205a1403b Bug 375831 - crash test 2013-05-12 23:09:29 +02:00
L. David Baron
e1c209333c Bug 828312 patch 3: Wait to mark lines dirty until we're in reflow, to avoid O(N^2) behavior as a result of looking for lines. r=bzbarsky
The assertion count reduction from 12 to 8 in
layout/generic/crashtests/798020-1.html is the removal of the 4
###!!! ASSERTION: math on NS_UNCONSTRAINEDSIZE: 'NS_UNCONSTRAINEDSIZE != aState.mReflowState.mComputedBorderPadding.left && NS_UNCONSTRAINEDSIZE != aState.mReflowState.ComputedWidth()'
in nsBlockFrame::PrepareResizeReflow by avoiding calling
nsBlockFrame::PrepareResizeReflow.
2013-05-10 17:35:08 -07:00
Mats Palmgren
ca5677b644 Bug 868906 - Make GetChildFrameContainingOffset() stable. r=roc 2013-05-07 20:48:59 +02:00
Daniel Holbert
42771dcfef Bug 867454: Treat a flex container's ::before and ::after generated content nodes as flex items. r=bz 2013-05-02 14:04:47 -07:00