Benoit Girard
b18a77e427
Merge viewport with tip
2012-02-08 20:42:17 -05:00
Jared Wein
43f524eb6a
Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances.
2012-02-20 11:24:36 -05:00
Patrick Walton
9bab740a07
Force the creation of an nsDisplayScrollLayer if a displayport was set on a scroll frame
2012-02-07 22:32:21 -08:00
Nathan Froyd
7adb7a65ea
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Bas Schouten
584c87e1e0
Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc
2012-02-16 04:26:19 +01:00
Matt Woodrow
6ec8203d33
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Matt Woodrow
25747d1d89
Bug 731858 - Add index numbers to nsDisplayTextOverflow so that they are unique for a given frame. r=mats
2012-03-01 21:26:09 +13:00
Simon Montagu
6091adf028
Use GetGeneralCategory in IsPunctuationMark instead of the precompiled ccmap. Bug 731222, r=jfkthame
2012-03-01 00:17:27 -08:00
Tim Taubert
e259a2d456
merge m-c to fx-team
2012-01-31 14:45:13 +01:00
Jared Wein
e7ae7fed94
Bug 710373 - Pressing the vertical slider down arrow should move three lines instead of one. r=roc
2012-01-31 12:04:35 +01:00
Robert O'Callahan
1f8d8e9fb6
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
Daniel Holbert
dc37468a6d
Bug 722510: Remove unused argument from nsBlockFrame::DrainOverflowLines. r=roc
2012-01-30 15:35:03 -08:00
Phil Ringnalda
f7620ea904
Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red
2012-01-27 20:31:29 -08:00
Robert O'Callahan
b8fdaacc86
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
Mats Palmgren
96ddce8640
Bug 672944 - Setup overflow areas for the scrolled block frame in a XUL scroll frame for the benefit of text-overflow; Make the text-overflow code grok the extra wrapper frame in this case. r=roc
2012-01-28 04:35:59 +01:00
Boris Zbarsky
09ef3c30b3
Bug 729143. Don't treat table rows as containing blocks. r=dbaron
2012-02-23 23:35:19 -05:00
Aryeh Gregor
8ea82697ee
Bug 719503 - selection.deleteFromDocument() throws for collapsed selection; r=ehsan
2012-02-22 10:38:25 -05:00
Ed Morley
04577d02d6
Merge mozilla-central to mozilla-inbound
2012-02-23 01:03:16 +00:00
Mats Palmgren
41493a7bf6
Bug 726258 - Don't suppress the scrollbar because of a too small size in the scollbar minor direction. r=bz
2012-02-22 17:23:47 +01:00
Mats Palmgren
0ac9e5026b
Bug 725376 - Don't do column balancing deeper than 2 nested levels to avoid hang. r=roc
2012-02-18 02:34:21 +01:00
Mats Palmgren
4c055246ea
Bug 728255 - Replace nsLineBox::LastChild() calls with O(1) equivalents where possible. r=bz
2012-02-18 02:34:20 +01:00
Alexander Surkov
3d3d98dafc
Bug 677154 - fix a typo
2012-02-18 02:51:29 +09:00
Alexander Surkov
6748e49919
Bug 677154 - Detached document accessibility tree, r=bz, marcoz
2012-02-18 02:38:43 +09:00
Josh Aas
dc0c9f0628
Bug 724717: Fix crash at nsPluginInstanceOwner::CARefresh. r=benwa
2012-02-16 21:27:37 -05:00
Aryeh Gregor
ac56e5e0b6
Bug 722463 - Transforms should not work on non-replaced inline elements. r=roc
2012-02-14 15:33:06 -05:00
Nathan Froyd
486f2eecb5
Bug 700659 - Slay nsHashSets in layout. r=dbaron
2011-11-08 15:24:37 -05:00
Simon Montagu
44aabada8f
Mark the last line in the block dirty when text-align-last resolves to something other than left. Bug 726392, r=dbaron
2012-02-20 08:49:44 -08:00
Jonathan Watt
b84e0cbe12
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
Chris Lord
37426c75dd
Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=roc
...
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.
2012-02-17 23:41:13 +00:00
Ed Morley
051b38fe95
Backout 9062b3e04318 (bug 718516) for reftest failures
2012-02-08 00:56:56 +00:00
Scott Johnson
453750958f
Bug 718516: Remove call to FinishReflowWithAbsoluteFrames until nsColumnSetFrame is fully implemented as an absolute container. [r=ehsan]
2012-02-07 17:21:48 -06:00
Nicholas Nethercote
dd32d38d63
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
3f5de025f0
Bug 710521 - Refactor gfxFont to separate out drawing stroke and drawing to path. r=roc
2012-01-26 13:11:18 +01:00
Jonathan Watt
7024204d0f
Bug 731959 - Display list support for the 'clip' property in SVG means referring to "AbsPos" clip is misleading. r=bz.
2012-03-02 08:28:56 +00:00
Matt Woodrow
28e71e1f9a
Bug 731777 - Correctly recompute overflow areas for frames with transform perspective applied. r=roc
2012-03-12 15:04:25 +13:00
L. David Baron
3c6538e862
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
411a77c90f
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
67a0afcf6e
Honor inflation during intrinsic width computation when needed. (Bug 706609, patch 6) r=roc
...
This is the second 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
d789ef0b1b
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
ba70aee5a1
Set inflation container to null during ComputeSize calls for inflation containers, when we should not have inflation applied. (Bug 706609, patch 4.5) r=roc
2012-01-24 17:21:29 -08:00
L. David Baron
0ce777d92e
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
58d3dd0576
Make floating :first-letter frames not be containers for font size inflation, to avoid triggering assertions. (Bug 706609, patch 3.5) r=roc
2012-01-24 17:21:28 -08:00
L. David Baron
5f13418d9a
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
a2396850d4
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
9fb3c8bb9f
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Phil Ringnalda
1a2cd6d9e8
Bug 718564 - adjust crashtest assertion ranges to reflect reality part two, the forgetting of one
2012-01-18 22:47:08 -08:00
Phil Ringnalda
dc05fd6f9b
Bug 718564 - adjust crashtest assertion ranges to reflect reality
...
--HG--
extra : rebase_source : 3ae657663239f3382d5163170c0a098e0c78ed69
2012-01-18 21:52:43 -08:00
Jeff Muizelaar
a47ca866d2
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
Timothy Nikkel
26a00fb960
Bug 675015. Wait until scrolling is complete to dispatch synthetic mouse moves. r=roc
2012-01-18 22:13:02 -06:00
James Willcox
8f71c6ffa1
Bug 707439 - Fix Flash plugin positioning
...
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Chris Lord
f52e536a07
Bug 524925 - Reftest that checks whether dynamic transform changes result in the correct scrollable overflow being propagated through parent frames. part=6/6 r=dbaron
2012-01-18 21:04:51 +01:00
Mats Palmgren
2a48071cb7
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
Benjamin Stover
a371dc7830
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
Matt Brubeck
b79b1e58d3
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
315982723f
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
Marco Bonardo
61916233e6
Merge last green PGO changeset from inbound to central
2012-01-17 16:22:33 +01:00
Tim Taubert
dc0feeb24e
merge m-c to fx-team
2012-01-16 11:20:19 +01:00
Jared Wein
843a61d98d
Bug 198964 - Enable smooth scrolling by default. r=gavin
2012-01-13 16:26:34 -08:00
Josh Matthews
93a2adcf34
Bug 454790 - Allow programmatic selection of -moz-user-select: none frames. r=roc
2012-01-12 15:59:19 -05:00
Simon Montagu
3ca7ecdbcb
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 19:52:21 +02:00
Ed Morley
2099bb7e42
Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange
2012-01-12 15:33:00 +00:00
Simon Montagu
dec2df3fe1
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 16:29:20 +02:00
Ehsan Akhgari
545286c408
Bug 171237 - Part 2: Correct the calls to ScrollIntoView which were not updated as part of bug 605138; r=roc
2012-01-11 20:19:19 -05:00
Ehsan Akhgari
18f246bc79
Bug 171237 - Center the search results instead of scrolling only enough to show them in order to provide more visual context; r=roc
2012-01-11 20:18:23 -05:00
David Zbarsky
785e84c27d
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
Markus Stange
eb399a7302
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
d13d62c3a3
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
Jonathan Kew
c1c93594ee
bug 715471 - use fallible allocation for potentially large buffers in nsTextFrameThebes.cpp. r=roc
2012-01-14 22:19:51 +00:00
Ed Morley
cfb250c0d7
Backout 148044813372 (bug 715471) for multiple test failures
2012-01-13 11:26:13 +00:00
Jonathan Kew
896e762f5e
bug 715471 - use fallible allocation for potentially large buffers in nsTextFrameThebes.cpp. r=roc
2012-01-13 10:35:02 +00:00
Olli Pettay
0175dba70a
Bug 714162 - Don't traverse certainly alive selections, additional patch, r=mccr8
2012-01-06 21:08:08 +02:00
Kyle Huey
3a27625aad
Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc
2012-01-06 07:32:38 -05:00
Jonathan Kew
2097fc88d4
bug 703100 - pt 6 - remove pango-specific todo()s in test_backspace_delete, now that it passes on all platforms. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
6e85485e5c
bug 703100 - pt 5 - optimize allocation of gfxTextRun objects to avoid separate allocation for CompressedGlyph records. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
1bf3af6cfe
bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
f702c54c74
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Jeff Muizelaar
b01d65c558
Bug 715232. Add some more MOZ_FINAL. r=joe
...
--HG--
extra : rebase_source : 1d4bf4c624dbbfd77b3a80f88478a87fa5df9506
2012-01-03 13:38:10 -05:00
David Bolter
38d7fde319
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
d9eda11faf
Backout 547de632a3e2 (bug 495912) for mochitest-a11y orange
2012-02-29 18:42:58 +00:00
David Bolter
28fe167db3
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
Timothy Nikkel
997c3fe22a
Bug 714346. Part 2. When we create the display clip item that contains a subdocument we use the prescontext of the child document to snap the clip's bounds. This is wrong when the parent and child documents don't have the same app units per dev pixel ratio. Leave the presshell before creating the clip item. r=mats
2012-02-28 23:53:52 -06:00
Timothy Nikkel
80ae2df9e6
Bug 714346. Part 1. Make some code stop checking useless return values because it makes the control flow more complicated then needed. r=mats
2012-02-28 23:53:37 -06:00
Robert O'Callahan
3c929bbc5d
Bug 724189. Don't invalidate entire frame when the frame has shadows or effects and the post-transform overflow area changes. r=mats
2012-02-05 21:14:00 -08:00
Mats Palmgren
3b7a577cde
Bug 725376 - Don't do column balancing deeper than 5 nested levels to avoid hang. r=roc
2012-02-12 22:21:51 +01:00
Phil Ringnalda
e66d5e8494
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
80cecffade
Bug 725376 - Don't do column balancing deeper than 5 nested levels to avoid hang. r=roc
2012-02-12 22:21:51 +01:00
Scott Johnson
0a202e6b66
Bug 718516: Replace call of FinishReflowWithAbsoluteFrames() with FinishAndStoreOverflow() for nsColumnSetFrame to prevent crash. [r=ehsan]
2012-02-10 11:06:23 -06:00
Bas Schouten
99fd260eb0
Bug 724886: Push images from plugin code instead of pulling from nsObjectFrame. r=roc
2012-02-08 16:34:27 +01:00
L. David Baron
714e0a8683
Weaken the quirks mode inline box model zeroing-of-containers when those containers have children that are vertical-align: top or bottom, so that it's a little more like when they have children with other values of vertical-align (except that it's an approximation). (Bug 714519) r=roc
...
--HG--
extra : transplant_source : %1B%A2%1A%2Cb%7BcS%C9%5Et%F8%F16%E3%1A%12%D67%15
2012-01-01 17:35:12 -05:00
Ehsan Akhgari
0382216924
Bug 713856 - Dynamic change of DOM in lists before block element creates blank line; r=roc
2011-12-30 17:22:47 -05:00
Bobby Holley
4b6add2c77
Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz
2011-12-30 09:35:38 -08:00
Ms2ger
b5c39750d9
Merge m-c to m-i.
2011-12-30 12:17:22 +01:00
Olli Pettay
568ce4a0b1
Bug 714162 - Don't traverse certainly alive selections, r=mccr8
2011-12-30 12:47:23 +02:00
Nicholas Nethercote
da987c9b3a
Bug 711895 - Tweak the warning options used for GCC builds. r=waldo, derf.
...
--HG--
extra : rebase_source : bbe982c5feceac25fb4c0ccd03ced3a874205c38
2011-12-28 19:59:19 -08:00
Phil Ringnalda
90f2a086a4
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
ed9045b960
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
Robert O'Callahan
755acd5237
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
ecaac9ba30
Bug 515530 - Remove nsHTMLContainerFrame. r=roc
2011-12-27 21:18:48 +01:00
Scott Johnson
31e988481d
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-25 23:25:59 -06:00
Ms2ger
1ea34290d5
Bug 709509 - Remove manual refcounting and QIing from nsBulletFrame::DidSetStyleContext; r=dbaron
2011-12-24 09:28:23 +01:00