Commit Graph

5706 Commits

Author SHA1 Message Date
Robert O'Callahan
38cd1ccd55 Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
--HG--
extra : rebase_source : 24e7900efdb476a0533808956b9604d144e4db89
2013-09-09 17:08:41 -07:00
Simon Montagu
ab4a7198d2 Optimize bidi resolution on blocks without mixed-direction text. Bug 646359, r=roc 2013-11-04 07:14:02 +02:00
Simon Montagu
9b5781398d Bug 936935: Mark lines dirty more accurately in Bidi resolution, r=roc 2013-11-07 16:39:49 +02:00
Cameron McCormack
6a434aebfc Bug 933044 - Push style scopes even if we would skip pushing ancestors when there is no ancestor filter. r=bz 2013-11-17 17:51:04 +11:00
Matt Woodrow
4638668752 Bug 934860 - Followup to fix build on a CLOSED TREE 2013-11-17 17:24:53 +13:00
Matt Woodrow
9e676ce785 Bug 934860 - Part 6: Add a pref to disable single rect painting and disable it for now for causing TART regressions. r=jrmuziel 2013-11-14 13:46:19 +13:00
Chris Lord
29921ef803 Bug 933556 - Anchor fixed, left+right/top+bottom positioned content to center. r=roc
If a fixed position element has both top and bottom, or both left and right
positioning, set the fixed position anchor to the center of the corresponding
axis. This causes it to remain center-aligned when async zooming.
2013-11-15 17:06:29 +00:00
Ryan VanderMeulen
f90de9eccd Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Corey Ford
bfc27ed1e3 Bug 925259: Avoid sticky positioning inner table elements. r=dholbert 2013-11-12 12:46:47 -08:00
Kartikaya Gupta
5f3734c16a Bug 937843 - Make an argument to nsLayoutUtils::FindIDFor const. r=tn 2013-11-13 13:22:24 -05:00
Abhishek Arya
e1e88fec87 Bug 806056 - Crashtests. 2013-11-12 14:37:22 +00:00
Olli Pettay
0d05c3f233 Bug 930381 - Follow the COM rules when calling ProcessSynthMouseMoveEvent. r=mats, smaug, tnikkel 2013-11-12 07:54:10 -05:00
Ed Morley
69faaab2a4 Merge mozilla-central and inbound 2013-11-11 13:20:20 +00:00
Ms2ger
ed791684be Bug 923251 - Part e: Make nsPresContext::EnsureSafeToHandOutCSSRules return void; r=heycam 2013-11-11 09:00:33 +01:00
Ms2ger
d2bac29347 Bug 923251 - Part d: Remove nsCSSStyleSheet::eUniqueInner_CloneFailed; r=heycam 2013-11-11 09:00:18 +01:00
Daniel Holbert
5f6b9e24c0 Bug 936100 part 5: Remove usage of flexbox pref from C++ code. r=mats 2013-11-09 07:53:14 -08:00
Seth Fowler
96e14a470f Bug 933057 (Part 1) - Correct scaling of SVG images in nsLayoutUtils::DrawSingleImage. r=dholbert 2013-11-08 15:14:53 -08:00
Robert O'Callahan
9ed4932e4b Backout changesets 37f9a5424227, c1578a4fc86d and a417424f9213 (for bugs 933354, 929021 and 923193 respectively) while we figure out performance regressions
--HG--
extra : rebase_source : e4a004a15c92b5a8a8b780e7da779ac86d1c29be
2013-11-11 15:23:56 +13:00
Horia Iosif Olaru
db2682823f Bug 841601 - Add background-blend-mode implementation. r=roc 2013-11-08 10:08:03 -05:00
Matt Woodrow
34be370713 Bug 880031 - Make animated transforms force all above content to be in a separate ThebesLayer. r=roc 2013-11-08 19:04:12 +13:00
Andreas Gal
ea2cb339b6 Bug 930451 - Part 2: Use the new Rendering gradient cache for CSS border gradients as well. r=roc 2013-11-08 17:50:39 +13:00
Andreas Gal
c5af5332e9 Bug 930451 - Part 1: Factor out CSS gradient cache into a new class gfxGradientCache. r=roc 2013-11-08 17:50:39 +13:00
Wes Kocher
e084de1151 Merge fx-team to m-c 2013-11-07 17:33:06 -08:00
Paul Rouget
d5c2ff9d10 Bug 890195 - device-width media queries should use the page width, not the actual device width. r=bz 2013-11-07 14:40:23 +01:00
Matt Woodrow
83c3edfe9a Bug 813041 - Layerize the scrollbar thumb on mobile. r=roc 2013-11-08 07:12:22 +13:00
Matt Woodrow
283a6132ca Bug 934860 - Don't paint display items that don't intersect the current invalid rects. r=roc 2013-11-07 08:10:50 +13:00
Matt Woodrow
192437517d Bug 934860 - Draw each rect of the invalid region separately on Direct2D. r=roc 2013-11-07 08:10:50 +13:00
Matt Woodrow
61dcbad0a4 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Matt Woodrow
db1a40695b Bug 934860 - Move some parts of FrameLayerBuilder::DrawThebesLayer into helper functions. r=roc 2013-11-07 08:10:49 +13:00
Matt Woodrow
92bb1048c7 Bug 934860 - Start and finish transactions with temporary layer managers each time we use them to ensure that these are paired. r=roc 2013-11-07 08:10:49 +13:00
Robert O'Callahan
efc5938659 Bug 931464. Part 1: GetFieldSetBlockFrame needs to drill down through a scrollframe if necessary. r=mats
--HG--
extra : rebase_source : 858213f65b5bd7d8872afd8205424c3bfdfe1e98
2013-11-05 23:04:00 -08:00
Robert O'Callahan
1ca3b651c4 Bug 933354. Avoid calling GetDeltaToPerspectiveOrigin for elements that don't have perspective. r=heycam
--HG--
extra : rebase_source : 2e887376cc3529191799e6e7726c336199121e96
2013-11-05 23:03:38 -08:00
Trevor Saunders
3e48bf52fd bug 931399 - shutdown DocAccessible's when the related docshell is destroyed r=bz 2013-10-29 17:22:41 -04:00
Kartikaya Gupta
0dbc924a02 Bug 930904 - Remove some old code for android that is now no-op'd. r=tn 2013-11-04 21:40:05 -05:00
Kartikaya Gupta
afe1cd6f74 Bug 930904 - Ensure the presShell resolution is recorded on the FrameMetrics for the root scrollable layer of the presShell. r=tn
Previously the code would only set the resolution on the FrameMetrics when
the scroll ID was equal to ROOT_SCROLL_ID. This only happens on the root
scrollable frame for a layer tree. However, with bug 732971 fixed, any presShell
can have a resolution associated with it, so we need to populate the mResolution
for any layer that is the root scrollable layer for a presShell.

