Commit Graph

506 Commits

Author SHA1 Message Date
Simon Montagu
3766f98942 Aways use the root span's writing mode when recursing into child spans in nsLineLayout::ApplyFrameJustification. Bug 986899, r=jfkthame 2014-03-24 10:50:13 -07:00
Alex Henrie
9aa7a86686 Bug 963970 - Place combobox button where a scrollbar would be. r=roc 2014-03-06 16:24:01 -07:00
Daniel Holbert
60f5732676 Bug 973701: Check NS_FRAME_OUT_OF_FLOW state bit instead of IsAbsolutelyPositioned(), when excluding out-of-flow frames from being considered as flex items. r=mats 2014-03-04 11:08:54 -08:00
L. David Baron
8f1703567a Bug 439204: Remove assertion "We placed a float where there was no room!" r=roc 2014-03-03 00:54:39 -08:00
L. David Baron
4680ed2f65 Bug 978620: Make nsFrameSetFrame call FinishAndStoreOverflow. r=roc 2014-03-03 00:54:39 -08:00
Jesse Ruderman
83a7ba8f83 Bug 513110 - tests 2014-03-01 10:36:39 +00:00
Geoff Brown
f251f43ac0 Bug 891347 - Disable layout/generic/crashtests/385526.html on Android 2.3 2014-02-28 14:58:34 -07:00
Alex Henrie
9763e9f9df Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
L. David Baron
4b021fabc8 Bug 964529 pre-patch: Make things that were syntax errors prior to enabling scientific notation continue to be syntax errors, by changing e+ to x+. 2014-01-31 16:06:46 -08:00
Daniel Holbert
3ea9bcc426 Bug 807565: Don't let border/padding push minimum content-box size for themed flex items below 0. r=mats 2014-01-06 19:17:26 -08:00
Daniel Holbert
57fe219e9b Bug 893496: Avoid doing bogus infinity*0 multiplication when producing a flex weight from huge flex-shrink and 0 flex-basis. r=mats 2014-01-05 20:18:12 -08:00
Cameron McCormack
48666bbe8b Bug 897763 - Take into account nsChangeHint_{NeedReflow,ClearAncestorIntrinsics} never being inherited for difference calculations on certain style structs. r=dbaron 2014-01-03 13:39:54 +11:00
Daniel Holbert
740f1de274 Bug 944909, part 3: add crashtest. (test-only) 2013-12-31 08:47:49 -08:00
Martijn Wargers
64212a4480 Bug 374420 - crashtest. 2013-12-23 16:51:58 +00:00
Martijn Wargers
1eb0893fc6 Bug 374090 - crashtest. 2013-12-23 16:51:57 +00:00
Martijn Wargers
54eeaa85ea Bug 370174 - crashtests. 2013-12-23 16:51:57 +00:00
Patrick Reiter Horn
5dc74e2ea8 Bug 255468 - crashtest. 2013-12-23 16:51:56 +00:00
Mats Palmgren
fdf58ed14b Bug 949932 - Null-check the new StickyScrollContainer in case we don't have any scroll frame ancestors, e.g. in a position:fixed sub-tree. r=roc 2013-12-13 12:46:59 -05:00
Mats Palmgren
15a98e0ed7 Bug 943448 - Adjust assertion counts accordingly. 2013-11-30 21:45:20 +00:00
Daniel Holbert
4841da1d65 Bug 943509: Explicitly check for unconstrained availableHeight, when checking whether bottom padding fits, at end of flex container reflow. r=mats 2013-11-26 17:14:48 -08:00
Daniel Holbert
27d70dddcc Bug 939896 part 3a: Make FlexItem compute its own baseline offset from cross-start edge (and support bottom-to-top cross axis). r=mats 2013-11-26 10:27:51 -08:00
Ryan VanderMeulen
8ef1cc6935 Bug 937847 - Skip layout/generic/crashtests/784600.html on Android due to intermittent failures. 2013-11-13 08:15:11 -05:00
Abhishek Arya
e2ec7582fc Bug 784600 - Crashtest. 2013-11-12 14:37:22 +00:00
miaubiz@gmail.com
9a4e8075ee Bug 777838 - Crashtest. 2013-11-12 14:37:22 +00:00
Mats Palmgren
f0a800ba55 Bug 654002 - crash tests. 2013-11-12 14:37:22 +00:00
Jesse Ruderman
a05c5fb0c1 Bug 537645 - Crashtest. 2013-11-12 14:37:22 +00:00
Jesse Ruderman
48c25c84b6 Bug 489477 - Crashtest. 2013-11-12 14:37:22 +00:00
Martijn Wargers
6c3566d1d2 Bug 463785 - Crashtest. 2013-11-12 14:37:22 +00:00
Jonathan Kew
93bb626a3f bug 909344 - testcase 398332-3.html might not trigger assertions. r=roc 2013-11-12 12:57:39 +00:00
Jonathan Kew
055c1d1d05 bug 909344 - load testcase 388367-1 as a crashtest rather than reftest. r=roc
--HG--
rename : layout/reftests/bugs/388367-1.html => layout/generic/crashtests/388367-1.html
2013-11-12 12:57:22 +00:00
Daniel Holbert
786b9688df Bug 936100 part 1: Adjust reftests and crashtests to no longer bother with flexbox pref. r=mats 2013-11-09 07:53:02 -08:00
Phil Ringnalda
27bc2d9d9c Bug 859424 - Disable layout/generic/crashtests/309322-4.html for loading a bmo attachment as an img src 2013-10-12 15:20:21 -07:00
Daniel Holbert
f837a8ecf8 Backout e67dad88f860 and assertion-count-tweak followups (bug 914919), since including nsDebug.h in gfx/2d causes issues with some skia headers. 2013-10-09 17:03:35 -07:00
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