Marco Bonardo
b46efe643e
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
bce255bc7d
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
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Ed Morley
091dcad0ea
Merge last green changeset of mozilla-inbound to mozilla-central
2011-10-15 12:19:29 +01:00
Ms2ger
cd715d9c9b
Bug 540433 - Remove nsIDocumentViewer; r=smaug
2011-10-15 09:33:26 +02:00
Matt Woodrow
d7e185cd24
Bug 691864 - Recompute preserve-3d children overflow areas after all needed sizes are available. r=roc
2011-10-15 09:43:38 +13:00
Neil Deakin
731458c274
Bug 694224, remove appshell argument from various widget creation methods, r=roc
2011-10-14 09:06:39 -04:00
Jonathan Kew
36c1dc9fbe
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Ehsan Akhgari
9de41d906d
Bug 692919 - Need to check to make sure that the list returned from GetChildLists doesn't have duplicates; r=mats
2011-10-07 18:26:16 -04:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Mats Palmgren
a18f12af45
Bug 684266 - Suppress ellipsing when scrolling further isn't possible in that direction. r=roc
2011-10-12 18:20:46 +02:00
Mats Palmgren
9b7d613762
Bug 684266 - Do ellipsing on the end-edge only when a single value was specified for text-overflow. r=bzbarsky r=roc
2011-10-12 18:20:46 +02:00
Mats Palmgren
c33b59cc27
Bug 688996 - "ASSERTION: Wrong root". r=smaug
2011-10-12 18:20:45 +02:00
Matt Woodrow
3345b1be69
Bug 693519 - Don't call GetHitDepthAtPoint if we didn't hit anything. r=roc
2011-10-12 16:16:05 +13:00
Simon Montagu
2538e9f8cd
Implement unicode-bidi: -moz-plaintext in layout. Bug 662288, r=roc
2011-10-18 14:51:58 +02:00
Jonathan Kew
bf22ca29e7
Bug 692752 - paint text-shadow after selection highlight background. r=roc
2011-10-08 17:27:14 +01:00
Scott Johnson
d7adce1370
Backout cset 9d3ac2d3da11 from bug 666446 while we sort out regressions
2011-10-07 00:25:36 -07:00
Scott Johnson
f6b4eda7fc
Backout cset 6cd4f2d8c2f9 from bug 666446 while we sort out regressions
2011-10-07 00:25:11 -07:00
Matt Woodrow
bae1be5757
Bug 684759 - Part 1 - Flatten out nsDisplayWrapLists when we are preserving 3d. r=roc
2011-10-07 10:21:44 +13: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
Boris Zbarsky
7d2d7a386f
Bug 682051. Optimize textframe to handle horizontal resizes of large runs of text better. r=roc
...
This change does two things:
1) Makes sure that we don't clear textruns when removing continuations due to
an earlier consideration expanding to contain all their text.
2) Remove continuations in chunks to work around the fact that blocks are
really bad at handling single frame removals.
2011-08-25 23:29:24 -04:00
Ed Morley
931f3fdad4
Merge last green changeset on m-i to m-c
2011-08-26 02:17:14 +01:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
944c74ce98
Bug 537223 - Cleanup gfxColor.h; r=jrmuizel
2011-08-25 10:46:01 +02:00
Mats Palmgren
6894179e71
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
f06792a6ef
Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
...
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Mats Palmgren
90d0315f85
Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
...
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes. Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Mats Palmgren
9f9e29b33d
Bug 653649 - New way of getting child lists from frames. (part 1/5) r=roc sr=dbaron
...
Add types to represent identifiers for frame child lists, sets of those
identifiers, and iterators over the child lists of a frame.
Define a enumeration type FrameChildListID representing all of the types
of child lists that frames have (each with a unique bit), a class
FrameChildListIDs for representing any set of FrameChildListID, and a
class FrameChildListIterator for iterating over all of the child lists
of a frame.
2011-08-24 22:54:29 +02:00
Josh Matthews
610775bbe2
Bug 679791 - Make nsIFrame::IsFocusable use heuristics that don't depend on the graphical display of scrollbars. r=roc
2011-08-17 13:55:57 -04:00
Boris Zbarsky
af6a97a713
Bug 680786. nsImageFrame::OnStartContainer should not assume that its intrinsic size has changed. r=roc
2011-08-23 17:03:02 -04:00
L. David Baron
3bee9b4196
Remove quirks mode check that should have been removed when standards-mode and quirks-mode text-decorations were merged in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 2) r=roc
...
This code is a little bit sketchy, but given that text-decoration
drawing is the same across modes we shouldn't have a quirks mode check
here (though there's a decent argument to be made that we shouldn't be
checking text decorations at all).
2011-08-20 21:35:56 -04:00
L. David Baron
16759869c5
Remove overflow handling that should have been removed along with the standards-mode text-shadow of text-decoration handling in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 1) r=roc
...
Since this affects only the *visual* overflow and not the *scrollable*
overflow, this patch should result in no behavior changes, since the
necessary visual overflow is added in
nsTextFrame::UnionAdditionalOverflow (since the text frame now draws the
shadows of text decorations, just like it draws text decorations
themselves).
2011-08-20 21:35:56 -04:00
Mats Palmgren
81f15bf0c6
Bug 677582 - Implement CSS3 text-overflow: <left> <right> in layout. r=roc
2011-08-20 22:41:39 +02:00
Oleg Romashin
9ed09830e6
Bug 621228 - Make plugins listening presShell SetActive calls. r=jst
2011-08-18 22:08:38 +02:00
Matheus Kerschbaum
e7cc82ef30
Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz
2011-08-18 12:07:43 +02:00
L. David Baron
0cd491390d
Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
...
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
L. David Baron
2c717f398d
Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
...
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Ms2ger
66ab4757eb
Merge m-c to m-i
2011-08-13 14:47:03 +02:00
Malini Das
a0832b693a
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
e306b1b5aa
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only
2011-08-12 12:21:36 -04:00
Matt Brubeck
f2cba5adcb
Merge the last green changeset from mozilla-inbound to mozilla-central
2011-08-12 06:41:55 -07:00
Ms2ger
d377c55ed2
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Ms2ger
9414376b01
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Robert O'Callahan
2c93649c0e
Bug 386444. Pass the correct current scroll position as the default value to GetCoordAttribute. r=dbaron
...
--HG--
extra : rebase_source : f0f11de318a050a1121669daaa5056089a5258b7
2011-08-12 10:44:29 +12:00
Vitor Menezes
634b38b6b7
Bug 676538: Fix regression that caused text-decorations on inline *child* of block to draw at the offset for the block rather than the inline. r=dbaron
...
The FrameProperty representing baseline is set when a block defines
text-decorations and has vertically-aligned children, but we were
retrieving it whether the block or the vertically-aligned frame itself
defined the decorations. As a result, we "undo" the frame offset to get
the baseline from the child in that case.
2011-08-10 12:44:17 -07:00
Mats Palmgren
66c48bce55
Bug 663375 - When text color is darkened, darken text-decoration color too. r=dbaron
2011-08-09 17:14:36 +02:00
David Zbarsky
b849d09dcc
Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug
2011-08-07 16:17:00 -04:00
David Zbarsky
8509478d01
Bug 672536 - Merge nsISelection3 into nsISelection r=smaug
2011-08-07 16:18:00 -04:00
Daniel Holbert
9d95437600
Bug 679933: When a frame is destroyed, remove next special-sibling's pointer to it. r=roc
2011-08-25 01:31:11 -07:00
Jonas Sicking
5491caaaf4
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Vitor Menezes
1eb945fbb6
Bug 223764: Inlines inside inlines that draw text-decorations shouldn't alter the baseline. (r=dbaron)
...
We add a baseline field to nsInlineFrame and modify
nsLineLayout::BeginSpan to take a pointer to a baseline to update. This
also means that nsFirstLetterFrame no longer needs to update its own
baseline, and instead should just pass its own field along.
2011-08-03 11:30:58 -07:00
Vitor Menezes
cf291058cb
Bug 403524: Remove the standards-mode text-decoration code and use the quirks-mode code in all modes. r=dbaron
2011-08-03 11:30:58 -07:00
Vitor Menezes
34ffdd3a27
Bug 403524: Draw correct colors for text-decorations on default-color shadows in quirks mode. r=dbaron
...
Make the quirks mode text-decoration + text-shadow code draw the
decorations for shadows that do not have a specified color using
the same color used for the un-shadowed decorations, which matches
standards mode behavior. (The color of unspecified-color shadows
is explicitly undefined in the specification.)
This code will (in a later patch on this bug) be used for both
quirks and standards modes.
2011-08-03 11:30:58 -07:00
Vitor Menezes
1be3da1279
Bug 403524: Make quirks-mode text draw order comply with CSS 2.1
...
Quirks-mode code draws text, and then all decorations. We need to instead draw
underlines, then overlines, -then- text, then line-throughs, as per CSS 2.1.
This involves refactoring nsTextFrame::PaintTextDecorations and
nsTextFrame::DrawText by merging them together, and also updating some
of their callers.
2011-08-03 11:30:58 -07:00
Vitor Menezes
c3e1ce33e1
Fix apparent rounding issues with new text decoration code. (Bug 403524) r=dbaron
...
Rendering text decorations far away from the frame's baseline seems to
sometimes introduce rounding issues. This patch addresses that by
avoiding snapped-baseline weirdness and using a different argument to
nsTextFrame::PaintTextDecorations in some computations that didn't
really need to use the snapped baseline anyway.
2011-08-03 11:30:58 -07:00
Vitor Menezes
e28c55c2e9
Fix text-decoration positioning in quirks mode and set overflow areas to match. (Bug 403524) r=dbaron
...
Change the quirks mode text-decoration code (soon to be used for all
modes) to follow CSS 2.1's rules for positioning of decoration lines.
Decorations are now drawn at a constant vertical position established by
the element creating the decoration, and more than one of the same type
(underline, overline, line-through) of decoration are supported on the
same piece of text.
This means that text-decorations can now significantly overflow a text
frame, since the vertical-alignment of the element with text-decoration
may be substantially different from the vertical alignment of the text.
Set overflow areas for text frames with text decorations in
nsLineLayout::RelativePositionFrames since it must happen *after*
vertical alignment is done, and when relative positioning data are
consistent (nsIFrame::GetRelativeOffset matches the offset that has been
applied).
2011-08-03 11:30:58 -07:00
Jesse Ruderman
bb10e298e1
Bug 673770 - Also search overflow lines for aPrevSibling. r=test-only
2011-08-03 17:55:00 +02:00
Mats Palmgren
bde932c043
Bug 673770 - Also search overflow lines for aPrevSibling. r=roc
2011-08-03 17:55:00 +02:00
Marco Bonardo
b92ca56a08
Merge last green changeset from mozilla-inbound to mozilla-central
2011-08-03 10:46:22 +02:00
Masayuki Nakano
1380b10143
Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319)
2011-08-03 12:39:02 +09:00
Matt Woodrow
fd49690163
Bug 505115 - Part 8c - Use ray tracing to untransform 2d points on a 3d plane. r=roc
2011-08-03 15:04:21 +12:00
Michael Wu
cb03114f5c
Bug 675485 - Fix PRBool misuses found in a debug build, r=bz,taras
2011-08-01 18:20:52 -07:00
Michael Wu
2bee25de63
Bug 675561 - Calls to GetMetric should pass a pointer to PRInt32, not PRBool, r=roc
2011-08-01 18:20:52 -07:00
Michael Wu
9658b9e0d9
Bug 675556 - Switch from PRPackedBool to PRUint8 in nsILineBreaker, r=roc
2011-08-01 18:20:52 -07:00
Michael Wu
7053ddfa95
Bug 675482 - Misuse of PRBool found by use of ++ or -- operators, r=jst,roc
2011-08-01 18:20:52 -07:00
Henri Sivonen
147c3287ec
Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky.
2011-07-29 14:48:04 +03:00
L. David Baron
be7a42e48c
Make hypothetical box calculation consider types that are inline-outside rather than just inline. (Bug 505706) r=bzbarsky
...
Change the "hypothetical box" calculations that we do for 'auto'-offset
absolutely positioned elements take its inline codepath (using
horizontal position of placeholder, and placing even with the top of the
placeholder's line) rather than its block codepath (using the horizontal
edge of the containing block, and placing below the placeholder's line)
when display types are display-outside:inline types other than
display:inline.
2011-07-28 18:11:51 -07:00
Ehsan Akhgari
2f51d73796
Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky
2011-07-28 13:51:22 -04:00
Ehsan Akhgari
cadef9ec48
Merge mozilla-central and mozilla-inbound
2011-07-24 12:52:51 -04:00
Masayuki Nakano
fd858e2321
Bug 673315 part.1 selection change reason must be MOUSEUP_REASON when dragging for selection finishes normally r=smaug
2011-07-24 23:26:40 +09:00
Matt Woodrow
6366c7e2e7
Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc
2011-07-23 10:28:51 +12:00
Marco Bonardo
225034df61
Merge last green changeset from mozilla-inbound to mozilla-central
2011-07-21 14:32:10 +02:00
arno renevier
5388ac92cf
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Mounir Lamouri
2e1dfaef9e
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -07:00
Jonas Sicking
d4380b0d71
Bug 664061: Remove isindex code from layout. r=dbaron
2011-07-19 17:22:01 -07:00
Ehsan Akhgari
ee5215c7a6
Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD
2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6
Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage.
2011-07-19 10:49:48 -07:00
Mounir Lamouri
d2f5a3b4c3
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-18 17:05:10 -07:00
Martijn Wargers
86a2124fce
Bug 578977 - Don't mess with next-in-flows when the reflow status is INLINE_IS_BREAK_BEFORE. r=roc
2011-07-19 14:20:33 +02:00
Mats Palmgren
12d8455b4c
Bug 578977 - Don't mess with next-in-flows when the reflow status is INLINE_IS_BREAK_BEFORE. r=roc
2011-07-19 14:20:33 +02:00
Jesse Ruderman
d93810c1a5
Bug 671796 - "ASSERTION: unexpected block frame" with text-overflow, overflow, mathml. r=roc
2011-07-19 14:20:33 +02:00
Mats Palmgren
28fe3cfc4b
Bug 671796 - "ASSERTION: unexpected block frame" with text-overflow, overflow, mathml. r=roc
2011-07-19 14:20:32 +02:00
Masayuki Nakano
06edb8bcd1
Bug 644621 Drag selection scrolling does not work properly in fullscreen and maximized mode ui=faaborg, r=roc
2011-07-18 03:35:33 +09:00
Ehsan Akhgari
0787743cf4
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-15 08:13:08 -04:00
Ms2ger
36c532ffa2
Bug 670235 - Remove nsIDOMWindowInternal; r=sicking
2011-07-15 12:31:34 +02:00
Masayuki Nakano
dc57bc48ad
Bug 670508 Needs null check at starting table selection handling r=roc
2011-07-14 12:55:27 +09:00
Joe Drew
952b8c93a0
Bug 664299 - Pass the loading principal to imgILoader::loadImage so we can operate on it later. r=bz
2011-07-14 14:47:32 -04:00
Adrian Johnson
ca5502b6f3
Bug 624699. Fix some landscape printing bugs. r=roc
...
Specifically:
1) Only rotate print output for PostScript, not PDF.
2) Rotate in the correct direction for PostScript.
3) Set the %%Orientation comment correctly.
2011-07-14 13:02:20 -04:00
Ehsan Akhgari
c2c6bac9e3
Merge mozilla-central and mozilla-inbound
2011-07-13 11:51:33 -04:00
Ehsan Akhgari
096131f2a7
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-13 11:40:03 -04:00
Jonathan Watt
3de087f518
Bug 664130. Remove redundant isPositioned check. r=roc.
2011-07-13 08:56:39 +01:00
Benoit Girard
952c2f25af
Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow
...
--HG--
extra : rebase_source : 6d397273f10e659a08125b3861e1651a3994aaa0
2011-07-12 10:31:18 -04:00
Ed Morley
78387ed743
Bug 447838 - Fix build warnings in nsTextFrameThebes.cpp; r=roc
2011-07-12 12:06:34 -04:00
Simon Montagu
672d772074
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
2011-04-13 12:23:49 +03:00
Mats Palmgren
5e287b812d
Correcting the bug number in the comment. r=me DONTBUILD
2011-07-12 12:13:20 +02:00
Masayuki Nakano
61a5b62f82
Bug 670081 Cannot scroll any scrollable elements by drag if non-scrollable element captures mouse events r=roc
2011-07-12 10:13:24 +09:00
Jesse Ruderman
35eec41310
Bug 670564 - "ASSERTION: illegal left edge" in nsDisplayText::Paint. r=roc
2011-07-11 22:18:26 +02:00
Mats Palmgren
4521458b36
Bug 670564 - "ASSERTION: illegal left edge" in nsDisplayText::Paint. r=roc
2011-07-11 22:18:26 +02:00
Mounir Lamouri
ff2eb8c7a3
Merge mozilla-central into mozilla-inbound.
2011-07-11 16:19:00 +02:00
Mounir Lamouri
4c0a532e43
Merge mozilla-inbound into mozilla-central.
2011-07-11 16:18:03 +02:00
Masayuki Nakano
fe2a10ba62
Bug 670058 part.2 Add regression test r=smaug
2011-07-11 23:13:36 +09:00
Neil Deakin
4bf3881ba3
Bug 670148, remove nsIBoxLayout, r=roc
2011-07-11 10:05:10 -04:00
Neil Deakin
f6bd0911ea
Bug 670148, remove nsIScrollbarFrame, r=roc
2011-07-11 10:05:09 -04:00
Robert O'Callahan
26c67a621c
Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas
2011-07-08 22:42:21 +12:00
Masayuki Nakano
dc5b552abb
Bug 670058 Stop drag handling for selection when the dragging frame selection detaches presShell r=smaug
2011-07-11 13:20:46 +09:00
Daniel Holbert
55e87ce52f
Fix typo in comment within nsFrame.cpp (no bug) rs=dbaron DONTBUILD
2011-07-07 17:57:55 -07:00
L. David Baron
dbb636b97e
Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky
2011-07-06 12:03:23 +02:00
Masayuki Nakano
180918ceb1
Bug 552707 While we're expanding selection by dragging, the selection root element should capture mouse events and all scrollable elements should be scrollable r=roc+smaug, ui=faaborg
2011-07-06 11:16:18 +09:00
Simon Montagu
ae37ce037d
Undefine caret bidi level during reflow instead of on text entry. Bug 664087, r=roc
2011-07-05 08:42:32 +03:00
Marco Bonardo
e88b205b60
Merge last green changeset from mozilla-inbound to mozilla-central
2011-07-04 20:26:29 +02:00
Neil Deakin
eb070d343a
Bug 666927, clean up nsBoxFrame::GetLayoutManager to return value, r=roc
2011-07-04 10:39:10 -04:00
Mats Palmgren
cff2b748ef
Bug 668919 - The ellipsis with text-overflow: ellipsis is sometimes one pixel too low. r=roc
2011-07-04 07:47:59 +02:00
Mats Palmgren
1a4bff05e9
Bug 667010 - "ASSERTION: unexpected block frame" with text-overflow: ellipsis, <fieldset>. r=roc
2011-07-04 07:47:59 +02:00
Marco Bonardo
d6c4314155
Merge last green changeset from mozilla-central to mozilla-inbound
2011-07-01 23:56:44 +02:00
Michael Ventnor
5b88cf2c15
Implement text-shadow for the text-overflow marker text (ellipsis) r=roc
2011-07-01 16:43:11 +10:00
Benoit Girard
474b757db7
Bug 663259 - Part 2: Restore Synchronous plugin rendering, with preference for async rendering. r=smichaud
2011-06-30 12:46:26 -04:00
Benoit Girard
2655767197
Bug 663259 - Part 1: Mac Async rendering fixes. r=josh
2011-06-30 12:46:25 -04:00
Olli Pettay
209c56c874
Bug 666604 - Allow untrusted events to trigger a link, r=bz
...
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Masayuki Nakano
7d481573dc
Bug 671319 Should abort drag for selection at resetting capture r=smaug
2011-07-21 09:29:32 +09:00
Joel Maher
be5ce7dc85
Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only.
2011-10-06 10:51:03 -04:00
Ehsan Akhgari
b48411171f
Bug 692109 - The intended crash in nsIFrame::GetOffsetToCrossDoc won't actually crash with some compilers; r=tn
...
--HG--
extra : rebase_source : 47ddd0eb634c25ff84a49ea9a0a856e0a3ffbec8
2011-10-05 19:55:02 -04:00
Ehsan Akhgari
4d7d5788b7
Bug 692105 - Useless null check in nsFrame::IsSelectable; r=roc
...
--HG--
extra : rebase_source : 645624b1738073fc6b4192c08af514ec517036ab
2011-10-05 19:49:15 -04:00
Matt Brubeck
4e7caa789f
Merge mozilla-central and mozilla-inbound
2011-08-12 07:08:33 -07:00
Jeff Muizelaar
cb92f6ff06
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04:00
Mats Palmgren
ba50f9565f
Bug 667653 - Make NS_FRAME_SELECTED_CONTENT on text frames less sticky. r=roc
2011-06-30 02:56:50 +02:00
Mats Palmgren
817e5a24da
Bug 666669 - Restrict selection painting to the nsCharClipDisplayItem edges (same as for non-selected text). r=roc
2011-06-30 02:56:49 +02:00
L. David Baron
c09bb2ecf4
Remove NS_STYLE_LIST_STYLE_OLD_* constants to fix computed list-style-type style resulting from type attribute on lists. (Bug 665857) r=bzbarsky
2011-06-29 14:39:21 -07:00
Ehsan Akhgari
c4436101c8
Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
...
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Jonas Sicking
f31ca46f1c
Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug
2011-06-28 10:59:14 -07:00
Simon Montagu
ca0b6c0240
Check for null frame selection. Bug 666225, r=roc
2011-06-27 19:33:28 +03:00
Simon Montagu
cc65555d9f
Mochitest for bug 666225
2011-06-27 19:32:41 +03:00
Mounir Lamouri
d8b025aad8
Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression.
2011-06-27 14:52:57 +02:00
Benoit Girard
6455de56ad
Enabled Mac Async plugin by default + Fixes. b=663259 r=josh
2011-06-25 15:12:59 -04:00
Craig Topper
43c8429d0c
Bug 654369 - Part 9: Remove OOM checks from layout/generic r=bz
...
--HG--
extra : rebase_source : b828e73151ceb8cb59e1d8f7c0671dc88397057c
2011-04-28 22:02:16 -07:00
Craig Topper
7a1b417e0b
Bug 654369 - Part 10: Make nsFloatManager::StoreRegionFor return void r=bz
...
--HG--
extra : rebase_source : dcf1babec6d26cfaee2e050e1fbd8abca941c8eb
2011-05-08 01:00:29 -07:00
Craig Topper
9e5af74e62
Bug 654369 - Part 7: Remove OOM checks from nsTextFrameThebes r=bz
...
--HG--
extra : rebase_source : 2cb5ce4d3f3a6d8d0e3a50c40303f8c1c098dbdf
2011-05-02 00:11:34 -07:00
Craig Topper
74ac9a3f68
Bug 654369 - Part 5: Make nsFrameList::Init return void r=bz
...
--HG--
extra : rebase_source : 8e9aafbc53c9b7e6be24a15707c32f19d67b7c06
2011-05-01 23:32:59 -07:00
Craig Topper
8cc35672fe
Bug 654369 - Part 4: Make nsContainerFrame::SetOverflowFrames return void
...
--HG--
extra : rebase_source : c75b4fd0a730a6d2804287847be735261aef92f0
2011-05-01 23:17:32 -07:00
Joel Maher
d368d3ddbf
Bug 663844 - move layout/generic/test/*.xul to mochitest-chrome. r=ted, a=test-only
2011-06-25 13:42:23 -04:00
Ed Morley
af1d9c6c2b
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Jesse Ruderman
80232adac5
Bug 667025 - crash test.
2011-06-25 04:21:27 +02:00
Mats Palmgren
ec63cdec11
Backout cset 3e54c496db92 (bug 654002) for causing bug 667025.
2011-06-25 04:21:27 +02:00
Mats Palmgren
ebe2e85837
Bug 666751 - Crash tests. r=roc
2011-06-24 21:12:52 +02:00
Mats Palmgren
a8d68ebc51
Bug 666751 - Add a null-check in case the item's frame is not a descendent of the text-overflow block. r=roc
2011-06-24 21:12:52 +02:00
Mats Palmgren
f205bc0de5
Bug 654002 - Remove frame continuations iteratively, not recursively. r=roc
2011-06-23 01:16:00 +02:00
Mats Palmgren
fb9132ab57
Bug 312156 - Tests for CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Mats Palmgren
b19080bd1f
Bug 312156 - Implement CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Robert O'Callahan
a0cb0b9295
Bug 637852. Part 20: Allow fast scrolling within transformed content. r=tnikkel
...
This lets us easily test scrolling with non-identity resolution.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
59cfc47b23
Bug 637852. Part 17: Tighten up AreLayersMarkedActive so we track exactly what properties are changing. Also, clamp resolution to power-of-2 only if the frame's transform has a scale. r=tnikkel
...
This lets us avoid clamping the scale in more situations. We should only clamp the scale when we think
the scale is changing due to a changing transform --- the goal of clamping is to not have to redraw the content
too often when the content is zooming in or out.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
55a9350095
Bug 637852. Part 13: Allow snapping of text baselines to occur when there's a scale in the current transform. r=tnikkel
...
This allows baselines to be snapped properly when drawing into high-resolution ThebesLayers.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
93793566d0
Bug 637852: Part 5: Create ContainerParameters structure to carry resolution scale factors through layer creation. r=tnikkel
...
This patch shouldn't change any behavior. It just passes the ContainerParameters around, which will contain scale factors that should have been
applied when BuildLayer returns a ContainerLayer.
This patch also adds an aTransform parameter to BuildContainerLayerFor, which nsDisplayTransform uses to set the
transform for the ContainerLayer. This way BuildContainerLayerFor knows what the container's transform is going to be
before constructing the children, which in the next patch will let us construct the children with the right resolution.
2011-06-23 00:11:27 +12:00
Ed Morley
7bd9e7ed4a
Bug 665723 - Fix unused variable warnings in layout/generic/; r=roc
2011-06-21 17:37:47 +02:00
Cameron McCormack
1b56814d74
Bug 642175 - Part 3: Make existing plugin crash mochitests clean up after themselves. r=ted
2011-06-21 12:12:15 +12:00
Mounir Lamouri
38dbd10996
Merging mozilla-central with mozilla-inbound.
2011-06-17 15:26:17 +02:00
Dão Gottwald
a3d8b786ca
Bug 654411 - Use text color at 50% opacity instead of graytext to de-emphasize text in the location bar. r=roc ui-r=faaborg
2011-06-17 08:07:03 +02:00
Jonathan Kew
0bc82a4ba2
bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
2011-06-16 07:31:37 +01:00
Benjamin Stover
608b301129
Bug 656041 Some parts of page scroll at different rates in Fennec r=roc
2011-06-14 09:20:29 -07:00
Jonas Sicking
5f95458332
Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz
2011-06-14 00:56:49 -07:00
Matt Brubeck
830f102cc9
Bug 663959 - Mark crashtests as asserting intermittently [r=ehsan]
2011-06-13 14:24:04 -07:00
L. David Baron
21f6d8d9c6
Remove notion of percentage of intrinsic size: remove code that handles percentages (which are no longer set thanks to the previous patch) and make them invalid. (Bug 611099) r=dholbert
...
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
L. David Baron
81e96fe621
Change IsPercentageAware (which tests whether an inline box's width depends on the width of its container) to check the correct general statement of when the width of a replaced element depends on its container's width, and in doing so avoid depending on the notion of percentage intrinsic size. (Bug 611099) r=dholbert
...
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
Masayuki Nakano
f96e0ef619
Bug 663041 layout should use mozilla::Preferences r=roc
2011-06-12 11:30:16 +09:00
Randell Jesup
98b0626e03
Bug 505108: Don't leak strings on early returns from Area::ParseCoords(), fix how CString is freed. r=roc
2011-06-11 16:40:39 -04:00
Steven Michaud
efe681f006
Bug 661636 - [10.7 SDK] QuickDraw APIs undefined when doing 32-bit builds using the OS X 10.7 SDK. r=bgirard
2011-06-11 09:12:58 +02:00
Michael Ventnor
383f357ec8
Bug 663028 - Make Print Preview themable with CSS, and modernize its look r=roc
2011-06-10 20:07:26 +10:00