Commit Graph

11573 Commits

Author SHA1 Message Date
Olli Pettay
3441bff4e4 Bug 979314, fix pointer events pref handling in presshell, r=mccr8
--HG--
extra : rebase_source : 9ce2767a077bfdf623186580d4793b73907e69bd
2014-03-04 23:49:02 +02:00
Andrew McCreight
01a28066ae Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 13:33:44 -08:00
Milan Sreckovic
2b8bd73400 Bug 978274: Initialize gfxPrefs earlier, rename some methods, delete MigratePrefs from gfxPlatform. r=bgirard. 2014-03-04 12:26:33 -05:00
Phil Ringnalda
3ebfa99768 Merge m-c to m-i 2014-03-03 19:50:07 -08:00
Seth Fowler
f34547a086 Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron 2014-03-03 19:40:29 -08:00
Botond Ballo
44886bddee Bug 978997 - Fix a regression caused by bug 959847 where the root layer sometimes doesn't get an APZC. r=tnikkel on a CLOSED TREE
Root scroll frames in display root documents don't get a scroll info layer from ScrollFrameHelper::BuildDisplayList, so we always need to call RecordFrameMetrics from nsDisplayList::PaintForFrame.
2014-03-03 19:57:28 -05:00
Ryan VanderMeulen
a1a491b145 Merge inbound to m-c. 2014-03-03 17:00:34 -05:00
James Kitchener
b9c875a48c Bug 975935 - nsDisplaymtdBorder needs to override GetBounds. r=bz 2014-03-03 10:37:08 -05:00
Ed Morley
46cd2a9fc8 Merge latest green b2g-inbound changeset and mozilla-central 2014-03-03 14:45:43 +00:00
L. David Baron
fb58fa1a66 Bug 978612: Ignore changes to offsets of static-positioned elements when they or their descendants have views. r=dholbert
We get slightly better optimization, and no loss of function, by putting
these checks in the opposite order.
2014-03-03 00:54:39 -08:00
Timothy Nikkel
be8bb76db2 Bug 978655. Simplify ContainerState::FindFixedPosFrameForLayerData. r=mattwoodrow 2014-03-03 00:04:59 -06:00
Timothy Nikkel
6fa728f68f Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow
Also makes DidComputeVisibility available during non-debug painting so we can use it.
2014-03-02 16:22:29 -06:00
Timothy Nikkel
b46e8f3a85 Bug 974643. The displayport is not relevant to position: fixed content, only to scrolling content. r=roc
The relevant part of postion: fixed items lies within the viewport, which is the scroll position clamping scroll port size if one has been set.
2014-03-02 19:49:39 -06:00
Oleg Romashin
29f215877a Bug 977695 - Update bubbles/cancelable attribute for pointer events. r=smaug 2014-02-27 16:13:05 -08:00
Kearwood (Kip) Gilbert
8b44c4c637 Bug 687297 - Added Mochitest to verify that the per-presentation base minimum font size is propagated without being influenced by the language-specific global preference. r=dbaron
This test applies a large value to the font.minimum-size.ja preference, opens a new window, advances the url through an iso-8859-1 page, a Shift-JIS page, and back to an iso-8859-1 page.  If the height of a div containing text on the first iso-8859-1 page and last iso-8859-1 page do not match, then the test is failed.

