Commit Graph

3546 Commits

Author SHA1 Message Date
Mats Palmgren
9e2989826f 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
9962f6b70f Bug 728255 - Replace nsLineBox::LastChild() calls with O(1) equivalents where possible. r=bz 2012-02-18 02:34:20 +01:00
Alexander Surkov
b34485ff9f Bug 677154 - fix a typo 2012-02-18 02:51:29 +09:00
Alexander Surkov
b79d3bc706 Bug 677154 - Detached document accessibility tree, r=bz, marcoz 2012-02-18 02:38:43 +09:00
Josh Aas
5fbfe94a5b Bug 724717: Fix crash at nsPluginInstanceOwner::CARefresh. r=benwa 2012-02-16 21:27:37 -05:00
Aryeh Gregor
3e409df529 Bug 722463 - Transforms should not work on non-replaced inline elements. r=roc 2012-02-14 15:33:06 -05:00
Nathan Froyd
f91f1654b1 Bug 700659 - Slay nsHashSets in layout. r=dbaron 2011-11-08 15:24:37 -05:00
Simon Montagu
7c322ee91d 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
8178523710 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
5215455da7 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
b9befea8b7 Backout 9062b3e04318 (bug 718516) for reftest failures 2012-02-08 00:56:56 +00:00
Scott Johnson
644bab262b 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
a7ad4ef70e Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Edwin Flores
0855766ec9 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
2034ac9bbc 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
49bb21ce6d 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
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
21e38c2e03 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
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
a7425ba7e8 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
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
235614aca3 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
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
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
Phil Ringnalda
323c5e6832 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
0722485a33 Bug 718564 - adjust crashtest assertion ranges to reflect reality
--HG--
extra : rebase_source : 3ae657663239f3382d5163170c0a098e0c78ed69
2012-01-18 21:52:43 -08: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
Timothy Nikkel
381f828353 Bug 675015. Wait until scrolling is complete to dispatch synthetic mouse moves. r=roc 2012-01-18 22:13:02 -06:00
James Willcox
f2a22733cd Bug 707439 - Fix Flash plugin positioning
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Chris Lord
7d51a9632f 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
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
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
Matt Brubeck
2e1e2ae3c5 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157 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
1b31e5f0a2 Merge last green PGO changeset from inbound to central 2012-01-17 16:22:33 +01:00
Tim Taubert
d798b882da merge m-c to fx-team 2012-01-16 11:20:19 +01:00
Jared Wein
3a800a6051 Bug 198964 - Enable smooth scrolling by default. r=gavin 2012-01-13 16:26:34 -08:00
Josh Matthews
eda4983660 Bug 454790 - Allow programmatic selection of -moz-user-select: none frames. r=roc 2012-01-12 15:59:19 -05: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
Ehsan Akhgari
e2811ba7bb 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
b07d71747a 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
e96cf389ad Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01: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
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
Jonathan Kew
7f4e013606 bug 715471 - use fallible allocation for potentially large buffers in nsTextFrameThebes.cpp. r=roc 2012-01-14 22:19:51 +00:00
Ed Morley
187a7dbe69 Backout 148044813372 (bug 715471) for multiple test failures 2012-01-13 11:26:13 +00:00
Jonathan Kew
42238d3ff0 bug 715471 - use fallible allocation for potentially large buffers in nsTextFrameThebes.cpp. r=roc 2012-01-13 10:35:02 +00:00
Olli Pettay
5badfe6a05 Bug 714162 - Don't traverse certainly alive selections, additional patch, r=mccr8 2012-01-06 21:08:08 +02:00
Kyle Huey
9cc71b5f7f Bug 714752: Make imgIContainerObserver::FrameChanged take an imgIRequest*. r=joe sr=roc 2012-01-06 07:32:38 -05:00
Jonathan Kew
82991c5b76 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
174cf9e76f 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
d5a2294830 bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
dab5dd6132 bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc 2011-12-06 12:39:18 +00:00
Jeff Muizelaar
dfce004451 Bug 715232. Add some more MOZ_FINAL. r=joe
--HG--
extra : rebase_source : 1d4bf4c624dbbfd77b3a80f88478a87fa5df9506
2012-01-03 13:38:10 -05:00
David Bolter
818e8285ce 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
345eafc0b0 Backout 547de632a3e2 (bug 495912) for mochitest-a11y orange 2012-02-29 18:42:58 +00:00
David Bolter
01c1492892 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
b2533d0dc1 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
7465ab46a9 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
459583e2ac 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
18a57f69e7 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
fe5618201e 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
2fd1364623 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
bf84d0626a 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
b0ee08da26 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
019c7867fd 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
9251f03e14 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
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Ms2ger
a9fa22ee9c Merge m-c to m-i. 2011-12-30 12:17:22 +01:00
Olli Pettay
c19a3e22f7 Bug 714162 - Don't traverse certainly alive selections, r=mccr8 2011-12-30 12:47:23 +02:00
Nicholas Nethercote
cc36bb0b51 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
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
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
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
Mats Palmgren
9cc6cc3865 Bug 515530 - Remove nsHTMLContainerFrame. r=roc 2011-12-27 21:18:48 +01: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
Ms2ger
294b93eff9 Bug 709509 - Remove manual refcounting and QIing from nsBulletFrame::DidSetStyleContext; r=dbaron 2011-12-24 09:28:23 +01:00
Mats Palmgren
d1a1e5d593 Bug 712937 - Null-check aRange. r=bzbarsky 2011-12-24 05:08:23 +01: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
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
Kyle Huey
535386a8e6 Back out Bug 711895 for breaking l10n builds. 2011-12-29 15:45:51 -05:00
Jesse Ruderman
3dd98178b8 Bug 713610 - Crash test. 2011-12-29 14:21:00 +01:00
Mats Palmgren
8e4c82ae60 Bug 713610 - For a marker that is inactive we should guess false. r=roc 2011-12-29 14:21:00 +01:00
Jesse Ruderman
113f97bcb9 Bug 700031 - Crash test. 2011-12-29 14:21:00 +01:00
Mats Palmgren
ba9ba86587 Bug 700031 - "ASSERTION: Can only call this on frames that have been reflowed" with too-deep frame tree. r=roc 2011-12-29 14:21:00 +01:00
Jeff Walden
f16def0c00 Bug 704687 - Mark final classes as MOZ_FINAL, now that nsDerivedSafe no longer exists again. r=dbaron
--HG--
extra : rebase_source : f6a25c06275e4fbb2e69462118f242d380bdce03
2011-12-19 13:48:15 -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
Nicholas Nethercote
56767a7167 Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron. 2011-12-19 19:46:39 -08:00
Robert O'Callahan
fb6541792a Bug 697215. CanScrollWithBitBlit needs to return true for scrollframes inside replaced elements (i.e., iframes) that are honoring border-radius. r=mats 2011-12-20 14:31:20 +13:00
Markus Stange
105bef8583 Bug 636564 - Make scroll frames deal correctly with scrollbars that overlay content. r=roc 2011-12-20 13:30:14 +01: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
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
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
Robert O'Callahan
f0e8959d30 Backed out changeset 4a81c89bb466 for bug 697215 2011-12-20 16:03:45 +13:00
Robert O'Callahan
4cc46e0f9f Bug 697215. CanScrollWithBitBlit needs to return true for scrollframes inside replaced elements (i.e., iframes) that are honoring border-radius. r=mats 2011-12-20 14:31:20 +13:00
Mats Palmgren
5c9659eaaf Bug 690187 - Clip or suppress a marker if it makes the line empty. r=roc 2011-12-19 15:48:31 +01:00
Mats Palmgren
967bd28c2b Bug 690187 - Make the edge analysis report back if text or atomic inline-level content is visible between the marker edges. r=roc 2011-12-19 15:48:31 +01:00
Mats Palmgren
0e86931ccf Bug 690187 - Use a bit on each marker to track if it's active (only text-overflow:clip means inactive for now); check the flag rather setting the clip edge at infinity to disable ellipsing on a side. r=roc 2011-12-19 15:48:30 +01:00
Vivien Nicolas
6768352cb8 Bug 707734 - Disable 'click and drag' text selection in nsFrame.cpp for touch enable devices r=roc 2011-12-19 10:11:16 +01:00
Nicholas Nethercote
8f335f567c Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08: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
8bdf67e022 Back out fix for bug 697215 due to test failure 2011-12-18 23:04:11 +13:00
Robert O'Callahan
ad1cf4eefc Backed out changeset 026ec6345ae3 for bug 697215 2011-12-18 23:01:43 +13:00
Edwin Flores
a9f4f6c3c4 Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00
Robert O'Callahan
41261d0f5e Bug 697215. CanScrollWithBitBlit needs to return true for scrollframes inside replaced elements (i.e., iframes) that are honoring border-radius. r=mats 2011-12-18 21:47:00 +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
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
Masatoshi Kimura
ef45bcacdc Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Masayuki Nakano
5aaeb19ce0 backout 34b8fe028357 2011-12-08 16:42:45 +09: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
Simon Montagu
15ecaaead2 Don't assume that text is left-aligned when unicode-bidi=plaintext. Bug 698291, r=dbaron 2011-12-07 13:21:09 +02:00
Martin Stransky
4bc87962eb Bug 558742 - Comma doesn't work in print range, r=roc 2011-12-06 23:45:06 -05:00
Robert O'Callahan
d72e514bba Bug 699351. Part 3: Fix clipping to subdocument to not use subdocument root view bounds. r=tnikkel 2011-12-06 01:39:43 +13:00
Robert O'Callahan
b05894976c Bug 699351. Part 2: fix assertion. r=tn 2011-12-06 01:39:14 +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
Alexander Surkov
c5201c8f0f Bug 706335 - Remove text accesible getting no text inside a preformatted area, r=marcoz, bz 2011-12-02 16:52:56 +08: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
Marco Bonardo
3cb7574cf1 Merge last green changeset from mozilla-inbound to mozilla-central 2011-11-28 14:10:59 +01:00
Olli Pettay
55a0a365b0 Bug 698228 - [ImageMap] Don't use GetPrimaryFrame when not needed, r=mats 2011-11-27 21:27:10 +02:00
Masayuki Nakano
b65aeee9ac Bug 703186 Use system event listener for focus/blur event handling for <area> element r=smaug 2011-11-26 10:33:09 +09:00
David Bolter
2c48033d76 Bug 705179 - Implement initial canvas accessible and baseline test. r=surkov,ehsan 2011-11-25 11:58:34 -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
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
46718a5759 Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal 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
25c4c1ad91 Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
4053e3de9f Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron
c83c4441ad Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc 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
14c99d00c7 Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
70b87a1b05 Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
b5db9e038b When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky
This change is sufficient because the places that set mHResize to true
other than InitResizeFlags and nsFrame::BoxReflow aren't a problem
because they're in table code whose goal is to force the reflow to
propagate down to the cell, and once we reach the cell we'll hit the
code we've added here.
2011-11-23 18:48:23 -08:00
L. David Baron
3305bb2f9c Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
51ec63eaad When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc 2011-11-23 18:48:23 -08:00
L. David Baron
532d22e477 Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc 2011-11-23 18:48:23 -08:00
Jeff Walden
19f38bafe5 Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Jeff Walden
4f3f8250ea Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones
--HG--
extra : rebase_source : 7b653358a73f222c055f5139e33ca470475f88c9
2011-11-20 12:22:51 -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
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
Ms2ger
7131fda8c1 Bug 699228 - Remove unused variable in nsImageFrame::GetContentForEvent; r=smaug 2011-11-17 19:01:24 +01:00
Matt Woodrow
3c6be362f5 Bug 701656 - Make WrapPreserve3DList capable of walking through child display items for the same frame. r=roc 2011-11-17 16:45:41 +13:00
Matt Woodrow
e443e6f703 Bug 702375 - Include the current frame bounds in preserve-3d overflow calculations. r=roc 2011-11-17 16:45:39 +13:00
Matt Woodrow
4c0194acc2 Bug 700240 - Print contents of TextFrames. r=mats 2011-11-17 16:44:16 +13:00
Matt Woodrow
353e3c17e7 Bug 700240 - Make display list debugging independent of DEBUG. r=khuey,roc 2011-11-17 16:44:16 +13:00
Mats Palmgren
afbd116501 Bug 654002 - Stack overflow when destroying many frame continuations in different parents. r=roc 2011-11-17 11:54:08 +13:00
Phil Ringnalda
fb732c5149 Backout changesets c9abc8ef4626, d62512892555, 69f89ee5d08f, c511af7d8f58, 6a6a560a1492, ac0ec1183d19, 46669afabd15, 74f32abaa8c0, f197554cf989, 0a2405eb5b90, b48954598d7d, e0a82577259c, 0235d1541e58, 450f2557d3a2, e24d196602bf, 03c2ea0eeba3, 7aca4ef8e538, 11ec362e780b, 4b92a3b96446 (bug 627842) for Windows crashtest assertions and Android reftest failures
--HG--
extra : rebase_source : fc8946055314369bfba5038ded32afcb00bf134d
2011-11-14 22:12:31 -08:00
L. David Baron
fbf62da75f 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-15 17:02:01 +13:00
L. David Baron
963d244cf6 Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal 2011-11-15 17:02:01 +13:00
L. David Baron
e30b812b18 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-15 17:02:01 +13:00
L. David Baron
b4cd814c1e Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
9040cadeb5 Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-15 17:02:01 +13:00
L. David Baron
8b98b80576 Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
db5c82697e 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-15 17:02:01 +13:00
L. David Baron
2ff820844c Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
20da5c2ff7 Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc 2011-11-15 17:02:01 +13:00
L. David Baron
b93eea884b When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky
This change is sufficient because the places that set mHResize to true
other than InitResizeFlags and nsFrame::BoxReflow aren't a problem
because they're in table code whose goal is to force the reflow to
propagate down to the cell, and once we reach the cell we'll hit the
code we've added here.
2011-11-15 17:02:00 +13:00
L. David Baron
821918f150 Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc 2011-11-15 17:02:00 +13:00
L. David Baron
430f422bc5 When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc 2011-11-15 17:02:00 +13:00
L. David Baron
37be1f5c8b Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc 2011-11-15 17:02:00 +13:00
Michael Wu
3e0835d415 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Scott Johnson
a48978a4bf Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc] 2011-11-09 13:39:16 -08:00
Scott Johnson
3a74456f46 Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-09 13:39:16 -08:00
Scott Johnson
6bc58fdc72 Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats] 2011-11-09 13:39:15 -08:00
Jeff Walden
c54dfe474f Bug 700910 - Implement MOZ_DELETE to encapsulate C++11 = delete syntax. r=cjones
--HG--
extra : rebase_source : 0fc4bc154923c84fd91e52be99fdac78f7c6dbc4
2011-11-08 19:19:44 -08:00
Boris Zbarsky
d2de5d9094 Bug 683712. Add a null-check to avoid bogus assumptions about blocks not being reflow roots. r=mats 2011-11-08 23:22:36 -05:00
Matt Woodrow
b9a9dba520 Bug 695610 - Move ImageContainer caching into imgIContainer. r=joe 2011-11-09 16:14:41 +13:00
Jeff Muizelaar
96217c7697 Bug 698107. layout: Return nsnull instead of false. r=bz
Caught by a clang warning.

