Граф коммитов

9702 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan f355313af4 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 e7f2947102 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 3791bfe358 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 81977febc5 Bug 721082 - Make perspective-origin relative to the parent elements border box. r=roc 2012-02-15 22:28:22 +13:00
Matt Woodrow 9830f5d3d3 Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc 2012-02-15 22:28:21 +13:00
Benoit Girard 9dbfe856f6 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Daniel Holbert e60d740557 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 ab22ea90b0 Bug 696301 part 1. Refactor CORS attribute handling a bit. r=sicking 2012-03-10 10:13:51 -06:00
Boris Zbarsky af87cb12df 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 c64be82706 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Jared Wein 58d374c050 Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances. 2012-02-20 11:24:36 -05:00
Patrick Walton 362804f0a4 Temporary workaround for bug 681192 and bug 724786 (subpixel layer invalidation). Remove me later. 2012-02-07 22:21:38 -08:00
Nathan Froyd ea83912b62 Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu 2012-02-29 10:57:47 -05:00
Mats Palmgren 0ed825c682 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 edfce0c2c5 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 5830977a25 Bug 700240 - Print display lists to a file. r=roc,bjacob 2012-03-01 21:26:09 +13:00
Simon Montagu e472ce3733 Remove unnecessary test for next sibling. Bug 722137, r=roc 2012-01-30 11:05:28 -08:00
Simon Montagu da112175f7 test for bug 722137, r=roc 2012-01-30 10:59:34 -08:00
Scott Johnson 7faffa3598 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 95bf27abfe Bug 706889 - reftest. 2012-01-30 18:48:46 +01:00
Robert O'Callahan 3605115590 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 8107318de6 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 a620ddc416 Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red 2012-01-27 20:31:29 -08:00
Robert O'Callahan 1ae239386d 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 7fb1809a4d 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 1cb6fcbe98 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 e5eaf7efff 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 a39f04df31 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 093b07841e 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 ba152ecb1a Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron 2012-02-23 08:19:00 -08:00
Ed Morley 1fff1817f2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-22 22:20:54 +00:00
Simon Montagu 26d5eff23e 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 f065c393ce 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 a09976bff0 Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Jonathan Watt 269515be6f Bug 727805 - Give aFactor in nsDisplayList.cpp a more meaningful name. r=mattwoodrow. 2012-02-17 06:08:33 +00:00
Daniel Levin 6337da5c24 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 2207e6145a 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 1370132438 Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron 2012-02-24 21:23:14 -08:00
Boris Zbarsky 1399d98d1e 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 92175e834d 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 fbee8408a8 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 aca5589ce2 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 758562607c Bug 707859 PresShell shouldn't synthesize mousemove events during drag r=smaug 2012-02-21 12:19:18 +09:00
Zack Weinberg 51393f583e Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Jesse Ruderman 4b56ca6ced 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 7913c74a83 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 2f2d237167 Bug 728462: Remove declaration of no-longer-used 'GfxTextrunWordCacheMallocSizeOf'. r=jfkthame 2012-02-18 09:47:52 -08:00
Robert O'Callahan 5014e65f28 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 7ce6904516 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 9b595b2de8 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 524d53aefd merge backout 2012-02-07 12:31:30 +01:00
Mats Palmgren 8fffb0a751 Backout bug 719177 (2cae7e5c62ae,07bd73451aa4,13739446fc8e,0246973f2513,f222fbece983,8f11aaac24dc). r=roc 2012-02-07 12:31:24 +01:00
Mats Palmgren 5ae7f1a909 merge backout 2012-02-07 12:31:08 +01:00
Mats Palmgren 4e0122edf9 Backout bug 722325 (a8b8c4489e4e). r=roc 2012-02-07 12:31:03 +01:00
Chris Lord b3f301bbc8 Bug 722325 - Revert bug 720987 for transformed frames. r=roc
The fix checked in for bug 720987 caused a major rendering regression with
native fennec. Revert it for transformed frames until the correct fix is found.
2012-02-01 08:50:24 +00:00
Bas Schouten bd42169468 Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Nicholas Nethercote 0194460b4f Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Nicholas Nethercote fb2f58d5b0 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Simon Montagu 3291f1c01c Recreate content when a deleted frame is the only child of a bidi continuation frame. Bug 718236, r=roc 2012-01-26 00:04:22 -08:00
Jon Buckley b4a5e5bbf8 Bug 682299 - Implement CORS support for the <video> tag. r=roc 2012-01-25 17:31:30 -05:00
Bill McCloskey a01aa6f6de Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8) 2012-01-25 10:59:55 -08:00
Ms2ger 52604a336b Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger 60f6c34d94 Bug 718170 - Part b: Use nsINode in IsVisTextNode; r=ehsan 2012-01-25 08:50:05 +01:00
Matt Woodrow a087a69f77 Bug 718809 - Use TransformBounds in TransformGfxRectToAncestor. r=roc 2012-01-23 14:07:37 +13:00
Scott Johnson 5be9b0763a Bug 705446: Disable font inflation for preformatted text. [r=dbaron] 2012-03-02 11:25:33 -06:00
Nicholas Nethercote 3aaea57987 Bug 730181 (part 1) - Merge the "dom+style" and "layout" memory reporter trees. r=khuey.
--HG--
extra : rebase_source : dabcf525d823639c5ff465c7a21de8ae533e82ff
2012-02-21 07:10:11 -08:00
Matt Woodrow a776a451b4 Bug 731777 - Correctly recompute overflow areas for frames with transform perspective applied. r=roc 2012-03-12 15:04:25 +13:00
Matt Woodrow c3ee40acec Bug 730166 - Mark frames with a hidden backface as transformed. r=roc 2012-03-12 15:03:29 +13:00
Nicholas Cameron 13cdb8bff5 Bug 718521 - Fix bug clipping to rounded rectangles for multiple objects. r=roc 2012-01-20 09:21:41 +13:00
Jeff Muizelaar c4546a4ef0 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
James Willcox 853b504257 Bug 707439 - Fix Flash plugin positioning
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Wes Johnston 5d85b5574a Bug 603008 - Platform support for multitouch events. r=smaug
* * *
Bug 603008 - Platform support for multitouch events.
* * *
ifdefandroid
2011-12-16 16:24:11 -08:00
Mats Palmgren ed105170bb Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc 2012-01-18 21:04:51 +01:00
Mats Palmgren b22a4aa663 Bug 524925 - Update the overflow for all the affected frames, not just the primary frame. And the ancestors of those. part=2/6 r=roc 2012-01-18 21:04:51 +01:00
L. David Baron 8c7db642c5 Make selects and things inside them not be containers for font size inflation, so that font inflation inflate selects appropriately along with what surrounds them. (Bug 706609, patch 8) r=roc 2012-01-24 17:21:29 -08:00
L. David Baron 2a5e64f028 Apply font size inflation to 'line-height: normal' by using the metrics of the inflated font rather than multiplying the inflation by the result for the uninflated font. (Bug 706609, patch 7) r=roc
This matters primarily because it makes font inflation easier to test by
avoiding rounding differences.  It fixes two existing tests that were
disabled and also makes it possible to test font inflation of selects
(since options have line-height: normal ! important in the UA style
sheet).
2012-01-24 17:21:29 -08:00
L. David Baron 3ab74c44b6 Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
L. David Baron eef6a557db Set inflation container to null during parts of intrinsic sizing that should not have inflation applied. (Bug 706609, patch 4) r=roc
This is the first of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron a882b048ce Set inflation container and width correctly during reflow. (Bug 706609, patch 3) r=roc
This is the second of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
L. David Baron ba1326f8c7 Add member variables to pres context to track, during reflow and intrinsic sizing, the current inflation container and its width. (Bug 706609, patch 2) r=roc
This is the first of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
L. David Baron e0f30ac18a Add a frame state bit for whether a frame is a container for font size inflation (Bug 706609, patch 1) r=roc
This moves the logic currently in
nsLayoutUtils::IsContainerForFontSizeInflation into frame initialization
so that we can (later, for bug 706193) make that logic more complicated.
2012-01-24 17:21:28 -08:00
Jonathan Watt f6b33b37f7 Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Benjamin Stover 7142e1a416 Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.

