Commit Graph

4693 Commits

Author SHA1 Message Date
Aki Helin
29be5669cb Bug 619021 - crash test 2013-05-18 18:38:34 +00:00
Jesse Ruderman
abc784380e Bug 571995 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
1da57d7a03 Bug 526217 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
ef73b53211 Bug 499138 - crash test 2013-05-18 18:38:33 +00:00
Martijn Wargers
9737c94dd8 Bug 496742 - crash test 2013-05-18 18:38:32 +00:00
Daniel Holbert
3d525c91d6 (no bug, comment-only) s/:before/::before/ in one comment, for consistency with rest of the comment. DONTBUILD 2013-05-16 15:02:16 -07:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Phil Ringnalda
2cef52d052 Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures 2013-05-15 20:53:30 -07:00
Edwin Flores
6dd45bbf3d Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Scott Johnson
0a7e2f0265 Bug 836565, Part 2: Perform a horizontal resize reflow instead of a full reflow when reflowing on zoom to get better performance. [r=dbaron] 2013-05-14 14:24:14 -05:00
Arnaud Sourioux
9a8c47ea32 Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Mats Palmgren
0400e0de00 Bug 756241 - crash test. 2013-05-14 10:36:51 +02:00
Jesse Ruderman
5d55c11b7d Bug 691210 - crash test 2013-05-14 10:36:51 +02:00
Martijn Wargers
83f66adf39 Bug 723108 - crash test 2013-05-14 10:36:51 +02:00
Abhishek Arya
b02d43a9f9 Bug 747688 - crash test. 2013-05-14 10:36:51 +02:00
Mats Palmgren
68b8527847 Bug 750066 crashtest. 2013-05-14 10:36:51 +02:00
Jesse Ruderman
b86e7643ff Bug 765409 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
0d4bcf20b7 Bug 765621 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
7e04962565 Bug 767765 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
9dd59c4ec5 Bug 769120 - crash test 2013-05-14 10:36:50 +02:00
Abhishek Arya
5a80cee053 Bug 769303 - crash tests 2013-05-14 10:36:50 +02:00
L. David Baron
1f1e3bad30 Bug 871338: Handle NS_BLOCK_LOOK_FOR_DIRTY_FRAMES lazy marking in GetMinWidth and GetPrefWidth in addition to Reflow. r=bzbarsky 2013-05-13 15:37:00 -07:00
Jesse Ruderman
908547aed5 Bug 791601 - crash test 2013-05-13 16:28:29 +02:00
Abhishek Arya
f1bf9125b1 Bug 827076 - crash test 2013-05-13 16:28:28 +02:00
Jesse Ruderman
2cb2371328 Bug 840787 - crash test 2013-05-13 16:28:28 +02:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Karl Tomlinson
6b23215177 backout bug 810274 for typeof VS compile failure 2013-05-13 13:50:42 +12:00
Karl Tomlinson
3a24a90e28 b=810274 allow smooth scroll step to nearest pixel boundary short of desired position r=roc
--HG--
extra : transplant_source : %BE%DF%8BhHLmaB%D5%3F%DD7%AB%14%989%A0%CA%14
2013-05-02 15:04:20 +12:00
Karl Tomlinson
2e35f7fbc0 b=810274 include bounds with layer pixels as possible destinations to minimize subpixel scrolls r=roc
--HG--
extra : transplant_source : a%E1S%03%CBB%D3%DE%DDn%96r%BC%B2%D6%7D%82%AB%EBv
2013-05-02 15:04:20 +12:00
Jesse Ruderman
39bb41d1c6 Bug 494283 - crash test 2013-05-12 23:09:31 +02:00
Martijn Wargers
c8f85c931b Bug 455407 - crash test 2013-05-12 23:09:30 +02:00
Jesse Ruderman
c80e06caa2 Bug 423098 - crash test 2013-05-12 23:09:30 +02:00
Martijn Wargers
2647049c29 Bug 420718 - crash tests 2013-05-12 23:09:30 +02:00
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
Mats Palmgren
109767f361 Bug 485149 - Using box-shadow on a <fieldset> with <legend> does not follow box shape. r=roc 2013-04-17 22:16:14 +02:00
Robert O'Callahan
3de0e9b4f7 Bug 860253. Clear clip state on children of an nsDisplayTransform because they're in a different coordinate system, and we'll clip the nsDisplayTransform itself. r=mattwoodrow
--HG--
extra : rebase_source : 731dfa20fa0fda1feb7ab582deced011ff9c25fc
2013-04-15 19:10:19 +12:00
Robert O'Callahan
5ee893ebd5 Bug 841363. Ensure padding-rect edges are included in scrollable area used to compute scrollWidth/scrollHeight for overflow:visible elements. r=matspal
--HG--
extra : rebase_source : 067c9577f797350274783d3c7cc682b5f74b998a
2013-04-09 12:05:12 +12:00
Matt Woodrow
cadfb117ea Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa 2013-04-17 14:21:06 +12:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Daniel Holbert
eef75b0252 Bug 847211: When reparenting style contexts, skip flex-item style fixup if our element is the root of an anonymous subtree. r=bz 2013-04-16 08:33:41 -07:00
Scott Johnson
08eaceb702 Bug 861182: Pull knownFeasibleHeight and knownInfeasibleHeight into ReflowConfig so they can be used outside of nsColumnSetFrame::Reflow(). [r=roc] 2013-04-16 07:52:51 -05:00
Scott Johnson
368dace6fb Bug 861181: Separate interface from implementation for nsColumnSetFrame. [r=roc] 2013-04-16 07:52:49 -05:00
Ms2ger
dbbebc6ee4 Backout changesets 3581b3d60886, cff9eab960e3, d390c8c21882 for Android foreignObject-fixedpos-01.html failures on a CLOSED TREE. 2013-04-16 11:40:41 +02:00
Cameron McCormack
79316007de Backout 64abee9b00f1 (bug 841363) for suspected test_bug375003-1.html failure. (CLOSED TREE) 2013-04-16 17:23:46 +10:00
Robert O'Callahan
5287f53d99 Bug 860253. Clear clip state on children of an nsDisplayTransform because they're in a different coordinate system, and we'll clip the nsDisplayTransform itself. r=mattwoodrow 2013-04-15 19:10:19 +12:00
Robert O'Callahan
1c8003fcdc Bug 841363. Ensure padding-rect edges are included in scrollable area used to compute scrollWidth/scrollHeight for overflow:visible elements. r=matspal 2013-04-09 12:05:12 +12:00
Chris Lord
d70ef10427 Bug 856932 - Fix fixed margins on position:fixed hierarchies. r=roc
Make sure that fixed margins aren't applied to auto-positioned frames, unless
their containing block is the primary frame of the body element.
2013-04-15 09:31:45 +01:00
Matt Woodrow
c588729b56 Bug 859526 - Null check parent frames when wrapping preserve-3d display lists. r=roc 2013-04-15 18:55:34 +12:00
Matt Woodrow
474260c7f1 Bug 857817 - Make AreLayerMarkedActive aware of preserve-3d transformed frames. r=roc 2013-04-15 18:55:29 +12:00
Masayuki Nakano
d148b78956 Bug 857820 part.1 Drop blink effect implementation r=dbaron 2013-04-14 19:11:07 +09:00
Cameron McCormack
b6ba9bcaf5 Bug 839956 - Size and position text decorations on SVG text correctly when a font size scale factor is in effect. r=roc 2013-04-13 13:16:22 +10:00
Seth Fowler
34385b573b Bug 853774 - nsBulletFrame should handle its requests more safely. r=tn
--HG--
extra : rebase_source : cdbf51bcb02cf7b072881e0bc9425fd64ebe3015
2013-04-12 10:05:57 -07:00
Joshua Cranmer
c7aade5e1f Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats 2013-04-11 22:20:45 -05:00
Daniel Holbert
5018dfdf96 Bug 851379, part 4: Fix InitOffsets logging code to display horizontal and vertical percent basis, instead of just a containing block width. r=mats 2013-04-11 07:51:58 -07:00
Daniel Holbert
a0d53d01a9 Bug 851379 part 2: Make ComputeMargin, ComputePadding, and InitOffsets take a horizontal *and* vertical percent basis, so that we can resolve vertical margins and padding against containing block *height* in flex items. r=mats 2013-04-11 07:51:52 -07:00
Daniel Holbert
cee9a2f474 Bug 851379 part 1: Rename ComputeWidthDependentValue to ComputeCBDependentValue. r=mats 2013-04-11 07:49:53 -07:00
Robert O'Callahan
a43cb9630a Bug 858803. Fix coordinate system of subdocument frame bounds. r=mattwoodrow
--HG--
extra : rebase_source : 3fd0436f141542dcf50f318a47670329c9c7a814
2013-04-10 00:30:51 +12:00
Robert O'Callahan
53c5c3d2c4 Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats
--HG--
extra : rebase_source : 4aa4110d32db5f26192c0e4b6fa3185d1ed2c073
2013-03-21 15:44:37 +13:00
Cameron McCormack
d8dfb08d58 Bug 848973 - Make nsStyleDisplay::IsBlockInside() and friends work only on style structs for the passed in frame and document them. r=roc
--HG--
extra : rebase_source : a8559b62124bec058f2857d50cf7f65f176c3727
2013-04-07 09:40:07 +10:00
Ralph Giles
12b1c5bee2 Bug 857022 - Remove MOZ_MEDIA from the layout module. r=cpearce
Enable this code unconditionally.
2013-04-04 15:08:00 -07:00
Scott Johnson
800a1db98f Bug 600100, Part 2: Force a vertical resize even if our available height hasn't changed in anonymous blocks of a column set so we don't crash. [r=mats] 2013-04-08 13:38:33 -05:00
aceman
2d19ac6495 Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
Robert O'Callahan
bf594d63fa Bug 841192. Part 16: Take plugin's own clipping into account when computing the region for its window. Make SortByContentOrder handle cases where display items in the same list come from different documents. r=mattwoodrow
--HG--
extra : rebase_source : f39deb6250c7aef71d6cd3a62df43785a3bfc7b1
2013-04-05 21:30:34 +13:00
Robert O'Callahan
68e0be54fa Bug 841192. Part 15: Move DisplayListClipState clipping methods to AutoSaveRestore and AutoClipMultiple helper classes for safer usage. r=mattwoodrow
--HG--
extra : rebase_source : aa674d4fa93f1b7c2b4dd84ba8d888cc9f289265
2013-04-05 00:36:45 +13:00
Robert O'Callahan
7cbe6380ff Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
This patch does several things. Sorry.

