Mounir Lamouri
02a6895e14
Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar
2012-03-14 19:14:53 +01:00
Dão Gottwald
6483ef2ee1
Backed out changeset 2cd01fd07ce8
2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe]
2c3301cdb1
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-18 14:42:25 -05:00
Robert O'Callahan
47d208de1e
Backed out changeset 0fe31dd7bbc5
2012-03-19 23:19:59 +13:00
Robert O'Callahan
7c63052f36
Bug 735141. Clear imageContainer to indicate that we're not using that optimization. r=tnikkel
2012-03-19 20:26:39 +13:00
Boris Zbarsky
7a56376d14
Bug 736389. Get rid of code that reresolved style on overflow containers multiple times and in the process violated some invariants other code depended on. r=mats
2012-03-16 13:13:14 -04:00
Stefan
e03f52b071
Bug 734490: fix build failures with Clang and GCC 4.7 in TestPoisonArea.cpp. r=zwol
2012-03-15 11:01:08 -07:00
Jonathan Kew
96d2b41275
bug 735647 - use larger buffers for key strings in ReflowCountMgr, and fix leakage & allocator mismatch. r=matspal
2012-03-15 09:00:25 +00:00
Ali Juma
0e369cf4b3
Bug 725095 - Address Layout review comments. r=mats
2012-03-13 12:57:31 -04:00
Benoit Girard
dc6ea71b7e
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Boris Zbarsky
0b6e42d918
Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
173c545b7b
Bug 705877 part 6. Make frame construction use ancestor filters when resolving style. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
89ca391782
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Phil Ringnalda
ef5d0d917f
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
4de57bccc9
Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
15170be58d
Bug 705877 part 6. Make frame construction use ancestor filters when resolving style. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
2f999a9a1f
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Kartikaya Gupta
676a95e99e
Bug 732564 - Add a before-first-paint event that fires before the first paint of the new document. r=Cwiiis, bz
2012-03-12 12:03:38 -04:00
Ali Juma
fa2d5472cf
Bug 732091 - Part 3: Pass on the isFirstPaint flag from the PresShell to the compositor via the layer manager. r=tnikkel,bgirard
2012-03-12 11:50:15 -04:00
Ali Juma
4d8312dbab
Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan
2012-03-12 11:50:11 -04:00
Kartikaya Gupta
60f5962bb6
Merge m-c to maple
2012-03-12 10:41:42 -04:00
Benoit Girard
876fa332bc
Merge mc->maple
2012-03-09 18:16:26 -05:00
Benoit Girard
13f16e0444
Merge mc->Maple
2012-03-08 10:22:42 -05:00
Mats Palmgren
f2b543f7d7
Bug 728908 - Make the Overflow lines property have both a nsLineList and a nsFrameList for fast access to the last frame, eliminate SetNextSibling calls, and to support GetChildList(kOverflowList). part 1/2 r=bz
2012-03-08 02:57:37 +01:00
Benoit Girard
1d55c5f593
Merge mc->Maple
2012-03-07 11:10:45 -05:00
Benoit Girard
997a81e71b
Merge latest green changeset from mozilla-central to maple
...
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
73a287f0ea
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Jonathan Watt
00c7e687b5
Bug 734218 - nsChangeHint_RepaintFrame should only invalidate the bounds of SVG frames, not update them. r=dholbert.
2012-03-09 08:55:28 +00:00
Benoit Girard
a4a3883264
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Benoit Girard
7e6f558d70
Merge mc->Maple, resolved conflicts
2012-03-02 14:27:05 -05:00
Ehsan Akhgari
48cbc90d39
Test case for bug 667512; r=smontagu
2012-03-07 17:43:51 -05:00
Timothy Nikkel
8b6b9a88db
Bug 664707. Special case converting event coordinates when the frame is the root frame in the widget. r=matspal
...
This has the side benefit of making events work in transformed select dropdown popups and is the real reason for making the change.
2012-03-03 15:24:13 -06:00
Benoit Girard
76425a9557
Merge mc->maple
2012-03-01 10:44:44 -05:00
Chris Lord
d29e5b83d6
Bug 729534 - Semi-fix scroll layer retention. r=mats
...
When flattening the display list, the last child frame in a scroll layer is
used to retain the associated ThebesLayer. Instead, use the first child, which
tends to be more stable. This fixes retaining layers when scrolling through
engadget.com.
Fix by Robert O'Callahan <robert@ocallahan.org>
2012-02-29 17:01:50 +00:00
Kartikaya Gupta
45668a01d2
Merge m-c
2012-02-27 15:06:35 -05:00
Simon Montagu
ddfcd4253d
Treat <wbr> like ZERO WIDTH SPACE during bidi resoltion. Bug 729047, r=ehsan
2012-02-25 23:12:55 -08:00
Doug Turner
809efed1a1
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Jonathan Kew
c7fa86d451
bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
...
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Doug Turner
754c5d2cbb
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Rob Campbell
ab1e048072
merge fx-team to m-c
2012-02-22 12:47:22 -04:00
Brad Lassey
ec9c9696c3
bug 723597 - Spurious mouseover event fired on page load r=tn
...
--HG--
extra : rebase_source : b8c820b54dc41160451eb2c16e1cec32be046951
2012-03-12 19:30:40 -04:00
Bill McCloskey
536021f834
Bug 735014 - Wait longer for PAGE_HIDE GCs (r=smaug)
2012-03-12 16:25:03 -07:00
Nicholas Nethercote
f5e01f1737
Bug 729008 - Add memory reporter for FramePropertyTable. r=bz.
...
--HG--
extra : rebase_source : e366cd84d50b5277f9949b340d44190371e753f8
2012-02-20 21:02:24 -08:00
Timothy Nikkel
93fec03e76
Bug 664707. Followup. Use the right point for touch events. r=matspal
2012-03-06 09:58:36 -06:00
Brad Lassey
e5e9a2b04c
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Doug Turner
3f133bfdd1
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Marco Bonardo
b6fdf810ab
Merge last green PGO from inbound to central
2012-02-16 11:45:18 +01:00
Robert O'Callahan
7055dae549
Bug 727661. We should only optimize ThebesLayers to ColorLayers or ImageLayers for brand-new layers (ThebesLayers with no currently valid data). Otherwise we risk ColorLayers being a deoptimization if there is valid content in the layer that doesn't happen to be visible but might become visible later, or if the layer contents are only temporarily a solid color and will soon need a buffer again. r=tn
2012-02-16 17:17:20 +13:00
Robert O'Callahan
bc3719b007
Bug 727661. We should only optimize ThebesLayers to ColorLayers or ImageLayers for brand-new layers (ThebesLayers with no currently valid data). Otherwise we risk ColorLayers being a deoptimization if there is valid content in the layer that doesn't happen to be visible but might become visible later, or if the layer contents are only temporarily a solid color and will soon need a buffer again. r=tn
2012-02-16 17:17:20 +13:00
Serge Gautherie
fde4e8f784
Bug 718020. (Av1) test_bug583889.html: Delay "SimpleTest.finish()" call, Add missing 'yield' in bug583889_inner1.html, Add documentation. r=roc.
2012-02-15 21:43:46 +01:00
Matt Woodrow
8230830d11
Bug 721082 - Make perspective-origin relative to the parent elements border box. r=roc
2012-02-15 22:28:22 +13:00
Matt Woodrow
bf3a5c2649
Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc
2012-02-15 22:28:21 +13:00
Benoit Girard
465c0d7898
Make OMTC changes not effect desktop
2012-02-13 17:17:12 -05:00
Daniel Holbert
efab9b17ef
Bug 640443: Allow positioned display:-moz-box elements to be containers for absolutely-positioned content. r=bz
2012-03-10 14:49:10 -08:00
Boris Zbarsky
c2df5aab29
Bug 696301 part 1. Refactor CORS attribute handling a bit. r=sicking
2012-03-10 10:13:51 -06:00
Boris Zbarsky
a260fe3935
Bug 734406. Fix printing and print preview for <canvas> by checking for script-enabled on the original document, not on the printing document. r=tnikkel
2012-03-09 22:32:51 -06:00
Benoit Girard
2fd24c9367
Merge viewport with tip
2012-02-08 20:42:17 -05:00
Jared Wein
bcbb16588c
Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances.
2012-02-20 11:24:36 -05:00
Patrick Walton
50a40420d8
Temporary workaround for bug 681192 and bug 724786 (subpixel layer invalidation). Remove me later.
2012-02-07 22:21:38 -08:00
Nathan Froyd
68a79f10ae
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Mats Palmgren
ee071ce97a
Bug 717521 - Limit pre-rendering to max 4096 x 4096 pixels (post-transform) to avoid hang. r=tnikkel
2012-03-01 13:34:20 +01:00
Mats Palmgren
c5771580ff
Bug 727601 - "ASSERTION: Only transformed frames should have UpdateTransformLayer hint" with display:table. r=roc
2012-03-01 13:34:19 +01:00
Matt Woodrow
72f481f48f
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Simon Montagu
13b7185e53
Remove unnecessary test for next sibling. Bug 722137, r=roc
2012-01-30 11:05:28 -08:00
Simon Montagu
3e8a226cab
test for bug 722137, r=roc
2012-01-30 10:59:34 -08:00
Scott Johnson
e502bc9414
Bug 706198 - Disable font inflation on sites optimized for mobile to avoid strangely inflated text. [r=mbrubeck,dbaron]
...
--HG--
extra : rebase_source : 60d764b0a76ae87515a3e669ba76adc61926c862
2012-01-30 16:52:11 -06:00
Mats Palmgren
d9eb38a40b
Bug 706889 - reftest.
2012-01-30 18:48:46 +01:00
Robert O'Callahan
e18485abb6
Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats
2012-01-30 18:16:54 +13:00
Robert O'Callahan
557449288e
Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats
2012-01-28 16:36:23 +13:00
Phil Ringnalda
b6aa88fd9e
Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red
2012-01-27 20:31:29 -08:00
Robert O'Callahan
24159c1296
Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats
...
--HG--
extra : rebase_source : 113647a8bf8101b7c4d7058bd205be734f38125d
2012-01-28 16:36:49 +13:00
Robert O'Callahan
dfdede1830
Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats
...
--HG--
extra : rebase_source : f54afeed8d3d41d3e8f9118386e4a67cfac82a98
2012-01-28 16:36:23 +13:00
Mats Palmgren
dbad187e8c
Bug 719177 - Introduce NS_STYLE_HINT_UPDATE_OVERFLOW as a short-hand for nsChangeHint(nsChangeHint_RepaintFrame | nsChangeHint_UpdateOverflow). r=roc
2012-01-28 04:35:59 +01:00
Mats Palmgren
d79b04f5a7
Bug 719177 - Replace all NS_STYLE_HINT_VISUAL with nsChangeHint_RepaintFrame except for 'visibility' and 'z-index' which are the only ones that need SyncFrameView. r=roc
2012-01-28 04:35:58 +01:00
Mats Palmgren
ec07f40071
Bug 720987 - Don't use the existing overflow areas when calculating the new overflow areas after a style change. r=roc
2012-01-28 04:35:58 +01:00
Masayuki Nakano
89aab08c22
Bug 707859 part.2 Forget PresShell::mSynthMouseMoveEvent when drag session prevents to dispatch it r=smaug
2012-02-24 13:41:33 +09:00
Zack Weinberg
f4fb4a1991
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
2012-02-23 08:19:00 -08:00
Ed Morley
2564b11e39
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-22 22:20:54 +00:00
Simon Montagu
72285af510
Make elements with unicode-bidi: plaintext and no strong directional characters default to left-to-right. Bug 726420, r=ehsan
2012-02-22 00:30:32 -08:00
Daniel Holbert
e8608a3e43
Bug 728480: Wrap MOZ_TOUCH-specific code in #ifdefs, to prevent unused-function build warnings. r=wesj
2012-02-17 17:27:39 -08:00
Bill McCloskey
d15702e36f
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Jonathan Watt
571cebe9d0
Bug 727805 - Give aFactor in nsDisplayList.cpp a more meaningful name. r=mattwoodrow.
2012-02-17 06:08:33 +00:00
Daniel Levin
4f7befc144
Bug 710973 - Validate aYResolution in PresShell::SetResolution, don't validate aXResolution twice. r=tn
...
--HG--
extra : rebase_source : 995ad8ddd8edac814bc2bfb8dd3891430b8704cb
2012-02-16 14:29:05 +01:00
Aryeh Gregor
5023b099c7
Bug 724614 - 3D scaling makes text blurry. r=mattw
...
--HG--
rename : layout/reftests/transform-3d/preserve3d-1a.html => layout/reftests/transform-3d/preserve3d-5a.html
rename : layout/reftests/transform-3d/scale3d-2-ref.html => layout/reftests/transform-3d/scale3d-all-separate.html
2012-02-23 13:03:27 -05:00
Lazar Sumar
e55f832fac
Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron
2012-02-24 21:23:14 -08:00
Boris Zbarsky
11bec6d3bc
Bug 728516. Refactor frame construction for things that want to wrap kids in a block. r=roc
2012-02-21 18:01:40 -05:00
Boris Zbarsky
115115757e
Bug 728111. Fix the block inside foreignObject to really be the absolute containing block for its kids. r=roc
2012-02-21 18:01:40 -05:00
Ed Morley
88da8e9f34
Backout 5ba9a4f41128 (bug 724614) for OS X reftest failures
...
--HG--
rename : layout/reftests/transform-3d/scale3d-all-separate.html => layout/reftests/transform-3d/scale3d-2-ref.html
2012-02-21 13:53:11 +00:00
Aryeh Gregor
85063b1c4c
Bug 724614 - 3D scaling makes text blurry. r=mattw
...
--HG--
rename : layout/reftests/transform-3d/scale3d-2-ref.html => layout/reftests/transform-3d/scale3d-all-separate.html
2012-02-09 10:09:39 -05:00
Masayuki Nakano
a7583a7dcc
Bug 707859 PresShell shouldn't synthesize mousemove events during drag r=smaug
2012-02-21 12:19:18 +09:00
Zack Weinberg
55006e6a38
Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc
2012-02-20 15:19:48 -08:00
Jesse Ruderman
fe1bfcb339
Bug 728717 - Make the 'Some pres arena objects were not freed' assertion fatal. r=bz
2012-02-19 12:40:14 -08:00
Jonathan Watt
f4f67ef82f
Bug 416581, part 2 - Pay attention to the 'lang' attribute when fetching the user's font prefs for the CSS cascade. r=dbaron.
2012-01-25 23:52:26 +00:00
Daniel Holbert
9bf58346a3
Bug 728462: Remove declaration of no-longer-used 'GfxTextrunWordCacheMallocSizeOf'. r=jfkthame
2012-02-18 09:47:52 -08:00
Robert O'Callahan
fc290a25c3
Bug 724502. Ensure that UpdateTransformLayer and UpdateOpacityLayer change hints generate a new change list entry for every frame whose style asks for them. r=matspal
2012-02-08 11:52:59 +13:00
Robert O'Callahan
1bf1258f1d
Bug 722923. Part 1: Strip opacity/transform update hints when we recursively invalidate over our children. r=mats
2012-02-08 11:52:59 +13:00
Mats Palmgren
b6fc300953
Bug 724432 - Skip UpdateOverflow if we did Reflow. Don't propagate UpdateOverflow in ReResolveStyleContext. r=roc
2012-02-07 12:31:47 +01:00
Mats Palmgren
4912b653ef
merge backout
2012-02-07 12:31:30 +01:00
Mats Palmgren
10fd500a82
Backout bug 719177 (2cae7e5c62ae,07bd73451aa4,13739446fc8e,0246973f2513,f222fbece983,8f11aaac24dc). r=roc
2012-02-07 12:31:24 +01:00
Mats Palmgren
d120b07033
merge backout
2012-02-07 12:31:08 +01:00