Commit Graph

3523 Commits

Author SHA1 Message Date
Matt Woodrow
8147ee2909 Bug 718809 - Use TransformBounds in TransformGfxRectToAncestor. r=roc 2012-01-23 14:07:37 +13:00
Nicholas Cameron
650a995230 Bug 718521 - Fix bug clipping to rounded rectangles for multiple objects. r=roc 2012-01-20 09:21:41 +13:00
Jeff Muizelaar
9c9e2eed37 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
f2a22733cd Bug 707439 - Fix Flash plugin positioning
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Wes Johnston
43680b21b4 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
9d52d983fd 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
a1873efda5 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
c7ac84126f 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
9e76faa89f 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
5eb8920348 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
185e4fa106 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
77cffa9ed9 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
82aef174b7 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
06fe8e9788 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
cb807222d1 Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Benjamin Stover
0a52de4032 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
6bfd083701 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
1b31e5f0a2 Merge last green PGO changeset from inbound to central 2012-01-17 16:22:33 +01:00
Justin Wood
b50ee39e04 Merge last green PGO from inbound to mozilla-central 2012-01-16 22:27:53 -05:00
Serge Gautherie
e59df39a13 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
1aba6081f6 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
94e66a942e Merge m-c tip to m-i 2012-01-15 05:29:24 -05:00
Ms2ger
bbddcb26cd Bug 717371 - Don't use nsINode::GetChildAt in PresShell::GoToAnchor; r=bz 2012-01-15 09:13:12 +01:00
Serge Gautherie
7df0dcdf8d Bug 717868. (Av1) test_reftests_with_caret.html: Fix "SimpleTest.finish()" handling. r=ehsan. 2012-01-14 01:09:39 +01:00
Ed Morley
329417cd35 Merge mozilla-central to mozilla-inbound 2012-01-13 03:19:46 +00:00
Matt Brubeck
ac8a7f3a3e Merge last green changeset from mozilla-inbound to mozilla-central 2012-01-12 08:22:14 -08:00
Jonathan Watt
7845be68a0 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
b641d37a45 Bug 703133: Flush layout data asynchronously on charset changes. r=bz 2012-01-11 21:58:44 +01:00
Boris Zbarsky
ffb5cb2050 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
63663b3f1f Bug 709971 - HTML reflow telemetry; r=bz 2012-01-10 15:08:43 -05:00
Robert O'Callahan
33f12d88bb 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
31c1e64fa9 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
7b2f366751 Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 19:52:21 +02:00
Ed Morley
097cd18f1b Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange 2012-01-12 15:33:00 +00:00
Simon Montagu
6d9e29e3e5 Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 16:29:20 +02:00
David Zbarsky
e96cf389ad Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
Boris Zbarsky
936b705187 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
76504f5eaa 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
a953a374e7 Bug 598482 part 19 - Remove unused aViewManager argument. r=roc 2011-12-23 22:52:24 -05:00
Boris Zbarsky
7cef46d7c3 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
28a839403a 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
7fe44fb651 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
cb70f28632 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
b976b6e46e Bug 598482 part 2 - Remove synchronous painting APIs from nsIViewManager. r=roc 2011-12-23 22:52:21 -05:00
Markus Stange
4c8d61f6e9 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
8f4f70bbf7 Back out rev 2a35bcdd7c1e (bug 716793) to fix orange tests 2012-01-10 02:00:17 -05:00
Boris Zbarsky
4dd8e4b2c1 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
1c33d2bb0a Bug 704430 - Remove nsLayoutUtils::GetFrameFor. r=Ms2ger sr=roc 2012-01-09 10:56:04 +01:00
Patrick Walton
c70a1f778b 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
9cc71b5f7f Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Marco Bonardo
7b580a337d Merge last green PGO from mozilla-inbound to mozilla-central 2012-01-06 13:22:51 +01:00
Neil Rashbrook
b0a7bafbb1 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
9069abd230 Bug 711063 - Part 7: Adjust Border rendering code for Azure-Thebes wrapper. r=roc 2012-01-05 08:17:52 +01:00
Jonathan Kew
dab5dd6132 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Ehsan Akhgari
9ad3976ebf 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
5fcb12fab0 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
d9086c4d00 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Patrick Walton
d075492ab2 Backed out bug 709492 due to breakage with external urls. r=backout 2011-12-30 18:47:06 -05:00
Bobby Holley
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Nicholas Nethercote
13e0ce90ef 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
a9412f2101 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
5d229c8d8e 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
df7702a586 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
0fb0f8bbd4 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
442a1b085f Merge mozilla-central and mozilla-inbound 2011-12-28 11:17:19 -08:00
Matt Brubeck
5ce45e1ce4 Merge from mozilla-inbound to mozilla-central 2011-12-28 11:02:59 -08:00
L. David Baron
35456e0260 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
6eba66365c 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
bd7a9e74d3 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
53ed69b654 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
1e7399c035 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
43c26f035d 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
9cc6cc3865 Bug 515530 - Remove nsHTMLContainerFrame. r=roc 2011-12-27 21:18:48 +01:00
Tatiana Meshkova
eddcbf6467 Bug 701190 - position:fixed items disappear due to wrong translation. r=roc 2011-11-09 14:47:23 -08:00
Scott Johnson
dac4193275 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-25 23:25:59 -06:00
Neil Rashbrook
5d0063889c Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan 2011-12-24 00:11:30 +00:00
William Chen
1528f2b910 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
1a42df4570 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
841701c767 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
6c2ea9adf4 Bug 302566. Show canvas fallback content when script is disabled. r=tnikkel 2011-12-21 16:50:39 -05:00
Nicholas Nethercote
56767a7167 Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron. 2011-12-19 19:46:39 -08:00
Scott Johnson
94027f5e40 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
1e2a52a8bd Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug 2011-12-20 10:15:41 +01:00
Scott Johnson
17397f2991 Backout changeset 602d2761e409. 2011-12-20 00:02:01 -06:00
Scott Johnson
0d2f6d6444 Backout changeset 93f523345fb6. 2011-12-20 00:01:32 -06:00
Scott Johnson
78a7cf00ef Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 23:11:54 -06:00
Scott Johnson
1e33d301f0 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
604f9257d2 Backed out ab701cac6af8. 2011-12-19 23:11:09 -06:00
Scott Johnson
0dc4e51af7 Backed out changeset 74555805376d 2011-12-19 23:08:52 -06:00
Scott Johnson
abf87cf7b9 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 22:25:19 -06:00
Scott Johnson
ae3ec51f9b 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
86253e7604 Bug 704706 - Fix crash @ nsSVGPathGeometryFrame::UpdateCoveredRegion. r=longsonr. 2011-12-13 17:50:30 +00:00
Robert O'Callahan
ce95ed0d7d 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
9324e765b3 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
a0ca3d8af2 Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Matt Brubeck
7d451f6bac Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Robert O'Callahan
dfdcd3935b 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
cfa4fb4af5 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
b2f8fd0039 Merge mozilla-inbound and mozilla-central 2011-12-17 08:59:15 -08:00
Olli Pettay
68aa3a2679 Bug 711651, Clean up ResizeReflowIgnoreOverride, r=roc 2011-12-17 17:51:55 +02:00
Matthew Schranz
91b4e4faac 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
d82ad83346 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
fe1b50f622 (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
1513850d8f 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
ef45bcacdc Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Boris Zbarsky
d3f867aa67 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
380dba6def 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
14524abb76 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
cb6329df99 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
Nicholas Nethercote
587382cea2 Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky 2011-12-08 21:01:52 -08:00
Nicholas Nethercote
688c469bc9 Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
Jeff Muizelaar
9c4d4fff06 Bug 707800. Add more sampler labels. r=bgirard 2011-12-02 17:05:33 -05:00
Simon Montagu
8e863ff64c Ensure that Reset is always called before using the subparagraph. Bug 707098, r=roc 2011-12-07 12:07:42 +02:00
Masayuki Nakano
5aaeb19ce0 backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Robert O'Callahan
5d77758ae9 Bug 708062. Root view bounds should not include viewport frame overflow area. r=tn 2011-12-08 17:17:42 +13:00
Masayuki Nakano
0cf8dbff4b Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Chris Lord
454facc7e1 Bug 706690 - CSS scaling is jagged while layers are active. r=roc
While layers are active, scale factors are normalized to a power of 2 to
reduce the number of resolution changes during animations. This patch disables
the normalization when the scale factor on the layer is unchanged, or when
the layer was previously unscaled.
2011-12-07 23:12:41 +00:00
Chris Pearce
c2405549e1 Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz 2011-12-07 10:59:39 +13:00
Boris Zbarsky
3687e2d7b5 Bug 704399. When doing the 'restrict background painting to the padding area' optimization, actually restrict it to padding area plus 1px on each side to deal with seams caused by curved borders better. r=roc 2011-11-23 12:59:51 -05:00
Robert O'Callahan
c92029c06f Bug 699351. Part 4: Fix test. r=tnikkel 2011-12-06 01:39:48 +13:00
Robert O'Callahan
854ef91454 Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky 2011-12-06 01:38:46 +13:00
Ms2ger
4879be0711 Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz 2011-12-03 22:50:16 +01:00
Phil Ringnalda
282a3bae29 Bug 683048 - Disable the too-mittently-failing bug602141-3.html on Windows 2011-11-30 00:24:59 -08:00
Justin Lebar
02f303732b Back out revs d445f83ecfb1:dc9cc326cad0, because they did not back out what was intended. 2011-12-01 16:35:42 -05:00
Justin Lebar
79b6477d6c Backed out changeset 5d920a44a901 (bug 698002) 2011-12-01 15:43:07 -05:00
Timothy Nikkel
5bdb38faca Bug 668437. Part 4. Add an API to widgets for resizing/moving the client area. r=jimm sr=roc 2011-12-01 13:56:42 -06:00
Brad Lassey
8d2f605b6d Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange 2011-11-30 22:59:00 -05:00
Robert O'Callahan
a86c192475 Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky 2011-11-30 21:14:26 -05:00
Chris Pearce
b8bdf0f165 Bug 704709 - Don't show full-screen warning on media key press on Windows. r=smaug,jmathies 2011-12-01 11:27:14 +13:00
Chris Pearce
470451a61f Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz 2011-11-30 11:00:31 +13:00
Boris Zbarsky
54a511fc76 Bug 704171 part 2. Remove the no-argument form of mozRequestAnimationFrame. r=roc 2011-11-28 07:49:53 -05:00
Boris Zbarsky
3b713f03ab Bug 704171 part 1. Stop using the no-argument form of mozRequestAnimationFrame in our chrome. r=roc,gavin 2011-11-28 07:49:44 -05:00
Boris Zbarsky
d14b17243a Bug 704175 part 2. Rename nsIAnimationFrameListener to nsIFrameRequestCallback. r=roc
--HG--
rename : dom/interfaces/base/nsIAnimationFrameListener.idl => dom/interfaces/base/nsIFrameRequestCallback.idl
2011-11-28 07:48:30 -05:00
Boris Zbarsky
7ce46a360c Bug 704175 part 1. Rename onBeforePaint to sample for animation frame callbacks. r=roc 2011-11-28 07:48:27 -05:00
Nicholas Nethercote
f102556f32 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Simon Montagu
a411d41922 Test for next-continuations before doing bidi resolution. Bug 704837, r=roc 2011-11-24 16:16:42 +02:00
L. David Baron
5ef7f84c99 Add reftest harness for testing font inflation and add reftests for basic features. (Bug 627842, patch 16) r=roc 2011-11-23 18:48:24 -08:00
L. David Baron
abb8d1c39a Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets):  see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
L. David Baron
b4141b61eb Apply font size inflation to list bullets. (Bug 627842, patch 13) r=roc
Note that this doesn't do anything about the indentation of the list, so
for large inflation there may end up being overlap as a result.
2011-11-23 18:48:23 -08:00
L. David Baron
2ca5929d4e Apply font size inflation to text. (Bug 627842, patch 9) r=roc
This applies the font size inflation to reflow and painting of text
frames.  However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-23 18:48:23 -08:00
L. David Baron
96482a27d1 Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
3917f9c2e1 Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc
This implements computation of the font size inflation factor for a
given frame.  Since Fennec does layout using a fake viewport whose width
represents a typical viewport width on the desktop and then allows users
to pan and zoom, fonts are not always readable even when zoomed.  The
goal of this font size inflation is to ensure that when a block of text
is zoomed to fill the width of the device, the fonts are large enough to
read.  We do this by increasing the font sizes in the page.  Since this
increase is a function of the width of the text's container, the
inflation must be performed (in later patches in this series) after
style data computation and after intrinsic width computation.

