Commit Graph

3076 Commits

Author SHA1 Message Date
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
ec2d83e852 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).
2010-11-16 15:45:49 -05:00
Ed Morley
848e923aa5 Merge last green changeset on mozilla-central to mozilla-inbound 2011-09-19 12:27:35 +01:00
Oleg Romashin
5446af8efb Bug 687392 - Use nearest filter for mobile video/plugin rendering. r=roc 2011-09-19 12:12:16 +01:00
Ed Morley
14281d90d0 Merge last green changeset on mozilla-inbound to mozilla-central 2011-09-18 20:23:17 +01:00
Ms2ger
21263e0741 Bug 687070 - Remove unused variable 'result' in nsDisplaySelectionOverlay::Paint; r=masayuki 2011-09-18 11:22:18 +02:00
Ms2ger
7b7048fda0 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Ed Morley
00e6fcf8b2 Backout d4bdab069bbc (bug 630007) for qt build bustage and various oranges on other platforms 2011-09-17 00:27:55 +01:00
Doug Turner
fa4f75d7e3 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Doug Turner
0ef3efa1a5 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Jonathan Kew
3f213d78b5 bug 686497 - avoid passing excessively long wavy-underline path to cairo for stroking. r=roc 2011-09-16 20:23:29 +01:00
Mounir Lamouri
88b567714a Bug 675201 - Revert debug info given that the random orange is now fixed. r=me 2011-09-13 12:37:51 -07:00
Mats Palmgren
4a82c200c1 Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
Make nsIFrame::GetParentStyleContextFrame return the frame directly
instead of indirectly through an out parameter.  Remove the unused
nsPresContext parameter.
2011-09-12 09:08:07 -07:00
Mounir Lamouri
cadaa4e89d Bug 675201 - Attempt to wait for focus in the test before issuing keyboard events; r=ehsan 2011-09-11 11:21:09 -07:00
Masayuki Nakano
d9869bfccf Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Jonathan Watt
9a2fd9b810 Bug 664130 - Rename isComposited to isVisuallyAtomic. r=roc. 2011-09-08 12:15:00 +01:00
Jonathan Watt
3d83b361b0 Bug 664130 - avoid creating empty nsAbsPosClipWrapper items. r=roc. 2011-09-08 12:15:00 +01:00
Jonathan Watt
c6f1afaf71 Bug 664130 - Clarify some display list comments and code. r=roc. 2011-09-08 12:15:00 +01:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Daniel Holbert
85cc006afe (no bug) Fix 2 typos within comments in nsIFrame.h DONTBUILD 2011-09-07 17:19:32 -07:00
Boris Zbarsky
f4f8fa2085 Bug 683952. Speed up iterating over the continuations of the frame when scrolling to it. r=roc 2011-09-06 22:57:46 -04:00
Phil Ringnalda
74787fa14f Back out fc945dec50bb and de06684dabc4 (bug 642551), 64c328251a24 (bug 683952) and 9d0d13998ebb (bug 684544) for orange on a CLOSED TREE 2011-09-06 21:42:54 -07:00
Boris Zbarsky
5ee508215f Bug 683952. Speed up iterating over the continuations of the frame when scrolling to it. r=roc 2011-09-06 22:57:46 -04:00
Ms2ger
0038e2e573 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Matt Woodrow
a5e0a1b39b Bug 682922 - Disable preserve-3d on scroll frames. r=roc 2011-09-05 10:25:35 +12:00
Daniel Holbert
5d075a7a42 Bug 683702: In nsFrame teardown, clear the reference to me on my prev IB sibling (as well as on my next IB sibling). r=roc 2011-09-01 00:10:22 -07:00
Joshua Cranmer
f2c3c84e57 Bug 681634 - Get m-c to build with static checking; fix verification scripts. r=taras 2011-08-29 17:02:22 -07:00
Matt Woodrow
ec5a391004 Bug 505115 - Part 14b - Layout support for -moz-transform-style. r=roc 2011-08-27 12:01:46 +12:00
Mounir Lamouri
7a32b32d47 Bug 675201 - Some debug outputs for intermittent orange investigation. rs=ehsan 2011-08-26 18:57:11 +02:00
Ed Morley
a31b5adc78 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00