Timothy Nikkel
548fe541ea
Bug 980256. nsDisplayZoom items need some adjustments if they are going to generate a scrollable layer. r=roc
...
Specifically GetBounds should use nsDisplaySubDocument::GetBounds (and not nsDisplayWrapList::GetBounds) before converting it to the right app units.
Similarly for ComputeVisibility except with the added wrinkle that nsDisplaySubDocument::ComputeVisibility won't properly handle coordinates if we are not generating a scroll layer. Namely it calls nsDisplayWrapList::ComputeVisibility which uses mVisibleRect (which is the visible rect of the scroll frame), when it needs to be using the visible rect of the contained list, which is for the scrolled content inside.
2014-03-06 17:40:31 -06:00
Matt Woodrow
3f1217aeee
Bug 978911 - Add the entire visible region to the layers invalid region when we invalidate the whole thing. r=roc
2014-03-07 12:31:47 +13:00
Vaibhav Agarwal
bb9b55bec2
Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher
2014-03-06 13:42:47 -05:00
Vaibhav Agarwal
64e20261db
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Jonathan Kew
c2c11aa0a5
bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
2013-12-31 13:50:31 +00:00
Matt Woodrow
205af94a59
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Timothy Nikkel
b1852c5b93
Bug 980062. Make nsDisplaySubDocument use the visible rect of the contained list because it contains the enlarged area. r=roc
...
mVisibleRect contains the bounds after the scrolled content has been clipped to the scrollport. The visible rect on the contained list (mList) contain the bounds for all pre-drawn content in the displayport.
2014-03-05 20:52:54 -06:00
Simon Montagu
8303584d49
Add U+2029 PARAGRAPH SEPARATOR and other characters with bidi type Segment Separator and Paragraph Separator to the characters we convert to whitespace before passing text to the Bidi engine. Bug 847242, r=roc
2014-03-05 21:04:36 +02:00
L. David Baron
3d27ca2dd2
Bug 828173 bustage fix for non-unified builds: add using declaration.
2014-03-04 21:05:18 -08:00
L. David Baron
31c94b630e
Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow
2014-03-04 20:13:22 -08:00
L. David Baron
143d4b266e
Bug 828173 patch 4: Expose AddAnimationsAndTransitionsToLayer and allow it to be called from style change handling. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
1c6ed806fe
Bug 828173 patch 3.5: Move GetTransformRootFrame to nsLayoutUtils. r=mattwoodrow
2014-03-04 20:13:21 -08:00
L. David Baron
806b550de7
Bug 828173 patch 2: Make Layer::AddAnimation have the caller fill in the data instead of taking parameters. r=mattwoodrow
...
(This is a bigger simplification later in the patch queue, when I add a
variant of AddAnimation called AddAnimationForNextTransaction.)
2014-03-04 20:13:21 -08:00
L. David Baron
69150cf2a4
Bug 828173 patch 1: Add nsLayoutUtils::GetReferenceFrame. r=mattwoodrow
2014-03-04 20:13:21 -08:00
Masayuki Nakano
08a11f7934
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Andrew McCreight
3a5c9d4829
Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug
2014-03-04 15:39:42 -08:00
Wes Kocher
ea2ff28ca4
Backed out changeset 3f8a7062ad8d (bug 978203) for build bustage on a CLOSED TREE
2014-03-04 14:15:33 -08:00
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
Wes Kocher
6ff0104d95
Backed out 12 changesets (bug 958596) for several Android permafails to fix a CLOSED TREE
...
Backed out changeset e4c0e3d3a768 (bug 958596)
Backed out changeset 7bc4f48d6b05 (bug 958596)
Backed out changeset 89cd12e3db45 (bug 958596)
Backed out changeset 283411053340 (bug 958596)
Backed out changeset 5329fa8c8847 (bug 958596)
Backed out changeset 0d1d26d588e3 (bug 958596)
Backed out changeset 715fe9eb5dfd (bug 958596)
Backed out changeset 66dde9d67ffa (bug 958596)
Backed out changeset 79e589f75065 (bug 958596)
Backed out changeset 1ed4c880ab70 (bug 958596)
Backed out changeset 1d40b0b8036d (bug 958596)
Backed out changeset ad35d51d9781 (bug 958596)
2014-02-25 18:34:47 -08:00
Botond Ballo
0f6495bca7
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
8e879058a1
Bug 975592 - Make sure we find the correct composition manager when updating child process layer trees. r=nical
...
--HG--
extra : rebase_source : 5e1457117293c74a362a0570aca2673c90038334
2014-02-25 11:45:40 +13:00
Ed Morley
2cbe207bfb
Backed out changeset a29e486e2214 (bug 958596)
2014-02-25 17:17:02 +00:00
Botond Ballo
e700ca83a9
Bug 958596 - Add a content description field to FrameMetrics and populate it if the apz.printtree pref is on. r=kats,tn
...
--HG--
extra : rebase_source : f009ad9d779fb1a3afa525fe7e5eb3a399aee628
2014-01-22 16:37:57 -05:00
William Chen
982c2340c8
Bug 973321 - Prevent int overflow in border image width calculation. r=dbaron
2014-02-18 14:14:31 -08:00
Timothy Nikkel
6fb059abcc
Bug 976370. Move overlay scrollbar display items above scroll layer items for the same scroll frame. r=roc
...
This has two desirable side effects. The first and more important is that it prevents a scrollbar item from sitting between scroll layer items and preventing them from merging into one and thus preventing the creation of an async scrollable layer. The second is that scrollbars should be on top of the content they are scrolling in general, and this will make that happen in more cases.
2014-02-24 23:42:11 -06:00
Phil Ringnalda
478c62f613
Back out b157f5d0c235 (bug 974197) for b2g reftest-4 and reftest-6 failures
...
CLOSED TREE
2014-02-24 21:06:18 -08:00
Matt Woodrow
31f16514d3
Bug 974197 - Fire MozAfterPaint after the compositor runs. r=roc
2014-02-25 12:55:39 +13:00
Max Vujovic
4cee698abc
Bug 948265 - Pass an nsStyleFilter chain instead of an nsSVGFilterFrame into nsSVGFilterInstance. r=roc
2014-02-24 10:22:58 -05:00
Arnaud Sourioux
e53280194e
Bug 974687 - Part 2: Fix more than 80cols issues caused by MOZ_OVERRIDE annotation. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
a127266e74
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Mats Palmgren
fa68261db1
Bug 966992 - overflow-clip-box:content-box tests.
2014-02-22 01:18:24 +00:00
Mats Palmgren
acae11cf02
Bug 966992 - Implement layout for the overflow-clip-box property. r=roc
2014-02-22 01:18:24 +00:00
Ehsan Akhgari
70ae8680ba
Bug 935778 - Part 0.1: Uninline nsIPresShell::SetForwardingContainer so that it won't need the full definition of nsDocShell; r=bzbarsky
2014-02-21 14:44:43 -05:00
Ryan VanderMeulen
0fceb198fa
Backed out changeset 18183f6ef0d8 (bug 910860) for xpcshell and reftest failures.
2014-02-21 12:35:35 -05:00
Milan Sreckovic
eb4c7c8908
Bug 910860 - Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated. r=BenWa
2014-02-18 19:55:48 -05:00
Carsten "Tomcat" Book
8ca08c9ad7
Backed out changeset 18f6689b172d (bug 926830) for mochitest memory leak on a CLOSED TREE
2014-02-21 14:32:48 +01:00
Georg Fritzsche
fff0477453
Bug 926830 - Test cleanup for plugin enabledState usage, layout. r=roc
2014-02-18 14:52:00 +01:00
Mats Palmgren
eb191bf2a8
Bug 974412 - Cancel any pending InvalidatePresShellIfHidden() request for the shell when detaching the pres context. r=roc
2014-02-21 08:40:45 +00:00
Robert O'Callahan
0c22df2d8c
Bug 969354. Track which ThebesLayers contain items which returned true from ShouldFixToViewport, and make sure each such item gets its own ThebesLayer. r=mattwoodrow
...
--HG--
extra : rebase_source : 629f91869bd4c4ad2e4e17c40c5fe0311532fb67
2014-02-21 14:11:17 +13:00
Ehsan Akhgari
9a39fcfd00
Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 23:07:24 -05:00
Kartikaya Gupta
f6a1fc6920
Bug 965945 - Prevent the parent process from running out of memory if the child process requests a giant gralloc buffer. r=bjacob
2014-02-19 12:08:00 -05:00
Avi Halachmi
9b33dea36d
Bug 879239: More slack at layout/base/tests/test_bug588174.html. r=bz
2014-02-19 15:40:23 +02:00
Wes Kocher
323c184017
Backed out 3 changesets (bug 63895) for debug crashtest failures on a CLOSED TREE
...
Backed out changeset 02e057fea56c (bug 63895)
Backed out changeset 80bd36a3d4f1 (bug 63895)
Backed out changeset 6609365ee797 (bug 63895)
2014-02-19 17:35:03 -08:00
Seth Fowler
6cd5243e74
Bug 63895 (Part 2) - Support table parts as absolute containing blocks. r=dbaron
2014-02-19 16:03:30 -08:00
Ehsan Akhgari
7a3201ec26
Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
...
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Botond Ballo
b4d0de9126
Bug 964517 - Do not pretend a layer is opaque if it really is transparent. r=roc
2014-02-09 00:28:04 -05:00
Daniel Holbert
4a6b278f7e
Bug 973390: Call SetPrimaryFrame for root element *after* processing its children, to fix assertion & for consistency with behavior on other elements. r=bz
2014-02-19 08:36:03 -08:00
Mats Palmgren
69fec969d0
Bug 966992 - overflow-clip-box:content-box tests.
2014-02-19 14:14:53 +00:00
Mats Palmgren
542a408e8b
Bug 966992 - Implement layout for the overflow-clip-box property. r=roc
2014-02-19 14:14:52 +00:00
Jerry Shih
cbf26b902d
Bug 972310 - Set a suitable layer size for css scale animation/transition. r=roc
2014-02-18 09:58:01 -05:00
Robert O'Callahan
648ec3e0c8
Backing out patches for bug 972713 (changesets b5486b9ed88c and 7829e535cdd7) due to Windows 8 test failure.
2014-02-18 22:48:18 +13:00