On platforms like Fennec and Metro the content presShell is a sub-presShell
of the root presShell. The resolution is set on the content presShell, but would
not get populated on the FrameMetrics correctly because of this condition. The #ifdef
ANDROID hack a few lines below was used to work around this on Fennec but it
was broken on Metro. This change corrects the behaviour on both of these platforms.
2013-11-04 21:39:44 -05:00
John Daggett
f6e7f6ca8c Bug 934719 - log load begin and end in presshell. r=heycam 2013-11-05 10:03:22 +09:00
Neil Deakin
81fb2193ab Bug 545156, Expose nsPoupSetFrame's ::popupList, r=mats 2013-11-04 11:22:20 -05:00
Robert O'Callahan
b5eb1bd690 Backout changeset 3fb9ea77d858 for bug 876321 due to test failures (CLOSED TREE)
--HG--
extra : rebase_source : 6b21bf36f9a8bd73bdd72ddfb5fe8c25e7854071
2013-11-03 23:14:26 -08:00
Robert O'Callahan
1a45cf8388 Backout changeset 47c7022e4e11 for bug 913444
--HG--
extra : rebase_source : 6d3b0bd5c4ea52561fba9b358dae8b7843f10205
2013-11-03 23:12:58 -08:00
Robert O'Callahan
1afb28f2b0 Bug 913444. Track restyling of margins and treat such nodes as active scrolled roots. r=mattwoodrow
Restyling margin-top and margin-bottom will typically require reflow and cause
sibling elements to be moved and invalidated, so it's not a big win to layerize
such nodes. However, layerizing them should be relatively harmless.

--HG--
extra : rebase_source : b41764dd8ab3651afeec2756c436e059f25b7d46
2013-09-09 17:08:42 -07:00
Robert O'Callahan
319f4f9770 Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
--HG--
extra : rebase_source : f92bcf0b60cadefa0197cdffcd6dd9b4eaa6b2d5
2013-09-09 17:08:41 -07:00
Robert O'Callahan
5b63d94335 Bug 745485. Optimize positioning offset changes whenever the computed size does not change. r=dholbert
--HG--
extra : rebase_source : 16388d3cb0c6ee9acc1416ca0d27b2a53b0062ee
2013-09-09 17:08:41 -07:00
Nathan Froyd
640bb8fea7 Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan 2013-10-18 16:57:55 -04:00
Robert O'Callahan
77e5bb3c85 Bug 911889. Part 7: A single change to CSS 'transform' should not be treated as animation. r=dbaron 2013-09-04 23:47:25 +12:00
Robert O'Callahan
05afcd89f5 Bug 911889. Part 6: A scripted change to element.style.opacity or element.style.transform in a setTimeout or requestAnimationFrame callback should trigger our "style property is animated" heuristic. r=dbaron 2013-09-04 23:47:23 +12:00
Robert O'Callahan
701cce3728 Bug 911889. Part 5. Add API to detect whether an nsRefreshDriver is in the middle of a refresh. r=dbaron 2013-09-04 23:47:21 +12:00
Robert O'Callahan
1daba93a73 Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron 2013-09-04 23:30:57 +12:00
Robert O'Callahan
a999a450cf Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.
2013-09-04 23:30:57 +12:00
Tim Taubert
a17d8b727c Bug 931706 - Changing contentViewer.authorStyleDisabled should send a notification r=bz
From 38ce091c13f08060c76e0dd8821cbe62fc3aa0c1 Mon Sep 17 00:00:00 2001
2013-10-28 10:09:29 +01:00
Ryan VanderMeulen
c80a525c6d Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00