In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.

In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.

We remove nsDisplayClip and everything that depends on it.

We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.

nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.

I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.

--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Robert O'Callahan
62aa179c29 Bug 841192. Part 13: Rename nsFrame::ApplyOverflowClipping to ShouldApplyOverflowClipping. r=mattwoodrow
We rename nsFrame::ApplyOverflowClipping to nsFrame::ShouldApplyOverflowClipping
to reflect the fact that it doesn't cause any clipping.

--HG--
extra : rebase_source : d3bd1ef902276526b37b27c510a8d3a9db6416dc
2013-03-07 00:08:16 +13:00
Robert O'Callahan
96f57a5820 Bug 841192. Part 8: On encountering out-of-flow frames during display list construction, save their clip rect as well as their dirty rect for later use when we traverse the placeholder. r=mattwoodrow
--HG--
extra : rebase_source : 3a41e2eb4940f1ae7c0748f27211a7d0cf7ad638
2013-03-04 22:56:02 +13:00
Robert O'Callahan
4cfae34412 Bug 841192. Part 7: Move child->MarkAbsoluteFramesForDisplayList call down. r=mattwoodrow
--HG--
extra : rebase_source : 5d558cfe2850ece79fedc27cd5b6a6d4bf6f7cb3
2013-03-04 22:56:01 +13:00
Robert O'Callahan
6651accbe4 Bug 841192. Part 1: Make <frame> elements behave more like <iframe>s, in particular supporting padding and borders (but not border-radius). r=mats
--HG--
extra : rebase_source : b49a430b7a54bc0579f4f109afa001634a2b8930
2013-04-03 00:03:03 +13:00
Mats Palmgren
b6c309ad4c Bug 856243 - Add missing do_QueryFrame support and fix typo that caused most MathML frames to not QueryFrame to nsIMathMLFrame. Add static assertions to prevent those kinds of errors in the future. r=dholbert 2013-04-04 01:35:07 +02:00
Robert O'Callahan
18e132b4d8 Backout bug 851445 for test failure
--HG--
extra : rebase_source : 3314e6679f15134324d5de09334be14e17aa0790
2013-04-02 18:24:25 +13:00
Robert O'Callahan
34614bb0db Bug 851445. When saving a frame scroll position, if we're in the process of trying to scroll to a saved scroll position, save the desired position instead of the actual current position. r=mats 2013-03-21 15:44:37 +13:00
Cameron McCormack
9cda9d27bf Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron 2013-04-02 12:45:48 +11:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Mats Palmgren
5a7645d0da Backout 5104a8653170 (bug 856243). r=me 2013-04-01 19:10:37 +02:00
Mats Palmgren
21f60f38dd Bug 856243 - Add missing do_QueryFrame support. r=dholbert 2013-04-01 18:45:19 +02:00
Mats Palmgren
a9123c3d10 Bug 729519 - Allocate heap nsFrameLists from the shell arena. r=bzbarsky
"new nsFrameList()" becomes "new (shell) nsFrameList()".
"delete list" becomes "if (list) list->Delete(shell)" - note also that
an additional assertion was added that list is empty when deleted.