There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Serge Gautherie 4dfec4a5a9 Bug 718546. (Av1) bug389321-1.html: Use EventUtils sendChar() to send char, not sendKey(). r=ehsan. 2012-01-17 20:40:52 +01:00
Marco Bonardo 4cb6475ab0 Merge last green PGO changeset from inbound to central 2012-01-17 16:22:33 +01:00
Justin Wood 61509b1750 Merge last green PGO from inbound to mozilla-central 2012-01-16 22:27:53 -05:00
Serge Gautherie 631a620f1e Bug 717868. (Bv1) bug389321-1.html: Fix "Unknown key: VK_VK_BACK_SPACE". r=ehsan. 2012-01-16 20:15:59 +01:00
Simon Montagu 3e9552b5a9 Make continuations non-fluid when the end of a bidi paragraph is forced by a preformatted newline. Bug 698335, r=roc 2012-01-15 06:56:04 -08:00
Justin Wood 1789633390 Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Ms2ger b62660ef14 Bug 717371 - Don't use nsINode::GetChildAt in PresShell::GoToAnchor; r=bz 2012-01-15 09:13:12 +01:00
Serge Gautherie bf83f23d7f Bug 717868. (Av1) test_reftests_with_caret.html: Fix "SimpleTest.finish()" handling. r=ehsan. 2012-01-14 01:09:39 +01:00
Ed Morley 2537334d2c Merge mozilla-central to mozilla-inbound 2012-01-13 03:19:46 +00:00
Matt Brubeck 70a7860a7d Merge last green changeset from mozilla-inbound to mozilla-central 2012-01-12 08:22:14 -08:00
Jonathan Watt 15ad786cb8 Bug 715769 - Kill unused enums nsWidgetType and nsLanguageSpecificTransformType. r=bernd.mielke.
--HG--
extra : rebase_source : b01505b3dab86272ec998ad2cf853db2262a0e63
2012-01-16 21:35:16 +00:00
Kyle Huey e940423e6c Bug 703133: Flush layout data asynchronously on charset changes. r=bz 2012-01-11 21:58:44 +01:00
Boris Zbarsky ec4e4ed1e5 Bug 716793. Dispatch synthetic mousemove off the refresh driver, not as fast as we can. r=roc
We use Flush_Display here because mousemoves flush out layout, so we want to do the synthetic one after we've done our normal layout flushing
2012-01-10 00:23:29 -05:00
Nathan Froyd c40f7f7491 Bug 709971 - HTML reflow telemetry; r=bz 2012-01-10 15:08:43 -05:00
Robert O'Callahan 5bf4f76f83 Bug 713523. Part 2: Add SimplifyOutward for mVisibleAboveRegion and mDrawAboveRegion to avoid performance sinkholes when many layers are above a single ThebesLayer. r=tn 2012-01-12 00:26:33 +13:00
Robert O'Callahan d97e0d96d1 Bug 713532. Part 1: Suppress subpixel antialising in retained layers with an ancestor which has a non-integer-translation transform. r=tn 2012-01-12 00:26:33 +13:00
Simon Montagu b2f7ab6325 Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 19:52:21 +02:00
Ed Morley ac38698654 Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange 2012-01-12 15:33:00 +00:00
Simon Montagu d5512dd24e Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 16:29:20 +02:00
David Zbarsky 52afb07fb3 Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
Boris Zbarsky 2ceaeb679d Bug 598482 part 23. Set a backup timer to update plugin geometry if we don't manage to do any painting or layout flushes for a while. r=roc 2011-12-23 22:52:26 -05:00
Markus Stange 9a78503fea Bug 598482 part 20 - Rename Update to Invalidate; view updates are now always asynchronous. r=roc 2011-12-23 22:52:25 -05:00
Markus Stange 99ba4d63ac Bug 598482 part 19 - Remove unused aViewManager argument. r=roc 2011-12-23 22:52:24 -05:00
Boris Zbarsky 703f53d9da Bug 598482 part 16. When flushing layout, also flush out widget geometry changes. r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 2cc7db90ba Bug 598482 part 15 - Rename view update batches to refresh disable batches and only use them in the two places that can enter reflow (where synchronous painting is permitted). r=roc 2011-12-23 22:52:23 -05:00
Markus Stange 7a8ceb30a5 Bug 598482 part 11 - Set up a connection between the view manager and the refresh driver. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange 543a7ac751 Bug 598482 part 7 - Remove NS_VMREFRESH_* flags. NS_VMREFRESH_NO_SYNC is now the unchangable default. r=roc 2011-12-23 22:52:22 -05:00
Markus Stange cda59f704d Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc 2011-12-23 22:52:21 -05:00
Markus Stange c359272a22 Bug 598482 part 1 - Never force synchronous plugin geometry updates because it forces paints at bad times. r=roc 2011-12-23 22:52:20 -05:00
Boris Zbarsky 829160bc26 Back out rev 2a35bcdd7c1e (bug 716793) to fix orange tests 2012-01-10 02:00:17 -05:00
Boris Zbarsky e1b89da4ba Bug 716793. Dispatch synthetic mousemove off the refresh driver, not as fast as we can. r=roc
We use Flush_Display here because mousemoves flush out layout, so we want to do the synthetic one after we've done our normal layout flushing
2012-01-10 00:23:29 -05:00
Jignesh Kakadiya b10d9db26b Bug 704430 - Remove nsLayoutUtils::GetFrameFor. r=Ms2ger sr=roc 2012-01-09 10:56:04 +01:00
Patrick Walton 9dd68f16fd Bug 708746 - Part 1: Add an observer that allows us to determine when a new page is shown. r=bz 2012-01-06 16:42:42 -08:00
Kyle Huey 3c9d718b6a Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Marco Bonardo 26ef1707e4 Merge last green PGO from mozilla-inbound to mozilla-central 2012-01-06 13:22:51 +01:00
Neil Rashbrook 11f7babc50 Bug 714164 Restore some global window commands that were removed as part of bug 669026 because they appeared to be unused r=ehsan sr=roc 2012-01-05 21:33:41 +00:00
Bas Schouten cf4650c698 Bug 711063 - Part 7: Adjust Border rendering code for Azure-Thebes wrapper. r=roc 2012-01-05 08:17:52 +01:00
Jonathan Kew eb3ad81dbd bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
L. David Baron a501fbf143 Hold on to MediaQueryList objects that have listeners so that notification doesn't depend on GC timing. (Bug 716751) r=bzbarsky
Note:  This also fixes a crash (when notifications happen) from
calling mql.addListeners(null).

