Commit Graph

6402 Commits

Author SHA1 Message Date
Benoit Jacob
2e1ef0025a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Jonathan Watt
2ac9f9c86d Bug 590790, part 1 - Add getTotalSize() methods to nsWindowSizes and nsArenaMemoryStats. r=njn 2014-05-08 10:52:13 +01:00
Henri Sivonen
6a6cd36d81 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Matt Woodrow
612b02723b Bug 995871 - Apply CSS transforms in CSS pixel space instead of device pixel space. r=dbaron 2014-05-08 17:35:00 +12:00
Matt Woodrow
d54248516a Bug 938395 - Enable single rect painting for d3d10. r=Bas 2014-05-08 14:56:48 +12:00
Kearwood (Kip) Gilbert
45adc7d4a4 Bug 1005405 - OverflowChangedTracker::Flush() no longer downgrades parent frames from CHILDREN_AND_PARENT_CHANGED to CHILDREN_CHANGED. r=dbaron
- When OverflowChangedTracker::Flush() coalesces multiple changes
  simultaneously, it was possible to downgrade parent frames from
  CHILDREN_AND_PARENT_CHANGED to CHILDREN_CHANGED, resulting in an incomplete
  update.
- This patch ensures that the strongest ChangeKind is retained when cascading
  up to parent frames.
2014-05-06 11:23:00 +02:00
Ehsan Akhgari
2f8ba2e791 Bug 650586 - test_flush_on_paint.html needs to be explicit about its setTimeout requirements; r=roc 2014-05-06 21:21:20 -04:00
Kearwood (Kip) Gilbert
565e49ba75 Bug 926728 - Explicitly set the sticky enabled pref on the new crashtest.
DONTBUILD
2014-05-06 18:11:23 -04:00
Kearwood (Kip) Gilbert
a5279344bb Bug 926728 - Add crashtest to ensure that assertion is not fired when recalculating the position of a sticky with ib-split siblings. r=corey
- Added crashtest to ensure that the "Should be starting from the first
  continuation" assertion is not fired when recalculating the position of a
  sticky with ib-split siblings.
2014-04-25 15:29:50 -07:00
Kearwood (Kip) Gilbert
32f64d3ccb Bug 926728 - Only pass the first continuation or or-split-sibling of the sticky element to StickyScrollContainer::PositionContinuation. r=dbaron, r=corey
- RestyleManager::RecomputePosition now calls
  StickyScrollContainer::PositionContinuation with the first continuation
  or ib-split-sibling of the passed frame, as PositionContinuations will
  update all continuations at once, and expects the first continuation
  to be passed in.
