Commit Graph

4559 Commits

Author SHA1 Message Date
Martijn Wargers
de4575f796 Bug 416165 - crash tests 2013-05-12 23:09:30 +02:00
Martijn Wargers
f3b991d7d1 Bug 402872 - crash tests 2013-05-12 23:09:30 +02:00
Mats Palmgren
402c61c45f Bug 377522 - crash test 2013-05-12 23:09:29 +02:00
Martijn Wargers
57d3795d8f Bug 375831 - crash test 2013-05-12 23:09:29 +02:00
L. David Baron
9f8e9f40d7 Fix warnings-as-errors bustage from changeset 09552b219c3a (Bug 828312 patch 3). 2013-05-10 18:04:55 -07:00
L. David Baron
3f8575e3eb 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
L. David Baron
baf2225550 Bug 828312 patch 2: Make list renumbering code set NS_FRAME_HAS_DIRTY_CHILDREN correctly on intermediate blocks and inlines, and NS_FRAME_IS_DIRTY correctly on the bullets. r=bzbarsky
The change to mark NS_FRAME_IS_DIRTY on the bullets fixes a failure in
layout/reftests/bugs/418574-1.html exposed by patch 3.
2013-05-10 17:35:08 -07:00
Ed Morley
345c8d111b Merge latest green inbound changeset and mozilla-central 2013-05-10 09:13:03 +01:00
Ms2ger
c93541848e Bug 868726 - Outparamdel nsViewManager::GetDeviceContext; r=tn 2013-05-10 09:13:49 +02:00
Daniel Holbert
08dca0f21a Bug 870555 part 2: Add nsFlexContainerFrame::GetSkipSides specialization. r=mats 2013-05-09 20:10:49 -07:00
Daniel Holbert
448db15f5b Bug 870555 part 1: Add curly braces around early-return in nsBlockFrame::GetSkipSides, for clarity. r=mats 2013-05-09 20:10:47 -07:00
Mark Banner
cb92e38e0c Bug 863069 - Part 2: Sort lists in moz.build files (mac specific); r=gps 2013-05-08 19:31:52 +01:00
Daniel Holbert
b29ad644fc Bug 870504: De-virtualize the unnecessarily virtual method nsBlockFrame::ComputeFinalSize. r=mats 2013-05-09 17:23:28 -07:00
Mats Palmgren
7ade6fec14 Bug 868906 - Make GetChildFrameContainingOffset() stable. r=roc 2013-05-07 20:48:59 +02:00
Timothy Nikkel
cffcd0ae38 Bug 868572. Move nsIScrollPositionListener file from view/ to layout/. r=mats
--HG--
rename : view/public/nsIScrollPositionListener.h => layout/generic/nsIScrollPositionListener.h
2013-05-03 17:31:08 -05:00
Daniel Holbert
be6e1d5836 Bug 855841: Remove unused constants NS_STYLE_CLEAR_BLOCK, NS_STYLE_CLEAR_COLUMN, NS_STYLE_CLEAR_PAGE. r=mats r=fantasai 2013-05-02 16:01:11 -07:00
Daniel Holbert
8618452256 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
Stephen Pohl
c997f428ce Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Ryan VanderMeulen
954cd4dfaa Backed out changeset 1840b15583fd (bug 636564) for bustage.
CLOSED TREE
2013-05-02 08:33:54 -04:00
Stephen Pohl
e474e01d79 Bug 636564 - Implement Lion style scrollbars on Mac OSX 10.7+. r=roc 2013-05-02 07:52:25 -04:00
Mats Palmgren
796a090f34 Bug 866785 - Move repeated nsIFrame::List implementations code to a new method, ListGeneric, for re-use. Cleanup and improve the code a bit. r=roc
Specifically:
* move all the frame dump methods to nsIFrame. Especially nsFrame::ListTag
  was annoying, often requiring a cast to nsFrame*.
* print common values in the same order for all types of frames
* print fluid continuations as "next-in-flow=%p" and non-fluid as
  "next-continuation=%p" (as before)
* print the style-context more compactly, e.g.
  "[sc=0x7faa6b60e0a0] pst=:first-line" becomes
  "[sc=0x7faa6b60e0a0:first-line]"
* suppress printing visual/scroll-overflow rects when they are identical
  to mRect and do the same for nsLineBox::List where it was especially
  hard to see which lines actually had real overflow
* fix a bug that printed the child list name at the far right when the
  principal list was empty (making it hard to see)
* print the address of child lists (other than the principal list) to
  help debug frame list property bugs