This also fixes test_media_query_list.html so that the initial set of
tests doesn't keep running through the later tests.

The test for the null-dereference has been confirmed to crash without
the patch and pass with the patch.

The test for the gc issue has been confirmed to fail without the patch
and pass with the patch.
2012-02-29 20:47:55 -08:00
David Bolter 70c5f45260 Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
layout-mentor: bz (mucho thanks!)

We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Ed Morley 4a4afe5617 Backout 547de632a3e2 (bug 495912) for mochitest-a11y orange 2012-02-29 18:42:58 +00:00
David Bolter 711ce9c45a Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
layout-mentor: bz (mucho thanks!)

We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Chris Lord 7e9629ff72 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 16:45:50 +00:00
Jonathan Kew adb5f5bb53 bug 721821 - make nsBidiPresUtils::WriteReverse aware of clusters, so that diacritics in RTL text display correctly in SVG text. r=smontagu 2012-02-28 21:24:04 +00:00
Chris Jones ae595ed94c Bug 724189: Add a little fuzz factor to the max pre-render size for transformed frames, in case the frame has borders or shadows. r=roc 2012-02-05 08:34:10 -08:00
Chris Jones 67afe02839 Bug 725580: Fluff out the bounds of pre-rendered nsDisplayTransforms to their visual overflow rect in order to avoid killing their dedicated layer mid-activity, when part of the frame isn't painted. r=roc 2012-02-09 01:39:30 -08:00
Matt Woodrow 4fa87ce1e2 Bug 722603 - Part 2: Use cached transform as much as possible (r=roc). 2012-02-14 01:12:49 -08:00
Matt Woodrow 034d58e13c Bug 722603 - Part 1: Use cached transform in nsDisplayTransform::GetBounds() (r=roc) 2012-02-14 01:11:31 -08:00
Mats Palmgren e91410ed43 Bug 725535 - "ASSERTION: Only transformed frames should have UpdateTransformLayer hint". r=roc 2012-02-12 22:21:50 +01:00
Phil Ringnalda ee062ce196 Back out 1cd8c9b40035 (bug 725376), df43cc1f72e1 (bug 725535), and 8a820e4ee7f6 (bug 726364) for reftest orange 2012-02-12 14:01:58 -08:00
Mats Palmgren eeec34f5b1 Bug 725535 - "ASSERTION: Only transformed frames should have UpdateTransformLayer hint". r=roc 2012-02-12 22:21:50 +01:00
Aryeh Gregor b3fe67f1c6 Bug 719446 - getComputedStyle().MozTransform shouldn't have "px" in it; r=roc 2012-02-10 21:04:59 +00:00
Aryeh Gregor fe20bb7e39 Bug 725426 - Incorrect getBoundingClientRect() for transform-style: flat. r=roc 2012-02-08 14:36:16 -05:00
Ed Morley 2c0231ae09 Merge mozilla-central to mozilla-inbound 2012-02-09 23:09:40 +00:00
Ed Morley 1091783b1b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-09 17:54:45 +00:00
Chris Lord 6c723a2340 Bug 722325 - Revert bug 720987 for transformed frames. r=roc
The fix checked in for bug 720987 caused a major rendering regression with
native fennec. Revert it for transformed frames until the correct fix is found.
2012-02-09 16:42:14 +01:00
Ed Morley a952ee5062 Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform 2012-02-09 12:06:50 +00:00
Mounir Lamouri bc56e5ee85 Bug 720799 - Don't use mDocShell in nsScreen. r=jst 2012-02-06 16:31:16 +01:00
Heather Arthur 92459e6267 Bug 708874 - API for locking pseudo-class state of an element. r=bz 2012-02-08 10:42:38 -08:00
Ehsan Akhgari 465fbccd52 Bug 699353 - Don't attempt to paint the caret if the offset for the frame is invalid; r=roc; r=roc 2012-01-26 16:40:25 -05:00
Ed Morley 4eeccb032f Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage 2012-02-09 16:42:07 +00:00
Mounir Lamouri 6958b84a5d Bug 720799 - Don't use mDocShell in nsScreen. r=jst 2012-02-06 16:31:16 +01:00
Ehsan Akhgari 634328ec4b Bug 691118 - Frames inserted into the frame manager should only be overflow containers, not true overflow containers; r=roc 2012-01-03 19:44:07 -05:00
Matt Woodrow 7f26d031c2 Bug 704469 - Use style context parent instead of frame parent when looking up perspective for 3d transforms. r=roc 2012-01-04 13:38:57 +13:00
Robert Longson 3c9facbbf1 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Patrick Walton b8dc71940b Backed out bug 709492 due to breakage with external urls. r=backout 2011-12-30 18:47:06 -05:00
Bobby Holley b02711bcfe Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Nicholas Nethercote f5076064af Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08:00
Patrick Walton 999455e431 Bug 709492 - Part 1: Add an observer that allows us to determine when a new page is shown. r=bz 2011-12-29 15:10:26 -08:00
Robert O'Callahan bec96e8d29 Bug 591718. Make getClientRects/getBoundingClientRect take transforms into account, and not treat SVG <foreignObject> as establishing a new viewport. r=mats 2011-12-28 16:26:46 +13:00
Robert O'Callahan 8a29fd912e Bug 591718. Make nsLayoutUtils::GetAllInFlowRectsUnion support taking transforms into account when converting coordinates. r=mats 2011-12-28 16:24:29 +13:00
Robert O'Callahan fda2a403ee Bug 591718. Part 1: rename some poorly-named methods, rework global-transform methods to avoid computing bounding-boxes more than once when there are are multiple transformed ancestors, make sure nsIFrame::GetTransformMatrix can stop at any desired ancestor. r=mats 2011-12-28 16:24:18 +13:00
Matt Brubeck 45c8fed2bf Merge mozilla-central and mozilla-inbound 2011-12-28 11:17:19 -08:00
Matt Brubeck c9c920026a Merge from mozilla-inbound to mozilla-central 2011-12-28 11:02:59 -08:00
L. David Baron 254dfa054e Fix font size inflation assertion when XUL is in native-anonymous content by making XUL always be a container for font size inflation. (Bug 708036) r=bzbarsky
--HG--
extra : transplant_source : %D9X%D4%25%01p%09%97%15%B6%83%B1%3A%F2H%C0P4.%19
2011-12-27 10:02:44 -05:00
Neil Deakin e2e4a1bf2b Bug 704758, assertion with null frame, handle ime events that get retargeted by getting the right frame, r=smaug 2011-12-23 14:21:09 -05:00
Phil Ringnalda 7ea92b9336 Back out dc7c7734ec7c, f793f9cfa72c, 10ea92a6a850 (bug 591718) for Android b-c orange in mobile/chrome/tests/browser_scrollbar.js 2011-12-27 20:34:08 -08:00
Robert O'Callahan 4d23dffeda Bug 591718. Make getClientRects/getBoundingClientRect take transforms into account, and not treat SVG <foreignObject> as establishing a new viewport. r=mats 2011-12-28 16:26:46 +13:00
Robert O'Callahan ef0ee2fbf6 Bug 591718. Make nsLayoutUtils::GetAllInFlowRectsUnion support taking transforms into account when converting coordinates. r=mats 2011-12-28 16:24:29 +13:00
Robert O'Callahan 50e2806f4d Bug 591718. Part 1: rename some poorly-named methods, rework global-transform methods to avoid computing bounding-boxes more than once when there are are multiple transformed ancestors, make sure nsIFrame::GetTransformMatrix can stop at any desired ancestor. r=mats 2011-12-28 16:24:18 +13:00
Mats Palmgren 3e85ab1da6 Bug 515530 - Remove nsHTMLContainerFrame. r=roc 2011-12-27 21:18:48 +01:00
Tatiana Meshkova 2735b43dda Bug 701190 - position:fixed items disappear due to wrong translation. r=roc 2011-11-09 14:47:23 -08:00
Scott Johnson 05e2a61287 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-25 23:25:59 -06:00
Neil Rashbrook d4e2d77080 Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan 2011-12-24 00:11:30 +00:00
William Chen 33aa313de3 Bug 497995: Part 2 - Update existing border-image tests. r=dbaron
--HG--
extra : rebase_source : b9fb3987c8540457fa1f7b3e27420f208207a9c0
2011-12-22 18:34:53 -05:00
William Chen 98851d1423 Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
--HG--
extra : rebase_source : 5a6cdac6a4b1353170f23f39dd2a209374e72531
2011-12-22 18:34:45 -05:00
Jeff Walden 58d5e1fb1b Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Boris Zbarsky 4b34d03fa6 Bug 302566. Show canvas fallback content when script is disabled. r=tnikkel 2011-12-21 16:50:39 -05:00
Nicholas Nethercote 67d30e3fdd Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron. 2011-12-19 19:46:39 -08:00
Scott Johnson 120393eb72 Bug 707855 - Clamp container size to device width to make font inflation less likely to cause problems on small screens. [r=dbaron] 2011-12-20 16:34:54 -06:00
Mats Palmgren 11e92a2e7b Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug 2011-12-20 10:15:41 +01:00
Scott Johnson 3345e7226c Backout changeset 602d2761e409. 2011-12-20 00:02:01 -06:00
Scott Johnson 576667aa18 Backout changeset 93f523345fb6. 2011-12-20 00:01:32 -06:00
Scott Johnson c1e845eb8b Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 23:11:54 -06:00
Scott Johnson 9205c0693b Bug 707855 - Clamp container size to device width to make font inflation less likely to cause problems on small screens. [r=dbaron] 2011-12-19 23:11:43 -06:00
Scott Johnson 9d7c9e00a9 Backed out ab701cac6af8. 2011-12-19 23:11:09 -06:00
Scott Johnson 7c6bfe3458 Backed out changeset 74555805376d 2011-12-19 23:08:52 -06:00
Scott Johnson de50ab48f4 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 22:25:19 -06:00
Scott Johnson f7d4d113f6 Bug 707855 - Clamp container size to device width to make font inflation less likely to cause problems on small screens. [r=dbaron] 2011-12-19 22:25:16 -06:00
Jonathan Watt 4b7c08f380 Bug 704706 - Fix crash @ nsSVGPathGeometryFrame::UpdateCoveredRegion. r=longsonr. 2011-12-13 17:50:30 +00:00
Robert O'Callahan afea314641 Bug 672013. Drawing an SVG image to a canvas need not clear its origin-clean flag. r=dholbert,sr=bzbarsky 2011-12-19 10:57:41 +13:00
Robert O'Callahan 922a18d342 Bug 702739. When a element has an active transform and the element's content (before being transformed) is no larger than the window, prerender its entire contents into layers when any of it is visible, so we don't have to rerender it and/or resize its layers as it moves into or out of view. r=mats 2011-12-19 10:57:35 +13:00
Jeff Walden ddd2253a84 Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Matt Brubeck 4413581467 Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Robert O'Callahan c309bbe223 Bug 672013. Drawing an SVG image to a canvas need not clear its origin-clean flag. r=dholbert,sr=bzbarsky 2011-12-18 21:47:20 +13:00
Robert O'Callahan 211c1cd0c2 Bug 702739. When a element has an active transform and the element's content (before being transformed) is no larger than the window, prerender its entire contents into layers when any of it is visible, so we don't have to rerender it and/or resize its layers as it moves into or out of view. r=mats 2011-12-18 21:46:44 +13:00
Matt Brubeck e37675c10d Merge mozilla-inbound and mozilla-central 2011-12-17 08:59:15 -08:00
Olli Pettay 54acc4941c Bug 711651, Clean up ResizeReflowIgnoreOverride, r=roc 2011-12-17 17:51:55 +02:00
Matthew Schranz 8a150aeaa8 Bug 334573 - Renamed all references of nsPLDOMEvent to nsAsyncDOMEvent. r=sicking
--HG--
rename : content/events/public/nsPLDOMEvent.h => content/events/public/nsAsyncDOMEvent.h
rename : content/events/src/nsPLDOMEvent.cpp => content/events/src/nsAsyncDOMEvent.cpp
2011-12-17 01:02:05 -05:00
Masayuki Nakano f585097414 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Daniel Holbert 4b75124f9e (no bug, comment-only) Fix header-comments in nsStyleConsts.h for 'direction', 'visibility', and 'pointer-events' (nsStyleConsts incorrectly listed them as living in nsStyleDisplay) 2011-12-15 16:27:05 -08:00
Brian O'Keefe 030639da08 Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Masatoshi Kimura 406be1fbd0 Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Boris Zbarsky e98f996b01 Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc 2011-12-14 23:42:15 -05:00
Boris Zbarsky f0b8cb60f5 Bug 709256 part 2. Short-circuit PresShell::ProcessReflowCommands when there aren't any. r=roc 2011-12-14 23:42:14 -05:00
Boris Zbarsky 03a0d52f21 Bug 709256 part 1. Fast-path RestyleTracker::ProcessRestyles when there aren't any restyles to process. r=roc 2011-12-14 23:42:14 -05:00
Ali Juma a2c4c94276 Bug 586863 - Eliminate #ifdef GFX_HAS_INVERT blocks since GFX_HAS_INVERT is never defined. r=dbaron 2011-12-09 14:18:05 -05:00