--HG--
extra : rebase_source : 384a3451b7e54f8afb40f5e8a94000c00a54cc6d
2011-11-08 18:09:22 -05:00
Matt Woodrow
7d04ee6f99 Bug 698590 - Make ConfigureLayer use DevPixels instead of AppPixels. r=roc 2011-11-08 16:57:55 +13:00
Robert O'Callahan
29ebbe758a Bug 696307. Floats in a different block to their placeholders should only be painted once. r=mats 2011-11-08 13:09:39 +13:00
Robert O'Callahan
60655dac4c Bug 696307. Don't overwrite the aChild parameter of BuildDisplayListForChild. r=mats 2011-11-08 13:09:39 +13:00
Boris Zbarsky
a650962d6c Merge backout of bug 641341. 2011-11-07 00:27:17 -05:00
Boris Zbarsky
2cd4ac232f Backed out changeset 0cd9ed297f73 (bug 641341) to fix bug 696175. r=roc 2011-11-07 00:25:56 -05:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Mats Palmgren
5fc1c83bab Bug 699383 - Remove unused 'aboveTextDecorations'. r=roc 2011-11-04 19:05:35 +01:00
Marco Bonardo
ac1e87e272 Merge mozilla-central to mozilla-inbound 2011-11-03 10:46:56 +01:00
Justin Lebar
0b965502f1 Merge backout 2011-11-02 20:11:25 -04:00
Justin Lebar
86c0378be8 Back out bug 666446 due to Talos regression. 2011-11-02 20:11:01 -04:00
Kyle Huey
5afa09d1f8 Merge m-i to m-c. 2011-11-02 08:24:41 -04:00
Josh Aas
9821007204 Bug 562442: Plugin crash fix (parent process). r=jmathies 2011-11-01 14:52:20 -04:00
Scott Johnson
9cfbbc8b00 Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc] 2011-11-01 11:06:53 -04:00
Scott Johnson
7d86e5fc20 Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-01 11:06:53 -04:00
Olli Pettay
d05f3af50f Bug 698232 - s/IsInside/GetArea to simplify the code, r=mats 2011-10-30 21:51:19 +02:00
Olli Pettay
9f362a60d2 Bug 694503 - image map doesn't get updated when map element is removed as part of container subtree, r=bz 2011-10-29 13:44:50 +03:00
Matthew Gregan
d86fd8e1d2 Bug 697647 - VideoFrame's visible region should use the pre-transform size rather than the raw video buffer size. r=roc 2011-11-02 18:44:49 +13:00
Boris Zbarsky
5159a4843a Bug 641341. Speed up CalculateHypotheticalBox for the case of a block containing a bunch of lines but absolutely no in-flows anywhere. r=roc 2011-10-04 23:47:08 -04:00
Matt Woodrow
97e680e837 Bug 691431 - Remove invalid assertion and NULL check childFrame in WrapPreserve3DList. r=roc 2011-10-04 14:23:04 +13:00
Jonathan Watt
8a0b72332d Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Josh Aas
b258d496c8 Bug 649079: Plugin crash fix (parent process). r=bz 2011-10-27 16:00:49 -04:00
Timothy Nikkel
df8878f8ed Bug 658005. Part 4. Remove nsIFrame::AreAncestorViewsVisible now that it is unused. r=roc 2011-10-26 18:57:55 -05:00
Timothy Nikkel
09778341dc Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc 2011-10-26 18:57:55 -05:00
Robert O'Callahan
e285f8195b Bug 696248. Flush pending onscroll events before painting. r=mats 2011-10-26 17:14:31 +13:00
Matt Woodrow
7968f3490d Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc 2011-10-26 16:24:58 +13:00
Matt Woodrow
b18a7f9176 Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc 2011-10-26 16:23:26 +13:00
Ehsan Akhgari
74d9b6f1fb Backout changeset be42bc18185a (bug 612128) because of bug 688423 2011-10-25 22:32:55 -04:00
Neil Deakin
b9741fe3c6 Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc 2011-10-25 11:05:32 -04:00
Robert O'Callahan
866833ced3 Bug 696739. Treat inline fieldsets as pseudo-stacking-contexts. r=bz 2011-10-25 16:52:52 +13:00
Jesse Ruderman
4a98a7e828 Bug 675553 followup: remove tautologous assertions. r=ehsan 2011-10-24 16:21:09 -07:00
Daniel Holbert
ef9e797306 Bug 693801: Remove redundant initialization for nsHTMLReflowState::mFlags.mIsTopOfPage. r=dbaron 2011-10-21 13:41:12 -07:00
Timothy Nikkel
6744e4ecfa Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc 2011-10-21 12:45:32 -05:00
Marco Bonardo
167dce1ac7 Backout 564144b09c4b, 049ba0a8823f, 608feeb4539c, d2e6a61338cc (Bug 695275) to investigate Android Crashtests permaorange. 2011-10-21 14:19:22 +02:00
Timothy Nikkel
79abab2e7b Backout 18f70ede04b0 (bug 694213). 2011-10-20 20:59:47 -05:00
Robert O'Callahan
ac9ee51054 Bug 681867. text-overflow only needs to affect the scrolling behavior of the block container with text-overflow. r=mats 2011-10-21 14:41:36 +13:00
Matt Woodrow
36cd8755bf Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc 2011-10-21 14:22:19 +13:00
Matt Woodrow
4a97eecc77 Bug 695275 - Add nsIDOMWindowUtils::CheckAndClearPaintedState to test painting. r=roc 2011-10-21 14:21:40 +13:00
Timothy Nikkel
332c11b9c9 Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc 2011-10-20 12:44:28 -05:00
Ehsan Akhgari
fddd9ce5af Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc
--HG--
extra : rebase_source : a98568046ab5e4b4382e380f0fd2d03be481edaa
2011-05-16 13:27:24 -04:00
Scott Johnson
90549abb9c Bug 666446, Part 6/18 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc] 2011-10-03 13:39:05 -07:00
Scott Johnson
e317548311 Bug 666446, Part 4/18 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-10-03 13:39:05 -07:00
Matt Woodrow
da4a9cda9a Bug 691106 - Merge sequential nsDisplayTransforms and give them unique frame keys. r=roc 2011-10-03 17:02:25 +13:00
Josh Aas
6f07f0eace Bug 690834: Replace PR_TRUE and PR_FALSE with true and false in in plugin code outside of dom/plugins. r=roc 2011-10-01 11:43:07 -04:00
Ehsan Akhgari
f696794a6c Merge the last green changeset of mozilla-inbound into mozilla-central 2011-09-30 10:13:25 -04:00
Ehsan Akhgari
7674b8fc55 Crashtest for bug 512749; r=roc 2011-09-30 10:11:51 -04:00
Ehsan Akhgari
1f69470a2f Crashtest for bug 655462; r=roc 2011-09-30 10:11:39 -04:00
Matt Woodrow
0b23a6bac7 Bug 689501 - Remove invalid assertion with 3d transforms. r=roc 2011-09-30 14:07:04 +13:00
Ehsan Akhgari
5ed6e406a3 Crashtest for bug 660451; r=roc 2011-06-28 17:10:27 -04:00
Ehsan Akhgari
ba66014efb Crashtest for bug 665853; r=bzbarsky 2011-06-22 20:50:50 -04:00
Ehsan Akhgari
9bfcb2d100 Bug 659828 - Part 2: Avoid calling nsIFrame::GetType needlessly in nsHTMLReflowState; r=roc 2011-06-10 19:02:14 -04:00
Ehsan Akhgari
bdc5c5427c Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
Outer table frames act as CSS2.1 table wrapper boxes.  We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width.  This breaks horizontal positioning of
absolutely positioned kids of a table frame.