* s/NS_IMETHODIMP/void/
2013-04-30 20:38:52 +02:00
Masatoshi Kimura
761bf787f0 Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron 2013-04-28 19:02:35 +09:00
Takeshi Kurosawa
a71a2b0b26 Bug 338033 - No visible focus indicator on image map areas with black background r=roc 2013-04-27 17:54:36 +09:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Mats Palmgren
2aafec2e0c Bug 861643 - nsFirstLineFrame continuations should fixup its style context in Init instead of Reflow. r=bzbarsky 2013-04-26 10:49:07 +02:00
Joe Drew
e035b7c8eb Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn 2013-04-25 18:08:58 -04:00
Daniel Holbert
1ed5b0bc3f Bug 865477: Use Maybe<> instead of nsAutoPtr<> for lazily-constructed nsHTMLReflowState in nsBlockFrame::Reflow(). r=bz 2013-04-25 09:03:28 -07:00
Mats Palmgren
871e89e62a Bug 844178 - Make RecomputePosition adjust the CB size as ViewportFrame::Reflow does. r=tn 2013-04-24 18:17:55 +02:00
Scott Johnson
1912da4247 Bug 857324: Make column set reflow continue without balancing rather than restarting if computed height is exceeded. [r=mats] 2013-04-24 10:02:36 -05:00
Masayuki Nakano
3159b0c140 Bug 857820 part.4 Remove debug flag for blink r=dbaron 2013-04-24 12:07:25 +09:00
Ryan VanderMeulen
d58319d641 Backed out changeset f31e6ad99dfe (bug 857324) for Android reftest-3 failures.
CLOSED TREE
2013-04-23 21:10:48 -04:00
Scott Johnson
937d608334 Bug 857324: Make column set reflow continue without balancing rather than restarting if computed height is exceeded. [r=mats] 2013-04-23 15:46:08 -05:00
John Schoenick
04af22695a Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-23 13:21:28 -07:00
John Schoenick
f54ed67aa5 Bug 854082 - Restore SetFrame(null) call to avoid instance owners pointing to dead frames. r=bsmedberg 2013-04-23 13:21:27 -07:00
Daniel Holbert
536beeeb23 Bug 862947: Use cb height instead of width for vertical margins & padding on flex items, even when they're a reflow root (e.g. for measuring reflow states). r=mats 2013-04-23 09:01:34 -07:00
Daniel Holbert
ebc41ef9d7 Bug 864579: Drop unnecessary const-removing casts from CalcQuirkContainingBlockHeight. r=heycam 2013-04-22 19:41:19 -07:00
Cameron McCormack
18e3597f29 Bug 864289 - Rename nsLineLayout::GetLineContainer(Frame|RS) to LineContainer\1. r=dholbert 2013-04-23 11:45:26 +10:00
John Schoenick
9221431f8e Backout e3eaea876a18, 3aaf738a04d8, and 43d1b14e8920 (Bug 854082) for orange on a CLOSED TREE 2013-04-22 14:58:15 -07:00
John Schoenick
6b517509a0 Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-22 13:20:59 -07:00
John Schoenick
7604f29873 Bug 854082 - Restore SetFrame(null) call to avoid instance owners pointing to dead frames. r=bsmedberg 2013-04-22 13:20:58 -07:00
David Zbarsky
f4478a4b6b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 18:18:33 -04:00
David Zbarsky
5de2f27c8a [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger 2013-04-19 18:18:32 -04:00
Robert O'Callahan
2817c39fd2 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Robert O'Callahan
037af48e84 Bug 862180. Part 1: Remove null checks on the result of nsDisplayItem::GetUnderlyingFrame(). r=mattwoodrow 2013-04-20 00:01:41 +12:00
Daniel Holbert
6623769c9c Bug 858332: Make flex items pseudo-stacking contexts, per recent spec change. r=mats 2013-04-18 09:51:18 -07:00
Karl Tomlinson
7e5e231a8e b=767710 don't let additional events with the same destination restart smooth scrolling r=mstange
--HG--
extra : transplant_source : _%BA%CE%F1A%B7%40N%14VMZ%1D%2C%98Lg%40%F7%AF
2013-04-18 12:05:10 +12:00
Karl Tomlinson
04b8f16444 b=767710 refactor AsyncScroll duration API so duration can be evaluated before resetting r=roc
--HG--
extra : transplant_source : %17Wc%17%5B%CF%A9n%C6%0BE%3Ez%21%CD%C6Q%20%10%26
2013-04-18 12:03:51 +12:00
Karl Tomlinson
5f78a0dc29 b=767710 move current motion calculation into InitSmoothScroll() r=roc
--HG--
extra : transplant_source : %E2%DCQu%13RdE%E9%3A%B3%B5L%21%8A3%3C%5D4%3F
2013-04-18 12:03:29 +12:00
Mats Palmgren
129d6df678 Bug 762332 - Make the "EnsureTextRun should have set font size inflation" assertion non-fatal for now so it doesn't block fuzzing. r=sjohnson 2013-04-17 22:16:15 +02:00
Mats Palmgren
09efee4e3f Bug 859088 - Left/Right Arrow key after selection should move to the beginning/end of selection respectively (on all platforms). r=ehsan 2013-04-17 22:16:14 +02:00