Commit Graph

13961 Commits

Author SHA1 Message Date
Mats Palmgren
6a7102e955 Bug 780661 - Update mDropdownCanGrow also when the position is currently outside viewport to allow a resize later at a different position. Also, don't call PositionFrameView unless the position really changed to avoid infinite number of calls to AbsolutelyPositionDropDown (via nsResizeDropdownAtFinalPosition event from NotifyGeometryChange). r=roc 2012-08-15 04:28:23 +02:00
Masayuki Nakano
a2e9895dca Bug 422132 Store unused fractional scroll amount for later wheel events r=smaug 2012-08-15 09:52:07 +09:00
Ehsan Akhgari
805b10b6d6 Merge removal of nsnull 2012-08-14 11:29:00 -04:00
Aryeh Gregor
6a9cec29c8 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Chris Pearce
fc75b382a6 Bug 782517 - Make nsFrame:MakeFrameName() annotate an iframe's src. r=roc 2012-08-14 17:39:11 +12:00
Chris Pearce
e847557147 Bug 775965 - Ensure presentation persists across nsSubDocumentFrame reframes. r=roc 2012-08-14 16:06:44 +12:00
Chris Pearce
80a5c4e003 Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc 2012-08-14 16:06:42 +12:00
Simon Montagu
3c9b427025 Don't split inline ancestors of bidi frames if we don't have any child frames after the split. Bug 779003, r=roc 2012-08-13 20:51:36 -07:00
Timothy Nikkel
f81eea2fd8 Bug 781086. Accidentally misplaced argument meant we were getting the min size instead of the pref size causing scroll bars to appear where they shouldn't. r=roc 2012-08-13 21:59:44 -05:00
Chris Lord
6bdbf9e99e Bug 777260 - Fix invalidations on transform items in container layers. r=roc
Since Bug 758620, it's possible for an nsDisplayTransform to appear as the
child of a container layer. This caused problems when it was inactive, as the
invalidation would not be transformed in this case.

Fix this in FrameLayerBuilder by mandating that InvalidateThebesLayerContents
takes the untransformed invalidation and apply the transform in
BuildContainerLayer.
2012-08-13 22:54:38 -04:00
Chris Lord
669a81223c Bug 777260 - Respect LAYER_ACTIVE_FORCE in ChildrenCanBeInactive. r=roc
ChildrenCanBeInactive returns false if any child items have active layer states,
but was only checking LAYER_ACTIVE and not LAYER_ACTIVE_FORCE.
2012-08-13 22:54:09 -04:00
Neil Deakin
9b35869d1b Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin 2012-08-13 15:05:34 -04:00
L. David Baron
96bf24466d Update syncing directory location in README. (No bug, DONTBUILD) 2012-08-13 10:48:16 -07:00
Matt Woodrow
79137e0a05 Bug 780868 - Only reuse MaskLayers on LayerManagers with the same backend type. r=nrc 2012-08-13 22:11:40 +12:00
Matt Woodrow
8dc586057a Bug 539356 - Add to pref to disable painting from the refresh driver. r=roc 2012-08-13 22:11:33 +12:00
Matt Woodrow
5b782df2fa Bug 781362 - Delay the start time of some SVG animation reftests to prevent intermittent failures. r=dholbert 2012-08-13 22:11:32 +12:00
Matt Woodrow
383f47e35e Bug 539356 - Part 33 - Change test-overflow/single-value reftest to use MozReftestInvalidate. r=roc 2012-08-13 22:11:16 +12:00
Matt Woodrow
7f18c01d05 Bug 539356 - Part 32 - Change some SVG deferred animation tests to not require calling GetBaseValue. r=dholbert 2012-08-13 22:11:02 +12:00
Matt Woodrow
c9d19fc306 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Robert O'Callahan
e2209b365e Bug 780345. Use a heuristic to reduce the scroll-port height by the height of fixed-position headers and footers when scrolling the viewport vertically by pages. r=tnikkel
--HG--
extra : rebase_source : 0f6d4a64b2f3832deb2af1f9ae0d332db042e127
2012-08-09 23:17:40 +12:00
Robert O'Callahan
91c0802b2f Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
--HG--
extra : rebase_source : ed990c17d2501ea5f4d09dea56baeada41cd3f35
2012-08-10 23:16:49 +12:00
Robert O'Callahan
d53617a13e Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
--HG--
extra : rebase_source : a6118e0eeea749a601e055741e35cdcd15d81e57
2012-08-10 23:17:06 +12:00
Alexandros Chronopoulos
b42d0e9db4 Bug 748144 - Support multichannel Opus files. r=rillian
The Opus audio format supports multichannel (surround) audio, but our initial implementation used a simpler API which only supported mono and stereo output.