This test has been excluded from B2G Desktop Client tests due to bug 948948.
2014-02-26 16:01:38 -08:00
Carsten "Tomcat" Book
0983fbe801 merge b2g-inbound to mozilla-central 2014-02-28 14:42:11 +01:00
Wes Kocher
811e00ebb5 Merge m-c to b2g-inbound 2014-02-27 17:47:32 -08:00
Timothy Nikkel
d283416014 Bug 959847. Part 11. Use nsLayoutUtils::ViewportHasDisplayPort instead of repeating boilerplate code. r=roc 2014-02-27 16:01:54 -06:00
Timothy Nikkel
21fd864c46 Bug 959847. Part 10. Implement GetBounds, GetOpaqueRegion, and ShouldBuildLayerEvenIfInvisible for nsDisplaySubDocument items that are being used as scrollable layers like scroll layer items. r=roc 2014-02-27 16:01:54 -06:00
Timothy Nikkel
25c10ba585 Bug 959847. Part 9. Subdocument items for subdocuments that have displayports need to expand the visibility region. r=roc 2014-02-27 16:01:54 -06:00
Timothy Nikkel
7d49d25691 Bug 959847. Part 8. Don't let ProcessDisplayItems set the clip on subdocument items when they are being used to draw the display port content. r=roc 2014-02-27 16:01:54 -06:00
Timothy Nikkel
1055974519 Bug 959847. Part 7. Move ignoreViewportScrolling computation lower, where we actually use it. r=roc 2014-02-27 16:01:53 -06:00
Timothy Nikkel
08feb4e38a Bug 959847. Part 6. Only call RecordFrameMetrics from PaintForFrame if we are ignoring viewport scrolling so that we don't call it twice for the same scroll frame (the other one being the scroll layers created by nsGfxScrollFrame). r=roc 2014-02-27 16:01:53 -06:00
Timothy Nikkel
30c667bcf3 Bug 959847. Part 4. Call RecordFrameMetrics for subdocument layers. r=roc
We do this by creating a new display item type: nsDisplaySubDocument.

Original patch by Kartikaya Gupta <kgupta@mozilla.com>.
2014-02-27 16:01:53 -06:00
Kearwood (Kip) Gilbert
f32b4e5fab Bug 687297 - The per-presentation base minimum font size is now propagated without being max’ed with the language-specific global minimum font size preference, r=dbaron
A separate accessor has been added to nsPresContext to enable TransferZoomLevels and nsDocumentViewer::GetMinFontSize to access the minimum font size that has not been max’ed against the language specific minimum font size preset.

nsPresContext::mMinFontSize, its getter, and its setter have been renamed to more clearly distinguish them from minFontSize used elsewhere.
2014-02-25 11:07:47 -08:00
Mats Palmgren
917c123399 Bug 978443 - Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. r=dholbert
Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH.  Also fix whitespace and remove unnecessary parens in a few places and enumerate the possible break types in an assertion so that it doesn't make assumptions on the actual property values.
2014-03-02 17:42:16 +00:00
Timothy Nikkel
8addf76ccc Bug 978348. PresShell::SetDisplayPort is dead code, remove it. r=dholbert 2014-02-28 20:16:06 -06:00
Geoff Brown
95bc7b7519 Bug 978265 - Disable layout/base/crashtests/522374-1.html on Android 2.3 2014-02-28 14:58:38 -07:00
Geoff Brown
400acf05a0 Bug 978254 - Disable layout/base/crashtests/500467-1.html on Android 2.3 2014-02-28 14:58:37 -07:00
Carsten "Tomcat" Book
ce0a2a311e Backed out changeset 27f21343ffe5 (bug 687297) for mochitest-1 perma fail 2014-02-27 10:21:55 +01:00
Carsten "Tomcat" Book
0427b3b9f0 Backed out changeset 1d16baf1f90a (bug 687297) 2014-02-27 10:21:29 +01:00
Mats Palmgren
0dfff6825d Bug 976411 - Use ConstructFramesFromItemList in more places, and some minor cleanup. r=bz 2014-02-27 09:15:16 +00:00
Simon Sapin
4ada4b1b26 Bug 975501 part 2: Add display:{inline-,}grid behind a pref, and a stub nsGridContainerFrame. r=dholbert 2014-02-26 23:45:29 -08:00
Simon Sapin
d75e3393a7 Bug 975501 part 1: Add a XUL prefix to existing internal GRID constants. r=dholbert 2014-02-26 23:43:18 -08:00
Kearwood (Kip) Gilbert
15df9bbcf8 Bug 687297 - Added Mochitest to verify that the per-presentation base minimum font size is propagated without being influenced by the language-specific global preference. r=dbaron
This test applies a large value to the font.minimum-size.ja preference, opens a new window, advances the url through an iso-8859-1 page, a Shift-JIS page, and back to an iso-8859-1 page.  If the height of a div containing text on the first iso-8859-1 page and last iso-8859-1 page do not match, then the test is failed.
2014-02-26 23:00:13 -08:00
Kearwood (Kip) Gilbert
8a83c4f0fb Bug 687297 - The per-presentation base minimum font size is now propagated without being max’ed with the language-specific global minimum font size preference, r=dbaron
A separate accessor has been added to nsPresContext to enable TransferZoomLevels and nsDocumentViewer::GetMinFontSize to access the minimum font size that has not been max’ed against the language specific minimum font size preset.

