Ehsan Akhgari
b050f5df50
Bug 793880 - Fix the assertion in nsCSSSelector::SetPseudoType to shut up the compiler warning; r=dholbert
...
--HG--
extra : rebase_source : 058dcc17c37915fa9937f7eafb1b3a93b78384f2
2012-10-02 15:50:50 -04:00
Steven Michaud
8650a61e2a
Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard
2012-10-02 14:48:05 -05:00
Ed Morley
4583cbb907
Backout 16ae4d5d27d7 for mochitest-other failures in test_mousescroll.xul
2012-10-02 17:38:49 +01:00
Ed Morley
3684244f5a
Merge mozilla-central to mozilla-inbound
2012-10-02 16:55:54 +01:00
Ed Morley
548ec830de
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-02 16:53:37 +01:00
Zack Weinberg
230a3c567d
Another round of diagnostics for bug 536603.
2012-10-02 09:50:19 -04:00
Zack Weinberg
782bddc8ac
Revert previous set of diagnostics for bug 536603.
2012-10-02 09:14:58 -04:00
Gervase Markham
ee372dcfcd
Bug 759095 - remove stray references to tri-license.
2012-10-02 12:52:06 +01:00
Ed Morley
d078159b72
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Vladimir Vukicevic
b07a6d7317
b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc
2012-10-02 10:54:46 -04:00
Phil Ringnalda
293dbb7ef1
merge m-c to m-i
2012-10-01 21:50:57 -07:00
Matt Woodrow
1c469a0cf7
Bug 770144 - Use FuzzyEqual to compare layer scale values. r=roc
2012-10-02 17:00:09 +13:00
Benoit Girard
89e0e7d121
Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey
2012-10-01 16:01:35 -04:00
Phil Ringnalda
5be3c350ff
Back out 024f0c7ca3fc and 9f856ef0f078 (bug 778367) for Windows reftest failures
2012-10-01 17:29:40 -07:00
Bas Schouten
c8b5089d0c
Bug 778367 - Part 2: Mark a test fuzzy where DWrite seems to render differently to a smaller surface. r=jrmuizel
2012-10-02 00:00:15 +02:00
Vladimir Vukicevic
2a72f9d08c
b=793233; mark reftest bidi/779003-1.html and 712600 as random; r=smontagu
2012-10-01 17:51:28 -04:00
Vladimir Vukicevic
f01fc07d9d
b=683143,792462; Some tests call SimpleTest.finish() twice/guard against that; r=ehsan
2012-10-01 17:51:10 -04:00
Joe Drew
86b407c027
Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar
2012-09-27 14:12:56 -04:00
Ms2ger
a77a250988
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Timothy Nikkel
e597215240
Bug 784591. Add an optional argument to the unlock image api on documents so that we can request that the image be discarded only in some situations. r=khuey
2012-10-01 12:53:57 -05:00
Ed Morley
ffa6bbc07e
Merge mozilla-central to mozilla-inbound
2012-10-01 14:04:36 +01:00
Joel Maher
bc03cb2a44
Bug 792029 - Make SpecialPowers available in crashtests. r=ted
2012-10-01 08:50:10 -04:00
Matt Woodrow
adcd47a275
Bug 795796 - Fix empty transactions. r=cjones
2012-10-01 17:29:02 +13:00
Ms2ger
7d9ebb63c7
Merge backout.
2012-10-01 14:16:20 +02:00
Ms2ger
372fb21863
Bug 795862 - Back out bug 486918 for build bustage in unreviewed code.
2012-10-01 14:16:03 +02:00
Joe Drew
3a386776a9
Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar
2012-09-27 14:12:56 -04:00
Kyle Huey
1ccfbe810b
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Mounir Lamouri
a103215fb8
Merge m-i inm-c.
2012-09-30 13:19:15 +01:00
Daniel Holbert
96708c6027
Bug 666041: Reftests for css3-flexbox. (tests-only)
...
--HG--
rename : layout/reftests/bugs/solidblue.png => layout/reftests/flexbox/solidblue.png
2012-09-29 23:42:29 -07:00
Daniel Holbert
6649dbc51c
Bug 666041 patch 8: Add special handling for "min-width: auto" value on flex items. r=dbaron
2012-09-29 23:38:46 -07:00
Daniel Holbert
9edb0fa952
Bug 666041 patch 7: implementation of flex container class for CSS3 flexbox. r=dbaron
2012-09-29 23:38:46 -07:00
Daniel Holbert
959680664c
Bug 666041 patch 6.5: Add flag to nsHTMLReflowState & ComputeSize for measuring auto height. r=dbaron
2012-09-29 23:38:46 -07:00
Matt Woodrow
3a3192fe2c
Bug 795611 - Call virtual InvalidateFrame from InvalidateFrameSubtree since nsTable*Frame overloads it. r=cjones
2012-09-30 19:20:25 +13:00
Matt Woodrow
ca71a58ed9
Bug 795576 - Correctly add the NS_FRAME_UPDATE_LAYER_TREE when invalidating inside a popup. r=cjones
2012-09-30 19:20:24 +13:00
Matt Woodrow
17aa832683
Bug 795646 - Add crashtest for merged nsDisplayFixedPosition items. r=cjones
2012-09-30 19:20:24 +13:00
Ryan VanderMeulen
705b092ca0
Merge the last PGO-green inbound changeset to m-c.
2012-09-29 23:38:08 -04:00
Matt Woodrow
7c3ede606e
Bug 795591 - Disable merged display item tracking. r=cjones
2012-09-30 13:55:10 +13:00
Simon Montagu
2b02131b60
Add vendor prefix to :dir selector. Bug 562169, r=dbaron
2012-09-29 13:41:10 -07:00
Jonathan Kew
4ae1951644
bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud
2012-09-29 12:36:09 +01:00
Jonathan Kew
a85e67486b
bug 674373 pt 5 - provide a fullZoom API in nsIDOMWindowUtils, and use this rather than inferring zoom from CSS to device pixel ratio. r=roc
2012-09-29 12:35:19 +01:00
Jonathan Kew
336fd34232
bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc
2012-09-29 12:35:08 +01:00
Robert Longson
630fe1e9bd
Bug 729139 - Accept negative radius arcs in markup. r=jwatt
2012-09-29 11:19:13 +01:00
Doug Sherk
4f2bfeb032
Bug 746502: Add support for <meta name=viewport> on B2G/async panning and zooming r=cjones,smaug
2012-09-28 22:18:18 -04:00
Doug Sherk
f73db9f5da
Bug 784908: Part 1: Change names of FrameMetrics variables to be more descriptive, add documentation, change some coordinate spaces. r=roc
2012-09-28 22:16:34 -04:00
Ed Morley
77ca6b18f2
Backout bec7e68cad9a & a6228bc28958 (bug 786299) for Windows compilation errors on a CLOSED TREE
2012-09-29 01:44:30 +01:00
Jason Duell
f2b6cb61ab
Bug 786299 - Part 2: Delete app-cache related to an app when uninstalled. r=honza
2012-09-28 16:13:17 -07:00
Ed Morley
6250aafdf0
Backout 92530b29ac24, 42e659956dc6 & 38277196c099 (bug 486918), d3b69fe15ac3 & b2dba2108722 (bug 786444), e7381ac9e30a (bug 786449) on suspicion of causing Android reftest failures on a CLOSED TREE
2012-09-28 23:00:28 +01:00
Ed Morley
9bd985c476
Backout ec0dcd401a3f (bug 786108) for crashes
2012-09-28 22:04:56 +01:00
Scott Johnson
fea453f734
Bug 795313: Modify order of conditionals in UpdateFontInflationDataWidthFor() for performance enhancements. [r=dbaron]
2012-09-28 14:38:33 -05:00
Joe Drew
7c3734fece
Bug 486918 - Create and obey a high-quality downscaling pref, and turn it off on OS X and mobile. r=jlebar
...
--HG--
extra : rebase_source : 386bee19522e3cb8bca16ec40e3c092a52ae18d2
2012-09-27 14:12:56 -04:00