The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame.  This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.

In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that.  Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too.  nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.

Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides.  This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame.  The
427129-table-caption reftest has been modified to match this new behavior.

Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari
05594ddcf6 Bug 656130 - Part 2: More crashtests; r=roc 2011-06-28 17:10:29 -04:00
Ehsan Akhgari
82c43f09d4 Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky 2011-05-11 19:53:34 -04:00
Ehsan Akhgari
c15d8c0733 Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky 2011-05-12 00:04:30 -04:00
Ehsan Akhgari
ef73506d4d Bug 10209 - Part 5: Allow table elements to act as absolute positioning containers; r=roc 2011-05-09 20:36:10 -04:00
Ehsan Akhgari
b273fc68d8 Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Ehsan Akhgari
47d44b9dc3 Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc 2011-04-27 19:41:43 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Adam Dane [:hobophobe]
35dfe378d7 bug 591249 - event dragleave not properly dispatched if drag-and-drop aborted with ESC within iframe. r=smaug 2011-09-26 15:55:04 -05:00
Atul Aggarwal
e8bda8ae4b Bug 653295 - Fixing warning of comparision between signed and unsigned integer expressions in nsFrameSetFrame.cpp. r=bz 2011-09-26 01:47:43 +05:30
Mats Palmgren
5ff1123dee Bug 191864 - Range and Selection broken with splitText() and normalize(). r=smaug 2011-09-24 02:56:38 +02:00
Ehsan Akhgari
85e673bce7 Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions 2011-09-22 18:09:44 -04:00
Ehsan Akhgari
8cfbed187e Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).

