Commit Graph

1794 Commits

Author SHA1 Message Date
Robert O'Callahan
e219853dce Bug 504071. Allow image drawing to snap to pixel boundaries even if there's scaling, on all platforms. Not only is it faster, it avoids seaming. This is consistent with snapping behavior of other drawing operations. r=joe 2012-12-05 12:34:19 +13:00
Ehsan Akhgari
a364d5fb22 Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky 2013-01-04 00:16:14 -05:00
Ehsan Akhgari
5360f864c8 Backed out changeset bfb788e7ef51 (bug 826602) because of build failures 2013-01-04 01:07:10 -05:00
Ehsan Akhgari
8875c8c39c Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky 2013-01-04 00:16:14 -05:00
Robert O'Callahan
ae130ef998 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
2013-01-04 02:23:11 +13:00
Ehsan Akhgari
636c074c94 Bug 825527 - Part 2: Rename nsHTMLImageElement to mozilla::dom::HTMLImageElement; r=bzbarsky 2012-12-31 12:25:46 -05:00
Nicholas Cameron
e3b0879636 Bug 822231; use the maximum scale for animated scaling. r=roc 2012-12-21 16:58:17 -05:00
Scott Johnson
0c843cb2c7 Bug 821801: Make nsContentUtils::ViewportInfo into a separate class in order to allow better state tracking. [r=kats] 2012-12-17 15:24:41 -06:00
Nicholas Cameron
6edbdb7f5a Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz 2012-12-12 10:12:43 +13:00
Matt Woodrow
3b529fb2f3 Bug 820131 - Compute a more accurate bounds for nsDisplayBoxShadowOuter. r=roc 2012-12-12 09:36:54 +13:00
Boris Zbarsky
71a72b6dc3 Bug 815671 part 3. Make nsXULPopupManager::GetVisiblePopups use an array out param instead of returning array object copies. r=roc 2012-11-29 11:14:13 -05:00
Chris Jones
0e47102e61 Bug 814778: Disable font inflation for the b2g master process. r=dbaron 2012-11-28 12:16:01 -08:00
Boris Zbarsky
e7fc953610 Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron 2012-11-21 11:19:37 -05:00
Chris Lord
e5c8d0572d Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Ehsan Akhgari
1f225691bd Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
dd23190f15 Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Ryan VanderMeulen
f3c337d517 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
537fbfa9d6 Bug 776443 part 2. Support percent-less calc for internal table element widths. r=dbaron 2012-11-21 11:19:37 -05:00
Daniel Holbert
87a04479ef Bug 807897: Make non-auto values for "z-index" turn flex items into stacking contexts, even if they're not positioned. r=dbaron 2012-11-20 17:24:59 -08:00
Chris Jones
940ee1bda6 Bug 803908: Enable font inflation for async pan/zoomed browsers. r=dbaron 2012-11-20 11:55:14 -08:00
Peter Van der Beken
04b4fbbd42 Bustage fix (bug 804991 - Make FromContent expect a non-null pointer and add FromContentOrNull) 2012-11-09 22:10:06 +01:00
Bas Schouten
8f820656ec Bug 803949: Do not draw anything for zero size images. r=roc 2012-10-23 00:37:08 +02:00
Scott Johnson
cd94f5ce45 Bug 784375: Add a preference to control maximum font size inflation ratio. [r=dbaron] 2012-10-15 14:03:37 -05:00
Peter Van der Beken
82b618706e Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz. 2012-10-09 14:31:24 +02:00
Robert O'Callahan
c2702bf3c7 Bug 703241. Part 3: nsLayoutUtils::GetTransformToAncestor should handle the case where aAncestor == aFrame. r=matspal 2012-10-17 16:13:24 +13:00
Boris Zbarsky
b894a7bf95 Bug 801994. Fix intrinsic width determination in cases when we have an intrinsic ratio and our height is styled as calc() with percentages. r=dholbert 2012-10-17 17:01:56 -04:00
Boris Zbarsky
1c2f2de6ec Bug 599882. Make baselines not depend on relative positioning of kids. r=dbaron 2012-10-17 17:01:55 -04:00
Daniel Holbert
2b7b0fb15c Bug 798235: For flex items in a vertical flex container, treat enumerated values for flex-basis as "auto". r=dbaron 2012-10-16 19:04:29 -07:00
Daniel Holbert
fdc48f572e Bug 800603: Just check rv (not rv & outparam) after calling imgIRequest:GetImage & GetImagePrincipal. r=jrmuizel 2012-10-16 16:05:54 -07:00
Boris Zbarsky
9595ce4f00 Bug 801116 followup: clearer variable naming. DONTBUILD 2012-10-16 10:52:55 -04:00
Boris Zbarsky
fe9234b4c2 Bug 801116. Take box-sizing into account when computing intrinsic width based on a fixed height and an intrinsic ratio. r=dholbert 2012-10-15 23:12:03 -04:00
Scott Johnson
45b06cd8bd Backout e52a16b96738 (Bug 784375) for oranges on OSX 10.8. 2012-10-15 15:13:40 -05:00
Daniel Holbert
3f2b0a6507 Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron 2012-10-15 12:42:43 -07:00
Scott Johnson
af19b8a160 Bug 784375: Add a preference to control maximum font size inflation ratio. [r=dbaron] 2012-10-15 14:03:37 -05:00
Scott Johnson
75f323864a Backout 94f06c75c3b5 for lack of reviewer. 2012-10-15 14:13:35 -05:00
Scott Johnson
224a214330 Bug 784375: Add a preference to control maximum font size inflation ratio. 2012-10-15 14:03:37 -05:00
Robert O'Callahan
4c4c6fc1c3 Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.
2012-10-07 02:03:23 +13:00
Robert O'Callahan
c41c45392a Bug 626245. Part 3.5: Fix nsLayoutUtils::Transform functions to convert to correct appunits values for the destination frame. r=mats 2012-10-12 13:11:37 +13:00
Robert O'Callahan
b1d8e88663 Bug 626245. Part 3: Make aAncestor const in TransformFrameRectToAncestor. r=matspal 2012-10-08 17:52:52 +13:00
Chris Jones
d0c7636021 Bug 790505, part 4: If we're just updating the transform of a prerendered layer, then schedule an empty transaction to skip unnecessary display-list overhead. r=mattwoodrow,roc 2012-10-02 22:55:52 -07:00
Chris Jones
a4644c4d0f Bug 790505, part 2: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc 2012-10-02 22:55:50 -07:00
Daniel Holbert
3579500562 Bug 796212 followup: add #ifdef guard around static variables that are only used in #ifdef'd code, to fix build warning in non-MOZ_FLEXBOX-enabled builds. 2012-10-03 19:52:21 -07:00
Chris Jones
a836c056b8 Back out bug 790505 for leaking 2012-10-03 00:21:08 -07:00
Chris Jones
9eaa4c1588 Bug 790505, part 3: Add a GetLayerTransformForFrame() helper for computing a frame's layer transform outside a proper transaction, and mark frames that have been fully prerendered. r=roc 2012-10-02 22:55:50 -07:00
Daniel Holbert
05bdf6b5c9 Bug 796212 part 2: Make pref "layout.css.flexbox.enabled" control whether -moz-flex and -moz-inline-flex are recognized as valid values for "display" property. r=bz 2012-10-02 22:04:50 -07:00
Daniel Holbert
32babbd72d Bug 796568 - cleanup in nsLayoutUtils: remove unnecessary "mozilla::" namespace prefix and convert some NULL to nullptr. r=mats 2012-10-02 17:18:48 -07:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
fad83e95c6 Bug 539356 - Part 11 - Reimplement empty transactions. r=roc 2012-08-29 17:48:15 +12:00
Matt Woodrow
cea1d78aac Bug 539356 - Part 9b - Add new frame invalidation API. r=roc 2012-08-29 17:39:01 +12:00
Aryeh Gregor
c518d383ca Bug 794905 - nsLayoutUtils::FontSizeInflationEnabled can return nsresult instead of bool; r=jwir3 2012-09-27 18:24:17 +02:00