The font size inflation factor does not vary *within* a block.

Since sync uses a whitelist (the services.sync.prefs.sync.* prefs) for
preferences (i.e., preferences are not synced by default), this patch
does not make any changes relating to sync, since we do not want the
inflation preferences synced across devices (since preferred settings
are likely to be device-specific).
2011-11-23 18:48:23 -08:00
L. David Baron
98751dedcb Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property).  It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Robert Longson
581866451b Bug 696078 - Move filter attribute processing to frame classes. r=jwatt
--HG--
rename : layout/svg/base/src/nsSVGLeafFrame.cpp => layout/svg/base/src/SVGFELeafFrame.cpp
extra : rebase_source : 74ac4d84da2f0a99272e83590a9adc1dc8511fce
2011-11-19 17:53:52 +00:00
Scott Johnson
f94ea8a6d9 Bug 702897 - Restore previous destruction functionality for nsImageLoader to prevent crash. r=roc
--HG--
extra : rebase_source : 43400960ee00d3d66a8c5c5c3e46024fadd3cb55
2011-11-21 12:07:05 -06:00
Neil Deakin
355968e2b9 Bug 703260, part 3, remove nsIViewObserver, r=mats 2011-11-21 12:53:20 -05:00
Neil Deakin
e40bc148fb Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc 2011-11-21 12:53:20 -05:00
Boris Zbarsky
d0d2a67736 Fix logging message to reflect reality. Followup to bug 703197 2011-11-20 11:09:25 +13:00
Ed Morley
c6c66f07cf Backout 9786b28d116e & 08b07098228a (bug 701190) for permaorange reftest on Win7; a=romaxa 2011-11-18 21:59:29 +00:00
Ehsan Akhgari
abf9372815 Bug 682712 - Set the correct selection type when initializing the selection in editable content; r=roc 2011-11-18 16:47:40 -05:00