2014-04-25 15:29:56 -07:00
Mats Palmgren
c7a90a803e Bug 988653 - Fix 'border-image' layout for fragmented boxes and add support for both box-decoration-break:clone/slice. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
484a098dbf Bug 613659 - Add a Restore() method to Restore the current gfxContext if any. r=roc 2014-05-05 17:55:55 +00:00
Mats Palmgren
aea76177e8 Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam 2014-05-05 17:55:54 +00:00
Mats Palmgren
1cb8248fa4 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar
--HG--
rename : layout/reftests/backgrounds/background-size-each-box.html => layout/reftests/backgrounds/background-size-clone.html
rename : layout/reftests/backgrounds/background-size-cover-each-box.html => layout/reftests/backgrounds/background-size-cover-clone.html
rename : layout/reftests/backgrounds/background-size-cover-continuous.html => layout/reftests/backgrounds/background-size-cover-slice.html
rename : layout/reftests/backgrounds/background-size-continuous.html => layout/reftests/backgrounds/background-size-slice.html
2014-05-05 17:55:54 +00:00
Mats Palmgren
40fac44b49 Bug 613659 - Implement box-decoration-break layout for border/box-shadow and paddding/margin for inlines. r=cam 2014-05-05 17:55:54 +00:00
Olli Pettay
a51cf37454 Bug 1005089, let touch.target be null, r=bz 2014-05-05 13:48:50 +03:00
Markus Stange
2728d2507e Bug 1000875 - Fix nsDisplayBackgroundImage::GetInsideClipRegion calculation for canvas frames. r=roc
The opaque region of the background image display item was incorrectly clipped to the viewport size, offset by the scroll position. nsDisplayBackgroundImage::GetBoundsInternal has a special case for canvas frames that sets the clip area to the whole canvas area; this patch does the same for GetInsideClipRegion.
2014-05-05 10:27:38 +02:00
Markus Stange
c7338a1b7a Bug 1000875 - Add invalidation debugging annotations for changes of a layer's forced background color. r=roc 2014-05-05 10:26:28 +02:00
Markus Stange
5ddffeff89 Bug 1000875 - Improve test_fixed_bg_scrolling_repaints.html. r=roc 2014-05-05 10:23:41 +02:00
Timothy Nikkel
c8c8523705 Bug 1000423. Properly convert from appunits/layout device pixels to layer pixels for composition bounds calculation. r=botond
To get layer pixels (doesn't matter which layer, they are all the same to layout because there is no async transform) you need to multiply by the cumulative resolution.

The fact that our units system says that multiplying by the parent resolution will work is a problem with our units system.
2014-05-04 23:18:18 -05:00
Benoit Girard
52eac6846d Bug 1005298 - Add layout.display-list.dump Preference. r=mattwoodrow 2014-05-03 20:35:47 -04:00
Mats Palmgren
68128d6d60 Bug 1000376 - part 3, s/FlexItemStyleFixup/FlexOrGridItemStyleFixup/ and corresponding comment changes. r=dholbert 2014-05-03 13:42:33 +00:00
Mats Palmgren
b0e008a8f9 Bug 1000376 - part 2, Implement frame construction part for anonymous grid items (reusing the anon flex item code). r=dholbert 2014-05-03 13:42:33 +00:00
Ms2ger
b8bde06302 Bug 1004202 - Stop calling PrepareToStartLoad in nsDocumentViewer::LoadStart; r=smaug
Before bug 968805, none of the callers would reach this branch. The callers in
nsContentDLF.cpp call LoadStart immediately after constructing the
nsDocumentViewer, so they hit the !mDocument case, and the comparison was
always false for the caller in nsHTMLDocument::Open, as it passed an
nsIHTMLDocument pointer, so the nsISupports pointers being compared were
always different. (XPCOM rules require SameCOMIdentity in this case, to avoid
exactly this issue.)

I tested that the removed code was never reached after a backout of bug 968805.
2014-05-03 09:34:00 +02:00
Matt Woodrow
2a8946dd02 Bug 952721 - Base our decision to prerender transformed content on it's screen space size, not the untransformed size. r=tn 2014-05-02 14:30:57 +12:00
Daniel Holbert
a13cd034a9 Bug 1002632: Make an image document's refresh driver receive ticks from the image's clients, & disable its internal timer. r=bz 2014-05-01 09:31:54 -07:00
Kartikaya Gupta
46e94e910c Bug 1001550 - Ensure that all non-root scrollframes have a scroll parent set. r=tn 2014-04-30 09:00:45 -04:00
Kearwood (Kip) Gilbert
b6f0c3e156 Bug 1001237 - Add crashtest. r=dbaron 2014-04-28 12:11:00 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Timothy Nikkel
31c72ce0d1 Bug 1000350. Don't overwrite a layout set display port base with an APZC-guessed one. r=kats
APZC set ones are only meant to fill in the gaps, use them only if we have nothing else.
2014-04-26 00:13:36 -05:00
Simon Montagu
3b90d5e7a8 Follow up the parent chain when making continuations non-fluid at the end of a directional run. Bug 989994, r=roc 2014-04-25 00:01:24 -07:00
Dmitry Rozhkov
bf5bc9555a Bug 993936 - Make check for continuing session stricter. r=smaug 2014-04-24 13:21:56 +03:00
L. David Baron
655d9fb45b Bug 997506: Call CreateNeededFrames for all ProcessPendingRestyles calls rather than just most. r=tn
This is needed to avoid hitting the assertion "Why did this not get
handled while processing mRestyleRoots?" in CollectRestyles, because we
have a restyle posted for a frame that has the NEEDS_FRAME bit flag set.
2014-04-24 09:30:12 -07:00
Aryeh Gregor
45fbfe5e45 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Aryeh Gregor
2c948ec408 Bug 923376 - Spellcheck all appended nodes, not just the first; r=ehsan 2014-04-06 17:56:08 +03:00
Markus Stange
d963582a48 Bug 1000382 - Don't simplify the invalidation region before calling nsSVGIntegrationUtils::AdjustInvalidAreaForSVGEffects. r=roc
--HG--
extra : rebase_source : a0eb465b54735c13e7b1934c3f6379ef74fd3f35
2014-04-24 10:25:17 +02:00
Markus Stange
9a26ffaabc Bug 1000167 - Choose the right animated geometry root for inactive layer contents. r=roc
Choosing a frame that is scrolled along with the inactive layer results in a fixed offset between the two, so the transform that we set on the thebes layer in the basic layer manager of the inactive layer doesn't change when the page is scrolled.

--HG--
extra : rebase_source : 9b7996e2979e7d833aaddada2eebdd3c15ab621e
2014-04-24 10:18:11 +02:00
Shelly Lin
d63debcb8f Bug 908995 - Part 3: Add source events for TaskTracer. r=khuey,smaug. 2014-04-23 15:32:31 +08:00
Timothy Nikkel
dc5c4979ef Bug 1000266. Don't purge the canvas fixed background image cache if we are only scrolling. r=mattwoodrow
Also NotifyRenderingChanged was on the canvas background color item, not the background image item.

Bug 818643 was a problem where the cache didn't get purged enough, but the fix meant we basically always purged the cached and never got to use it, making it useless. It meant that we purged the cache anytime the item has any type of invalidation whatsoever, even if the item would be drawn the same but the layer contents needed to be invalidated so that it would be redrawn (ie due to staying at the same position on screen but a different position in the layer).

This is really hacky, but NotifyRenderingChanged is only observed on one type of display item. So we just isolate the case where the only thing that changed is the offset (due to scrolling) and skip the NotifyRenderingChanged in that case.
2014-04-23 21:56:15 -05:00
Ehsan Akhgari
15916f4738 Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
Mats Palmgren
f7f777c391 Bug 990340 - Use GetContentInsertionFrame() when searching for ::before/::after frames. r=bz 2014-04-23 22:52:43 +00:00
Kartikaya Gupta
c4ff39d0ca Bug 984460 - Fill in a missing piece of code to compute the right dirty rect in the face of CSS transforms. r=mattwoodrow 2014-04-23 09:26:52 -04:00
Maksim Lebedev
b2db0d721f Bug 987078 - If pointerType is "mouse" and buttons > 0, then pressure must be 0.5. r=smaug 2014-04-22 14:27:02 -07:00
Ryan VanderMeulen
59b9ab5fc0 Merge fx-team to m-c. 2014-04-22 13:05:09 -07:00
Eugen Sawin
7432a9bcf8 Bug 611556 - Add persistent zoom history sessions. r=roc, r=snorp 2014-04-07 13:43:58 +02:00
Phil Ringnalda
5254d5a0bf Back out 3df94ef87444 (bug 999266) for build bustage
CLOSED TREE
2014-04-21 21:57:06 -07:00
Michael Wu
6301fbfb1e Bug 999266 - Switch DrawPixelSnapped to gfx::SurfaceFormat, r=mattwoodrow 2014-04-19 21:03:35 -04:00
Benoit Girard
d374edde0a Bug 999121 - Avoid mFramesMarkedForDisplay relloc with SetCapacity. r=mwoodrow
--HG--
extra : rebase_source : dd3d1b9cd756dcbb9c014d9d5472c794057b4073
2014-04-21 16:46:03 -04:00
Bill McCloskey
ef7676b117 Bug 993714 - [e10s] Cache native key bindings in tests (r=masayuki,sr=roc) 2014-04-21 13:40:09 -07:00
Markus Stange
5c83daaf1f Bug 987005 - Add comments to a condition in PopThebesLayerData(). r=roc 2014-04-22 16:27:44 +02:00