Daniel Holbert
d3edf08d29
Bug 737313: Make nsCSSFrameConstructor::ConstructInline more robust when one of its child frames fails to construct. r=bz
2012-03-20 10:23:03 -07:00
Jonathan Watt
ce86671d1b
Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert.
2012-03-20 12:15:55 +00:00
Jonathan Watt
cfd1f311f8
Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr.
2012-03-20 12:15:53 +00:00
Mark Finkle
c5c1e891ea
Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android
2012-03-17 21:51:39 -04:00
Robert O'Callahan
68c600d6f9
Bug 735141. Clear imageContainer to indicate that we're not using that optimization. r=tnikkel
2012-03-19 20:26:39 +13:00
Mounir Lamouri
52ab7f4c5b
Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar
2012-03-14 19:14:53 +01:00
Simon Montagu
a2edafefab
Add a mParagraphDepth member to BidiParagraphData and cache it on frames to track nested bidi-isolated paragraphs. Use mParagraphDepth (* 2 + isRTL in order to keep LTR even and RTL odd) as the initial paragraph embedding level instead of pushing a stack of embedding codes. Pass the <bdi> frame instead of its first-child to BidiParagraphData::Reset and save a call to GetParent(). Split inline ancestors before and after bidi-isolated paragraphs, in the same way that we currently do between runs in different directions. This required also adding code to SplitInlineAncestors to handle situations where the parent frame is being split before its first child or after its last child. In JoinInlineAncestors, prevent frames that belong to paragraphs isolated from one another from being rejoined. Bug 712600, r=ehsan, roc
2012-01-11 21:26:02 +02:00
Boris Zbarsky
32ebb0eedf
Bug 537624. Don't set up undisplayed entries until we're sure we're creating frames from the relevant FrameConstructionItemList. r=roc
2012-03-19 18:22:02 -04:00
Wes Johnston
73b1812482
Bug 722965 - Remove MOZ_TOUCH ifdefs. r=smaug
2012-03-19 14:34:34 -07:00
Mounir Lamouri
573bc8fb91
Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar
2012-03-14 19:14:53 +01:00
Dão Gottwald
098b79e99e
Backed out changeset 2cd01fd07ce8
2012-03-19 12:54:32 +01:00
Adam Dane [:hobophobe]
395f2b3456
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
68a3a38d5b
Backed out changeset 0fe31dd7bbc5
2012-03-19 23:19:59 +13:00
Robert O'Callahan
8a4aad25f2
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
a3c1ab17a1
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
3886a3d46b
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
8d2d4e784c
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
62fb2dc162
Bug 725095 - Address Layout review comments. r=mats
2012-03-13 12:57:31 -04:00
Benoit Girard
188ca471f6
Merge mc->Maple
2012-03-13 11:05:28 -04:00
Boris Zbarsky
c90ce3bdca
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
d6d9350d3d
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
5de63bd68d
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Phil Ringnalda
b1d1a41987
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
77f35024de
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
06a9dc2781
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
8469637d0c
Bug 705877 part 5. Make style reresolution actually use ancestor filters. r=dbaron
2012-03-12 22:54:15 -05:00
Kartikaya Gupta
e0e1489efa
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
06826ece22
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
cc0282e9e5
Bug 732091 - Part 2: Add {set,get}IsFirstPaint to nsIDOMWindowUtils and nsIPresShell. r=ehsan
2012-03-12 11:50:11 -04:00
Kartikaya Gupta
137c73d9f6
Merge m-c to maple
2012-03-12 10:41:42 -04:00
Benoit Girard
5950b72a1a
Merge mc->maple
2012-03-09 18:16:26 -05:00
Benoit Girard
6d13bb7ab3
Merge mc->Maple
2012-03-08 10:22:42 -05:00
Mats Palmgren
66e9a4a3fe
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
479f0b2fb1
Merge mc->Maple
2012-03-07 11:10:45 -05:00
Benoit Girard
d3dd25a616
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
6345ad9c43
Restore merge changeset 39a3044823b0, regression fixed upstream in mc
2012-03-05 13:09:05 -05:00
Jonathan Watt
cd715e1ba0
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
02e577f6ff
Backed out changeset 39a3044823b0 because of bad interaction with maple.
2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037
Merge mc->Maple, resolved conflicts
2012-03-02 14:27:05 -05:00
Ehsan Akhgari
ff798fef5e
Test case for bug 667512; r=smontagu
2012-03-07 17:43:51 -05:00
Timothy Nikkel
ff961d36b5
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
3daa99ec38
Merge mc->maple
2012-03-01 10:44:44 -05:00
Chris Lord
24e85a9d10
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
bb76282045
Merge m-c
2012-02-27 15:06:35 -05:00
Simon Montagu
b1f39a7cfb
Treat <wbr> like ZERO WIDTH SPACE during bidi resoltion. Bug 729047, r=ehsan
2012-02-25 23:12:55 -08:00
Doug Turner
63f2081ca1
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Jonathan Kew
d4399166e5
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
476b362925
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Rob Campbell
eb749cad65
merge fx-team to m-c
2012-02-22 12:47:22 -04:00
Brad Lassey
e3e3efe902
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
d7a654d0c5
Bug 735014 - Wait longer for PAGE_HIDE GCs (r=smaug)
2012-03-12 16:25:03 -07:00
Nicholas Nethercote
4177b594d3
Bug 729008 - Add memory reporter for FramePropertyTable. r=bz.
...
--HG--
extra : rebase_source : e366cd84d50b5277f9949b340d44190371e753f8
2012-02-20 21:02:24 -08:00
Timothy Nikkel
ba1ac6d353
Bug 664707. Followup. Use the right point for touch events. r=matspal
2012-03-06 09:58:36 -06:00
Brad Lassey
34aa551009
merge from mozilla-central
2012-02-18 17:29:33 -05:00
Doug Turner
222fba130c
Merge with mozilla-central
2012-02-16 18:06:54 -08:00
Marco Bonardo
da48108f5b
Merge last green PGO from inbound to central
2012-02-16 11:45:18 +01:00
Robert O'Callahan
d7e856edfc
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
d937a55cdf
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
8b010944c3
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
cca8fbcca8
Bug 721082 - Make perspective-origin relative to the parent elements border box. r=roc
2012-02-15 22:28:22 +13:00
Matt Woodrow
6905e450dd
Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc
2012-02-15 22:28:21 +13:00
Benoit Girard
41f6ac08c7
Make OMTC changes not effect desktop
2012-02-13 17:17:12 -05:00
Daniel Holbert
204ed71c30
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
cc7f7d488e
Bug 696301 part 1. Refactor CORS attribute handling a bit. r=sicking
2012-03-10 10:13:51 -06:00
Boris Zbarsky
563434a254
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
beb2ae7df8
Merge viewport with tip
2012-02-08 20:42:17 -05:00
Jared Wein
1c58f1711c
Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances.
2012-02-20 11:24:36 -05:00
Patrick Walton
727090523b
Temporary workaround for bug 681192 and bug 724786 (subpixel layer invalidation). Remove me later.
2012-02-07 22:21:38 -08:00
Nathan Froyd
72e8d1d540
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Mats Palmgren
9faef84315
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
c3f6b14775
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
bf3005c3f4
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Simon Montagu
bcbbe9a509
Remove unnecessary test for next sibling. Bug 722137, r=roc
2012-01-30 11:05:28 -08:00
Simon Montagu
f90e5dabf3
test for bug 722137, r=roc
2012-01-30 10:59:34 -08:00
Scott Johnson
f1c74e3e8a
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
0d832e174e
Bug 706889 - reftest.
2012-01-30 18:48:46 +01:00
Robert O'Callahan
01d0e1b487
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
f4872369b6
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
124120bf61
Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red
2012-01-27 20:31:29 -08:00
Robert O'Callahan
e7fe111cd2
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
5cea7f8aa0
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
f61be142f3
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
e1cd471539
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
37be13d7c9
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
407199e3a7
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
15a9a210d0
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
2012-02-23 08:19:00 -08:00
Ed Morley
d3e7abd696
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-22 22:20:54 +00:00
Simon Montagu
2aa4cce792
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
678a7cf0f3
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
c6cd982f05
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Jonathan Watt
738cd09b8c
Bug 727805 - Give aFactor in nsDisplayList.cpp a more meaningful name. r=mattwoodrow.
2012-02-17 06:08:33 +00:00
Daniel Levin
826612158f
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
567854dcfc
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
da2c684917
Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron
2012-02-24 21:23:14 -08:00
Boris Zbarsky
11c8d77a1c
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
519881edb7
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
4616e748a8
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
dd0a23ced4
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
b18d48114e
Bug 707859 PresShell shouldn't synthesize mousemove events during drag r=smaug
2012-02-21 12:19:18 +09:00
Zack Weinberg
58cb765cfa
Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc
2012-02-20 15:19:48 -08:00