--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
David Bolter
849986b965 Bug 680085 - Don't traverse dirty text frames when computing rendered text. r=roc
We now bail in GetRenderedText when we encounter dirty text frames. This should be okay since dirty text frames should be reflowed at some point and we'll refresh our accessible text cache. (relanding)
2011-10-19 09:05:18 -04:00
Marco Bonardo
96f6fdb983 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Timothy Nikkel
ab16fdd5c9 Backout 8db8c9ce92c5 (bug 694213). 2011-10-18 00:41:10 -05:00
Timothy Nikkel
5b00acba12 Bug 694213. Make various display items return bounds in the correct coordinate space. r=roc 2011-10-17 19:56:03 -05:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
David Bolter
8c39619ba5 Bug 680085 - Don't traverse dirty text frames when computing rendered text. r=roc
We now bail in GetRenderedText when we encounter dirty text frames. This shouldm be okay since dirty text frames should be reflowed at some point and we'll refresh our accessible text cache.
2011-10-17 10:30:33 -04:00
David Bolter
f714d72a50 Backout 783daf190579 (Bug 680085). Could be causing talos deviation. 2011-10-18 15:04:46 -04:00
L. David Baron
8573702a37 Make NOISY_VERTICAL_ALIGN compile again. Not part of the build. No review. 2011-10-18 10:44:43 -07:00