Commit Graph

11102 Commits

Author SHA1 Message Date
Matt Woodrow
1077db1b3c 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
c0af504d85 Bug 934860 - Draw each rect of the invalid region separately on Direct2D. r=roc 2013-11-07 08:10:50 +13:00
Matt Woodrow
43199694b8 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Matt Woodrow
485862da70 Bug 934860 - Move some parts of FrameLayerBuilder::DrawThebesLayer into helper functions. r=roc 2013-11-07 08:10:49 +13:00
Matt Woodrow
d89f0d8a75 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
232c266ced 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
6331fbf62b 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
0bfdc15f97 bug 931399 - shutdown DocAccessible's when the related docshell is destroyed r=bz 2013-10-29 17:22:41 -04:00
Kartikaya Gupta
ca69417651 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
044d3975ab 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
790129f3b0 Bug 934719 - log load begin and end in presshell. r=heycam 2013-11-05 10:03:22 +09:00
Neil Deakin
b74bf730f0 Bug 545156, Expose nsPoupSetFrame's ::popupList, r=mats 2013-11-04 11:22:20 -05:00
Robert O'Callahan
676f5de36e 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
634c0d1e79 Backout changeset 47c7022e4e11 for bug 913444
--HG--
extra : rebase_source : 6d3b0bd5c4ea52561fba9b358dae8b7843f10205
2013-11-03 23:12:58 -08:00
Robert O'Callahan
8f81714137 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
e16db34522 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
9e62a53158 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
05e020c835 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
5a693dce99 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
0e38e49729 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
4498074aeb 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
50a8ed91e8 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
62b7c5862c 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
cfd4e7de61 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
1d57260a86 Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Ryan VanderMeulen
a4511eaf5f Merge b2g-inbound to m-c on a CLOSED TREE. 2013-10-30 22:36:56 -04:00
Jim Mathies
731d75722b Bug 931146 - Set FrameMetrics mMayHaveTouchListeners for all frames that call RecordFrameMetrics. Fixes missing touch info for sub documents. r=tnikkel,kats 2013-10-29 20:51:00 -05:00
Wes Kocher
af78dbf4a5 Backed out changeset 6a613a7288e1 (bug 931399) for breaking the build on at least Windows on a CLOSED TREE 2013-10-29 16:17:07 -07:00
Trevor Saunders
239027e36b bug 931399 - shutdown DocAccessible's when the related docshell is destroyed r=bz
When we get to PresShell::Destroy the pres shell and document have already
nulled out their poitners to the docshell which DocAccessible::Shutdown()
needs to remove the document from the command observer.
2013-10-29 17:22:41 -04:00
Ed Morley
c57c578dc0 Merge mozilla-central and inbound 2013-10-29 16:35:50 +00:00
Andreas Gal
831d5edc75 Bug 931305 - Avoid bailing out half way through a gradient fill. r=jmuizelaar 2013-10-30 15:29:22 -04:00
Kartikaya Gupta
5b8181c580 Bug 732971 - Create a new layer type for subdocuments with a resolution. r=tn
The new nsDisplayResolution layer type is created for any subdocument whose
presShell specifies a non-1.0 resolution. This is specifically needed for
platforms such as Android and Metro, where the presShells corresponding to
the tabs (which have non-1.0 resolutions) are not the root presShell.
2013-10-29 09:27:15 -04:00
Phil Ringnalda
fb73812f4a Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Alexandre Lissy
e84165be73 Bug 921928 - Make <iframe mozbrower remote> a preferred target when fluffing r=roc
In bug 921928, the user places a call and then tries to do other actions
(calls, SMS, contacts, ...) with actions very close to the attention
screen. When trying to do those other actions, event fluffing is
prioritizing the attention screen rather than user apps.
---
 layout/base/PositionedEventTargeting.cpp           |  10 ++
 layout/base/tests/Makefile.in                      |   2 +
 .../bug921928_event_target_iframe_apps_oop.html    |   8 +
 .../base/tests/test_event_target_iframe_oop.html   | 178 +++++++++++++++++++++
 4 files changed, 198 insertions(+)
 create mode 100644 layout/base/tests/bug921928_event_target_iframe_apps_oop.html
 create mode 100644 layout/base/tests/test_event_target_iframe_oop.html
2013-10-28 11:38:03 -07:00
Phil Ringnalda
780e2a2c5f Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
b3c48c54a3 Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical 2013-10-27 17:53:26 -04:00
Mats Palmgren
4d866337f3 Bug 929991 - Put 'text-align: true X' support behind a preference (disabled by default). r=heycam 2013-10-27 20:56:32 +00:00
Peter Van der Beken
dfc2297bd8 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Timothy Nikkel
2cdfe9a734 Bug 930535. Enable image visibility on b2g inside browser elements. r=mats 2013-10-26 19:17:52 -05:00
Ms2ger
7cd50d2f15 Backout changeset 2e466ccc7bd0 for devtools test failures. 2013-10-26 17:02:20 +02:00
Peter Van der Beken
e01445a2df Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 673c08ef093339e6bfb1418366af5cc5fabe7c4d
2013-10-08 17:51:42 +02:00
Robert O'Callahan
8bac055181 Bug 929021. Skip calling GetFrameBoundsForTransform when we don't need it. r=heycam
--HG--
extra : rebase_source : 646bea24724034ca4e2c0f2075ae8cb86f884023
2013-10-22 11:09:46 +02:00
Robert O'Callahan
662b96cf0e Bug 261037. Support scrolled fieldsets. r=mats
--HG--
extra : rebase_source : 248521189921b2a46f0805582a3789b27c26ecbd
2013-10-23 00:46:40 +02:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Robert O'Callahan
1349b808d2 Bug 911889. Part 7: A single change to CSS 'transform' should not be treated as animation. r=dbaron
--HG--
extra : rebase_source : 241ce14bd7b3986141c557da566a3756658befa5
2013-09-04 23:47:25 +12:00
Robert O'Callahan
a0b6414124 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
--HG--
extra : rebase_source : ac1d4ccfa3c82132ff73aeb1d66a09765004be4a
2013-09-04 23:47:23 +12:00
Robert O'Callahan
c9000607c4 Bug 911889. Part 5. Add API to detect whether an nsRefreshDriver is in the middle of a refresh. r=dbaron
--HG--
extra : rebase_source : 561101da94824f4d6aba151a243f0e193ad7f83c
2013-09-04 23:47:21 +12:00
Robert O'Callahan
94564fbd20 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
--HG--
extra : rebase_source : b3ffe185686e38226e0979060a74669271e1c2d5
2013-09-04 23:30:57 +12:00
Robert O'Callahan
7633c2c898 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.

--HG--
extra : rebase_source : e69b8e7a95d36720bd38d74f0789ede603e58a09
2013-09-04 23:30:57 +12:00
Matt Woodrow
150ebd9bb0 Bug 930419 - Make position:sticky frames an active scrolled root. r=roc 2013-10-24 16:35:30 +02:00