"nsAutoPtr<nsFrameList> list(StealSomeFrames())" becomes
"AutoFrameListPtr list(aPresContext, StealSomeFrames())"
2013-04-01 17:26:02 +02:00
Mats Palmgren
0a84b8dbff Bug 729519 - Make frames destroy all child frames and remove their nsFrameList properties when destroyed. r=bzbarsky
Specifically, this wasn't done for the OutsideBullet list which was
destroyed by the property destructor, potentially after the entire
frame tree was gone.  Now we'll assert that the property destructor
isn't called.

Use SafelyDestroyFrameListProp when destroying PushedFloat and
OverflowOutOfFlows frame lists since it's more robust.

Destroy [Excess]OverflowContainers frame lists if they exist, regardless
of the IsFrameOfType(nsIFrame::eCanContainOverflowContainers) bit
(since the oveflow continuation tracker doesn't check that before
creating these lists -- this was the source of crash bugs before
that bit was added to ColumnSetFrame).

Assert in SetPropTableFrames that the property doesn't exist, because
if it does the property destructor will run, which isn't supported.
2013-04-01 17:26:02 +02:00
Mats Palmgren
38a10ed36f Bug 729519 - Allocate nsFrameList::sEmptyList from the .rodata segment, not the heap. r=bzbarsky 2013-04-01 17:26:02 +02:00
Mats Palmgren
967a2209e1 Bug 729519 - Simplify DestroyOverflowList() by requiring that the list is empty. r=bzbarsky 2013-04-01 17:26:02 +02:00
Mats Palmgren
8f57ed6edc Bug 729519 - Use SafelyDestroyFrameListProp also for the OverflowList. r=bzbarsky 2013-04-01 17:26:02 +02:00
Mats Palmgren
c65839b418 Bug 855917 - Minor nsAbsoluteContainingBlock code cleanup. r=dholbert 2013-04-01 17:26:01 +02:00
L. David Baron
5e108587ad Bug 855464: Optimize nsBlockReflowState::ClearFloats better, given that nsBlockFrame::WidthToClearPastFloats is somewhat expensive. r=dholbert
This fixes a performance issue that showed up in a profile of the b2g
contacts app (though it's not clear what percentage of the time it was
given the difficulty of understanding output of 'perf').
2013-03-31 00:50:29 -07:00
Daniel Holbert
42f6dbe262 Bug 856199: Remove nsHTMLReflowState's no-longer-needed AutoRestore #include. r=dbaron 2013-03-29 18:34:17 -07:00
Daniel Holbert
8dd3ed3130 Bug 785468: Compute flex container's baseline as-described in the spec. r=dbaron 2013-03-29 18:32:08 -07:00
Daniel Holbert
18cb8ef09e Bug 853946: Replace flex container's cached content-box cross-size and cached ascent with local variables in Reflow(). rs=Waldo 2013-03-29 18:32:03 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Daniel Holbert
3d8dc14dc0 Bug 855850: Use MOZ_STATIC_ASSERT instead of #if, to verify that "break type" values are representable in 4 bits. r=mats 2013-03-28 16:27:31 -07:00
Andrea Marchesini
65e4f3628b Bug 825196 - Convert HTMLInputElement to WebIDL. r=Ms2ger 2013-03-28 15:41:32 -04:00
Daniel Holbert
81390a4e44 Bug 801268: Add crashtest for this bug. (test only, no review) 2013-03-28 01:50:22 -07:00
Daniel Holbert
38edcb5316 Bug 854263: Add special-case for flex items that are instances of nsFrame, whose trivial reflow impl doesn't request enough space for its border/padding. r=dbaron 2013-03-28 01:50:21 -07:00
Daniel Holbert
b4e66452e3 Bug 848539 part 5: Back out 6bb37077d615, bug 763689 part 2 (style-system handling for min-width:auto). r=dbaron 2013-03-27 23:33:19 -07:00
Daniel Holbert
32bce336fe Bug 848539 part 4: Back out 82f73bdb2237, bug 763689 part 3 (style-system handling for min-height:auto). r=dbaron 2013-03-27 23:33:19 -07:00
Daniel Holbert
3bcdb3c7b7 Bug 848539 part 3: Back out part of 076d87bf30d0, bug 666041 part 7 (flexbox frame class impl -- just removing the code that deals with min-height:auto). r=dbaron 2013-03-27 23:33:19 -07:00
Daniel Holbert
c47c48ab7d Bug 848539 part 2: Back out de6a5c46a8ff, bug 666041 part 8 (special-handling for min-width:auto as min-content, for flex items). r=dbaron 2013-03-27 23:33:19 -07:00
Phil Ringnalda
bad5ef10f3 Back out c04824522d46 (bug 848973) for (at least) 10.8 and Android reftest failures
CLOSED TREE
2013-03-26 23:31:57 -07:00
Alexander Surkov
d42673dcb7 Bug 853361 - moving by words is inconsistent, r=roc 2013-03-27 09:57:29 +09:00
Cameron McCormack
3b054d3f86 Bug 848973 - Document what aFrame means in nsStyleDisplay::IsBlockInside() and friends. r=roc 2013-03-27 15:49:56 +11:00
Daniel Holbert
c6597c02f3 Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD 2013-03-25 17:01:35 -07:00