nsPresContext::mMinFontSize, its getter, and its setter have been renamed to more clearly distinguish them from minFontSize used elsewhere.
2014-02-25 11:07:47 -08:00
Reuben Morais
bde629dd63 Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Matt Woodrow
e528934d7f Bug 971720 - Allow ThebesLayers to be optimized to ColorLayers even if they have rounded rect clipping. r=roc 2014-03-01 08:52:03 +13:00
Matt Woodrow
0827270cd6 Bug 976877 - Don't build optimized layers (color/image) inside inactive layer trees. r=roc 2014-03-01 08:49:58 +13:00
Andrew McCreight
0353960345 Bug 962608 - Make PL_DHashTableInit infallible by default. r=briansmith,bsmedberg,ehsan,froydnj,jduell,jfkthame,roc,smaug 2014-02-27 10:04:09 -08:00
Botond Ballo
47e99a4731 Bug 958596 - Add a content description field to FrameMetrics and populate it if the apz.printtree pref is on. r=kats,tn 2014-01-22 16:37:57 -05:00
Matt Woodrow
6fa6614065 Bug 968555 - Don't create a stacking context for backface-visibility:hidden. r=dbaron 2014-02-27 15:57:45 +13:00
Blake Kaplan
6597d2720f Bug 956704 - Introduce a mechanism for only suppressing animation frames. r=smaug 2014-02-26 15:58:21 -08:00
John Daggett
500775b3a9 Bug 976971 - test log level directly when creating textperf object. r=heycam 2014-02-27 08:41:28 +09:00
Oleg Romashin
642a56c268 Bug 974177 - PointerCancel must trigger PointerOut event. r=smaug
--HG--
extra : rebase_source : cd88e856cbae08f21aed564899195f9697053f3a
2014-02-26 13:37:30 -08:00
Oleg Romashin
f26c3eae26 Bug 970964 - Get pointer events from touch and mouse. tests. r=smaug
--HG--
extra : rebase_source : a2856a27dc24f505297a52881b799282b09a3d47
2014-02-26 13:37:25 -08:00
Oleg Romashin
6cea53ee81 Bug 970964 - Implement generic mouse/touch -> Pointer events converter. r=smaug,jimm
--HG--
extra : rebase_source : 165dc4e5c598f9e9f9de928efe16824037b95ff3
2014-02-26 13:37:01 -08:00
Jonathan Watt
724f52955d Bug 974430 - Put the |input[type=number]| rule in forms.css into a separate sheet so we can make it respect the dom.forms.number pref. r=dbaron
--HG--
extra : rebase_source : 450ffd1ca743868d75dda6ce0f89078216934e79
2014-02-26 12:26:14 +00:00
Etienne Segonzac
3b5a19f7a3 Bug 961776 - Add role=key to the event fluffing heuristics. r=roc 2014-02-26 09:03:32 -05:00
Robert O'Callahan
d4a1d76dc4 Bug 976412. Part 1: Fix logic for determining when a display item can be placed in a layer. r=mattwoodrow
--HG--
extra : rebase_source : c390532cb3f6252fa388dfbe8176f4f911dfbdb3
2014-02-26 17:17:18 +13:00