To handle these files gracefully, this patch uses the multichannel api and downmixes the output, if possible, to stereo, since we don't currently support surround sound playback.
2012-08-09 15:53:23 -07:00
Ryan VanderMeulen
870142e530 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
fef53e910a Bug 719320 part.11 Fix new test failures r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
9cd0b82303 Bug 719320 part.8-10 Remove the code handling legacy mouse events in layout r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
5ef8537b0b Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
c748a0f833 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Scott Johnson
a126fbce3c Bug 777089: Add preference to control the function used to map specified font sizes to inflated font sizes. [r=dbaron] 2012-08-11 13:33:36 -05:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Andrew Halberstadt
8eadf46d4b Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
Dave Hylands
643b381f6b Bug 777259 - Launch VolumeService earlier to prevent races on retrieving Volume information 2012-08-09 20:40:05 -07:00
Frédéric Wang
b9037fc8ce Bug 781494 - Remove dead code from nsGlyphTable::ElementAt. r=karlt 2012-08-10 11:29:59 -04:00
Frédéric Wang
531b9bee74 Bug 781494 - Change line length in nsMathMLChar to be 80 characters or less. r=karlt 2012-08-10 11:29:59 -04:00
Frédéric Wang
6e60458a7a Bug 781494 - Remove dead code from nsMathMLChar. r=karlt 2012-08-10 11:29:59 -04:00
Ed Morley
10b5d6d4ac Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html 2012-08-10 14:50:43 +01:00
Robert O'Callahan
bed323fe4c Backing out f89374c446c2 for build bustage (bug 691591) 2012-08-10 23:55:51 +12:00
Robert O'Callahan
1fd3d80a86 Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
--HG--
extra : rebase_source : eceb07d8d35e0dd5dd31d065cb04eec12d69a283
2012-08-10 23:17:06 +12:00
Robert O'Callahan
5c9261ecc4 Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
--HG--
extra : rebase_source : 4bc4f5fc7b5c9e621518e9f8c574259ea0de3b0a
2012-08-10 23:16:49 +12:00
Robert O'Callahan
56240533ed Bug 779399. Scale gradient cell to exactly fill snapped rect. r=jrmuizel
We need to make sure that when we snap the fillRect, we also adjust the scaling
of the gradient so it exactly fills the snapped tileRect.

--HG--
extra : rebase_source : f967398e3b327dff8fcfbd2fc95f2e4eae8ae9d7
2012-08-10 23:10:12 +12:00
Jonathan Kew
0f3953fc35 bug 769303 - precompute intrinsic width of floats. r=roc 2012-08-10 12:16:52 +01:00
Cameron McCormack
3aadfa1590 Bug 655877 - Part 39: Get bounding boxes of SVG text using new text frames correctly. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
a4ada5ccfb Bug 655877 - Part 30: Allow PathExtentsToMaxStrokeExtents to work with nsTextFrames. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
5fbc2bbba2 Bug 655877 - Part 1: Move some path drawing functions from nsSVGGeometryFrame to nsSVGUtils. r=jwatt 2012-08-10 21:13:43 +10:00
Chris Lord
6a36ed7746 Bug 779269 - Implement a TryMerge method for nsDisplayFixedPosition. r=roc
Allow nsDisplayFixedPosition items that share the same fixed-pos frame to be
merged. This avoids a bug where the Google PDF viewer document image gets
re-rendered offset on the initial frame of a scroll when layer acceleration is
enabled.
2012-08-10 09:36:33 +01:00
Cameron McCormack
8410c800c3 Bug 655877 - Part 24: Add UA style sheet rule to inherit unicode-bidi on <text> to its anonymous block child. r=jwatt 2012-08-10 17:09:55 +10:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jonathan Watt
522fc0f166 Bug 780963 - Make UpdateOverflow() on filter primitive frames a no-op. r=roc. 2012-08-14 10:04:24 +01:00
Simon Montagu
4d946e9779 Bug 562169. Add support for :dir(ltr/rtl) CSS selector, layout/style part, r=bz 2012-08-09 20:37:58 -07:00
Simon Montagu
f8086abda8 Tests for dir(ltr/rtl) CSS selector. bug 562169, r=bz 2012-04-17 07:01:29 +03:00