Markus Stange
86545547c8
Bug 509876 - Clean up SyncFrameViewGeometryDependentProperties. r=roc
...
--HG--
extra : rebase_source : fdf898d51147231f33df507d28d927924dc465b8
2009-08-13 08:48:30 +12:00
Bobby Holley
40b38ce001
Tests for bug 507902.r=joe
2009-08-12 16:23:39 +02:00
Bobby Holley
ca7b88296e
Bug 507902 - nsImageFrame static Icon Loads should not use the mListener of the first instantiated nsImageFrame.r=bz,joe
2009-08-12 16:23:38 +02:00
Neil Deakin
dd086e5826
Bug 230081, use proper cursors for frameset border resizing, r=dbaron
2009-08-12 10:03:35 -04:00
timeless@mozdev.org
854b7b365e
Bug 506645 nsTypedSelection::AddItem doesn't always null check aOutIndex
...
r=smaug
2009-08-12 11:49:55 +02:00
timeless@mozdev.org
52c8602402
Bug 506628 deadcode in nsPluginInstanceOwner::ProcessEventX11Composited
...
r=karlt
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
e89984650d
Bug 506627 find_dest_id abuses XQueryTree
...
r=karlt
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
3d39adc39e
Bug 506258 nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree doesn't seem to use anchorFrame or anchorFrameOffset
...
r=roc
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
324cf1b775
Bug 506251 BuildTextRunsScanner::AssignTextRun does not use lastContent
...
r=roc
2009-08-12 11:49:54 +02:00
L. David Baron
6ff2475a94
Make lines with only a bullet take up height. (Bug 179596 / Bug 507187) r=roc
2009-08-10 19:48:42 -07:00
L. David Baron
8748f13aaf
Make the quirks mode line height algorithm's check for bullets check whether there's a bullet rather than checking whether it's an HTML LI. (Bug 179596) r=roc
2009-08-10 19:48:42 -07:00
L. David Baron
7cc38c6fe9
When a block without lines has a bullet, give the line we fake its full line height. (Bug 179596) r=roc
2009-08-10 19:48:42 -07:00
Daniel Holbert
b2cd896422
Bug 508692: Fix build warning - rename nsSubDocumentFrame method so it doesn't hide inherited method (s/GetMargin/GetMarginAttributes/) r=dbaron
2009-08-10 12:42:53 -07:00
Boris Zbarsky
37602b8380
Bug 508050. Make sure to reparent views when pulling overflows from our prevsibling. r=roc
2009-08-10 10:54:22 -04:00
Boris Zbarsky
0763ee7f97
Bug 509170. Correctly invalidate the canvas frame on resizes of the root element. r=roc
2009-08-10 10:54:22 -04:00
Jesse Ruderman
c1ef11731a
Add crashtests for bug 463350, bug 473278, and bug 493118
2009-08-08 16:00:38 -07:00
Jesse Ruderman
de49b52e4c
Add crashtest for bug 420785
2009-08-08 15:32:58 -07:00
Benjamin Smedberg
96f048b425
Fix static-analysis bustage by using treehydra instead of dehydra. My theory is that the dehydra type cache is becoming confused by GCC tree GC which is reusing tree pointers for different types.
2009-08-07 11:16:26 -04:00
Robert O'Callahan
9033246e16
Backout bug 504524 due to test failure
2009-08-05 17:33:51 +12:00
Robert O'Callahan
55c6dd3fc2
Backed out changeset 77787eb64629
2009-08-05 17:33:17 +12:00
Robert O'Callahan
acf101c93f
Disable failing test
2009-08-05 17:22:24 +12:00
Jacek Caban
1728ef417e
Bug 506034. Fixed loop on MinGW where wchar_t-char is unsigned. r=dbaron
...
--HG--
extra : rebase_source : def42dc23a878639a3251fdb681a9c138d16fa37
2009-08-05 14:39:05 +12:00
Robert O'Callahan
89ffdc2e22
Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz
...
--HG--
extra : rebase_source : 0e294beea796a58b16273fbfb64d777a8f40e225
2009-08-05 14:38:52 +12:00
Robert O'Callahan
cba39f15c7
Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
...
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Robert O'Callahan
a2a72eee58
Bug 506304. Support synthesized mouse events being sent to windowless plugins, support reporting mouse event coordinates from the test plugin, and add tests for mouse events. r=josh
...
--HG--
extra : rebase_source : 5c97644a6db8454f759bbeab7a1e06295aca8325
2009-08-05 13:36:37 +12:00
Robert O'Callahan
42fa43d1a1
Bug 508115. Don't reparent the views for popups, since they should always have the root view as their parent. r=dbaron
...
--HG--
extra : rebase_source : 1d8057694cde33a56fdabb57d51c9ff600c904a0
2009-08-05 09:58:46 +12:00
liucougar@gmail.com
cc07460944
Bug 502259. Make delete at end of paragraph work. r=cpearce
2009-08-04 09:46:48 +12:00
Boris Zbarsky
a1e015696b
Bug 502942. Make fieldsets use their content's last-line baseline. r=dbaron
2009-08-03 10:42:59 -04:00
Boris Zbarsky
90ad9f1c3b
Bug 494283. Unregister our placeholder if someone forgot to. r=dbaron
2009-08-03 10:42:57 -04:00
liucougar@gmail.com
db643902e8
Bug 438840. Page-up/page-down in editable content should scroll the innermost scrollable region containing the caret, not the root. r=roc
...
--HG--
extra : rebase_source : 096868b13160a3c197387cf5e44fb7892b3b23ca
2009-08-03 14:18:57 +12:00
Robert O'Callahan
78f3465f56
Bug 506874. Don't temporarily remove ranges from the selection while we alter the frame state. Also adds a bunch of selection tests. r=smaug
...
--HG--
extra : rebase_source : 5d4fd55728e1167cc57451b5c80a46643191678b
2009-08-03 14:12:57 +12:00
Robert O'Callahan
a4fec52cd4
Bug 506615. XUL decks should not have wididgets. r=dbaron
2009-07-30 14:54:42 +12:00
Michael Ventnor
8ae6cd75f4
Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron
2009-08-01 08:53:40 -07:00
Dão Gottwald
bf4108370b
Backed out changeset c086fca6fc55
2009-07-31 14:35:48 +02:00
Michael Ventnor
61ed5fe1e2
Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc
2009-07-31 13:32:32 +02:00
Boris Zbarsky
f2936464e5
Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron
2009-07-30 13:23:32 -04:00
Boris Zbarsky
6e2c80851a
Bug 496500. Don't try to interrupt on lines we're not actually reflowing, since during a resize on Windows HasPendingInputEvent returns true while the mouse is down. r+sr=roc
2009-07-30 11:53:36 -04:00
Robert O'Callahan
44f0df34e5
Backing out bug 506615 to fix mochitest failures
2009-07-30 22:06:23 +12:00
Robert O'Callahan
c4703dc12d
Backed out changeset c353fe809be0
2009-07-30 22:06:02 +12:00
Robert O'Callahan
ad539ed40b
Bug 506615. XUL decks should not have wididgets. r=dbaron
...
--HG--
extra : rebase_source : 5d6728b11a121565f828f27e8abed5e0172aa069
2009-07-30 14:54:42 +12:00
Robert O'Callahan
b26bf31d5e
Bug 467914. GetOverflowRectRelativeToSelf shouldn't always expect a preEffectsBBox. r=dbaron
...
--HG--
extra : rebase_source : cc6cd0bf3f4b11785b85baeaf74bd9ef7725c42f
2009-07-30 14:48:13 +12:00
Timothy Nikkel
6788e65ce3
Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky
2009-07-29 18:10:50 -04:00
Boris Zbarsky
209e31bf48
Relanding bug 496823 in the hopes that it's not causing the XP Txul issue.
...
--HG--
extra : rebase_source : 593d43b5c229e077e4454d848dba59265dee6b58
2009-07-29 08:53:27 -04:00
Boris Zbarsky
b4eb9b7084
Backed out changeset 622a29736f33 to see whether bug 496823 causes the WinXP Txul regression.
...
--HG--
extra : rebase_source : 450a2a83442a2326e303f97ad82d8213fbe11490
2009-07-28 14:35:28 -04:00
Boris Zbarsky
cc46915a25
Followup for bug 504221 to fix debug orange. Have to hold on to an object, not a reference, if the thing passed in might be a temporary.
2009-07-28 11:04:45 -04:00
Boris Zbarsky
a2aaeadc49
Bug 504972. Remove some redundant code. r=roc
2009-07-28 08:53:20 -04:00
Boris Zbarsky
5fefb45a48
Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:20 -04:00
Boris Zbarsky
9d47a166af
Bug 504221 part 11. Switch the {ib}-split list munging to nsFrameList. r=fantasai,roc
2009-07-28 08:53:19 -04:00
Boris Zbarsky
cddaf1831c
Bug 504221 part 10. Switch the first-line frame list munging to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:53:19 -04:00
Boris Zbarsky
dca83c78dc
Bug 504221 part 9. Get rid of a silly LengthOf function. r+sr=roc
2009-07-28 08:53:18 -04:00
Boris Zbarsky
b5d9390d06
Bug 504221 part 7. Make nsFrameItems inherit from nsFrameList. rfantasai, r+sr=roc
2009-07-28 08:53:18 -04:00
Boris Zbarsky
31d4329c40
Bug 504221 part 6. Switch nsBlockFrame::AddFrames to nsFrameList. r=fantasai,roc
2009-07-28 08:51:10 -04:00
Boris Zbarsky
db6ff446ab
Bug 504221 part 5. Switch from GetFirstChild to GetChildList (returning an nsFrameList). For now, keep a GetFirstChild shim so callers don't have to be updated. r=fantasai, r+sr=roc
2009-07-28 08:51:09 -04:00
Boris Zbarsky
b0259fd19b
Bug 504221 part 3. Switch overflowFrames storage to nsFrameList. r=fantasai, r+sr=roc
2009-07-28 08:51:09 -04:00
Boris Zbarsky
14796e6173
Bug 504221 part 2. Switch ReparentFrameViewList to nsFrameList. r+sr=roc
2009-07-28 08:51:09 -04:00
Boris Zbarsky
58ab0561e4
Bug 504221 part 1. Introduce framelist slice and enumerator classes and make the framelist versions of nsFrameList::AppendFrames/InsertFrames return a slice for the new frames. r=fantasai, r+sr=roc
2009-07-28 08:51:08 -04:00
Chris Pearce
01dab2e3fe
Backout bug 502259
2009-07-28 16:30:11 +12:00
liucougar@gmail.com
642e174ae6
Bug 502259 - Make delete at end of paragraph work r+cpearce,sr+peterv
2009-07-28 14:04:36 +12:00
Michael Kohler
404670f1f3
Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless
2009-07-27 10:47:02 +02:00
Boris Zbarsky
34df7918a4
Bug 496823. Blocks can implement GetLastChild() much faster than by just getting first child and iterating its siblings. r=roc
2009-07-26 21:27:32 -04:00
Robert O'Callahan
4ef62fb0ed
Bug 371839. Remove ParentDisablesSelection, which is effectively unused. r=bzbarsky
...
--HG--
extra : rebase_source : 920c501f033e026709ec15792cadbb2f24462a0a
2009-07-27 10:06:30 +12:00
Robert O'Callahan
14dbcb0874
Bug 371839. Simplify SetSelected signature and semantics, and reimplement it in nsTextFrame much more efficiently. r=bzbarsky
...
--HG--
extra : rebase_source : 18c390e3ebd09de82b1a23699c56b741f928ca37
2009-07-27 10:05:41 +12:00
Robert O'Callahan
fb7ad45e60
Bug 371839. Remove useless SetSelected implementations. r=bzbarsky
...
--HG--
extra : rebase_source : 57629a43328f3dbc97a5d0595186a32150722db4
2009-07-27 10:03:16 +12:00
Robert O'Callahan
520e8ceae9
Bug 505743. Fix nsHTMLScrollFrame::InvalidateInternal to not take the 'invalidation in scrollbar' path when there is no scrollbar. r=dbaron
...
--HG--
extra : rebase_source : 8709cdba8ea6f9776b61ff935c1c850573caff3a
2009-07-27 09:29:01 +12:00
Robert O'Callahan
274e556b1d
Bug 505667. Don't need to check INVALIDATE_NOTIFY_ONLY in nsHTMLScrollFrame::InvalidateInternal. r=dbaron
...
--HG--
extra : rebase_source : fa04db29e722a9aea7aaf54c783d07c432d79cad
2009-07-27 09:27:54 +12:00
Robert O'Callahan
c95fd3cf9a
Bug 505912. Trust the widget visibility in UpdateWidgetArea. r=dbaron
...
--HG--
extra : rebase_source : 4c6e1b2366b430763cce546ab0e26576705a0ca3
2009-07-27 09:17:43 +12:00
Boris Zbarsky
fa8b53c57c
Bug 505482. Make sure to not leave frames on overflow lists when we interrupt reflow. Also fixes bug 478527 and bug 496742. r=roc
2009-07-24 09:32:32 -04:00
Zack Weinberg
7f97ecf2df
Bug 486065. Hack nsCSSOffsetState::InitOffsets to zero out computed padding and borders when the scrollbar size is zero. r=dbaron
...
--HG--
extra : rebase_source : 92bcaee46ded00722e3fc86b4ca538e5f90f16ef
2009-07-30 15:43:22 +12:00
Robert O'Callahan
82ace80f84
Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
...
--HG--
extra : rebase_source : 4cdbc37f404c07f509adbfb581c662187813bc4a
2009-07-30 14:59:41 +12:00
Robert O'Callahan
feb5fde3fc
Bug 506304. Walk all the way up to the nearest widget when computing event coordinates for windowless plugins. r=bz
...
--HG--
extra : rebase_source : be25ce5ffbae7c90cf0b211ae818046873b6e09a
2009-07-30 14:56:52 +12:00
Robert O'Callahan
1384727485
Remove accidentally commited .rej files
2009-07-22 17:06:12 +12:00
Robert O'Callahan
efcac1ea7f
Bug 339548. Part 15: test overlaying an opaque-background table over a plugin.
2009-07-22 12:45:16 +12:00
Robert O'Callahan
edefa6fb61
Bug 339548. Part 14: hide windowed plugins in CSS transforms and SVG foreignObject contexts; we can't display them properly, so let's not display them at all. r=dbaron
2009-07-22 12:45:14 +12:00
Robert O'Callahan
5fa812e479
Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies
2009-07-22 12:45:13 +12:00
Robert O'Callahan
a00da77ddf
Bug 352093. Part 14: Make content IFRAMEs windowless. r=bzbarsky
2009-07-22 12:45:11 +12:00
Robert O'Callahan
d520aa9f3f
Bug 352093. Part 12: Teach nsDocShell/nsDocumentViewer to deal with not having a widget
2009-07-22 12:45:10 +12:00
Robert O'Callahan
2ebc95776b
Bug 352093. Part 10: misc fixes to remove assumptions about documents having widgets. r=smaug
2009-07-22 12:45:09 +12:00
Robert O'Callahan
97b9409ae1
Bug 352093. Part 6: make GetScreenRect work when appunits-per-dev-pixel varies up the frame tree. r=dbaron
2009-07-22 12:45:06 +12:00
Robert O'Callahan
723b519262
Bug 339548. Part 11: tests for complex plugin clipping.
2009-07-22 12:45:02 +12:00
Robert O'Callahan
25b5199778
Bug 339548. Part 10.5: Eagerly fix up Mac plugin clip rect to be consistent with other platforms.
2009-07-22 12:45:02 +12:00
Robert O'Callahan
41b0dc9d84
Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly.
2009-07-22 12:45:00 +12:00
Robert O'Callahan
d523d1c325
Bug 339548. Part 6: Uninline IsMovingFrame so nsDisplayList.h doesn't have to include nsLayoutUtils.h. r=dbaron
2009-07-22 12:44:57 +12:00
Robert O'Callahan
c1e47bdb51
Bug 505184. Expose nsFrame::DisplayBackgroundUnconditional so we can easily create an nsDisplayBackground elsewhere. r=dbaron
2009-07-22 12:44:51 +12:00
Robert O'Callahan
b47de0a11e
Bug 500632. Suppress invalidation caused by parts inside collapsed scrollbars. r=dbaron
2009-07-22 12:44:49 +12:00
Joe Drew
6c441f55f7
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
...
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Steven Michaud
8bc55f5541
[OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic
2009-07-20 17:10:36 -05:00
Ehsan Akhgari
501c1de9a4
Fix the build bustage from bug 499377
2009-07-15 12:10:26 +04:30
fantasai
1a4e383ad9
Bug 499377 - Store float region on frame r+sr=roc
2009-07-14 22:19:31 -07:00
Peter Van der Beken
ed0899f1ce
Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
...
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
fantasai
678c355f17
Bug 503183 - Use Overflow Containers for float continuations beyond end of containing block r=roc
2009-07-13 09:50:54 -07:00
Benjamin Smedberg
7f34fe29a0
nsIPluginInstance.getMIMEType should be a [shared, const] parameter... it doesn't follow the normal XPCOM rules about allocating memory. r=josh sr=jst
2009-07-13 12:27:46 -04:00
Simon Montagu
650af63626
Check alt text for right-to-left characters and enable bidi processing if they are found. Bug 503269, r+sr=roc
2009-07-12 06:32:48 -07:00
Josh Aas
908cd606b2
Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc
2009-07-10 20:20:32 -04:00
Robert O'Callahan
301eb1e0b2
Bug 371839. Assertions that scan all continuations should bail out if the continuation chain is too long, so they don't add O(N) to algorithmic complexity. r=bzbarsky
2009-07-10 14:03:03 +12:00
Robert O'Callahan
8ce8b649b2
Bug 501295. pluginGetEdge should return coordinates relative to the window frame in the Win32 test plugin. Then we can enable test_plugin_position on Windows. r=jmathies
2009-07-10 14:03:00 +12:00
Josh Aas
c88c69078b
Get rid of nsMIMEType type. b=503025 r/sr=jst
2009-07-08 23:25:20 -04:00
L. David Baron
82e676a77f
Turn assertion into warning since we can hit it in large coordinate cases. (Bug 494237) r+sr=roc
2009-07-08 18:10:29 -07:00
Chris Pearce
a5c4a947e8
Bug 501535 - Don't update poster attribute on <audio> elements, only on <video>. r+/sr+ roc.
2009-07-07 14:02:06 +12:00
fantasai
be518814d7
Bug 389462 - columns don't reflow on resize r=roc
2009-07-06 18:23:24 -07:00
Robert O'Callahan
faf74419aa
Bug 488620. GTK2 test plugin should not assume that ancestor X windows have associated GTK widgets. r=karlt
2009-07-04 21:47:15 +12:00
Timothy Nikkel
b21de22a53
Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc
2009-07-04 21:30:59 +12:00
Graeme McCutcheon
1dae21f7e8
Add a mochitest-based reftest and remove the previously disabled reftest for bug 263683. r=roc
2009-07-03 21:12:06 +01:00
Josh Aas
d5e66a3fb6
Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst
2009-07-01 20:54:18 -04:00
Josh Aas
73eb23eeb9
Remove nsPIPluginHost. b=501388 r/sr=jst
2009-06-30 16:49:04 -04:00
Masayuki Nakano
adfdc27a90
Bug 486778 Spell checker's wavy line is sometimes drawn through misspelled words r+sr=roc
2009-07-01 01:52:16 +09:00
Josh Aas
4a7715939e
Bug 501194 - Remove nsplugin.h. r/sr=jst
2009-06-30 01:55:05 -04:00
Josh Aas
11468250a3
Windows bustage fix for bug 500889.
2009-06-29 15:38:09 -04:00
Josh Aas
c81455d12a
Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst
2009-06-29 14:53:52 -04:00
David Bolter
281b227c46
Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking
2009-06-29 14:36:25 -04:00
Daniel Holbert
3589586c5b
Bug 465651: Move ReflowOverflowContainerChildren earlier in nsBlockFrame::Reflow. r+sr=roc
2009-06-28 20:56:13 -07:00
Robert O'Callahan
a3da1d433e
Bug 500630. Clip Cocoa plugins to theheir bounds, so an errant plugin won't draw outside its bounds and leave artifacts. r=josh
...
--HG--
extra : rebase_source : 551f8124ba9afb8576106f38e7916cf8fd6f7111
2009-06-29 10:52:11 +12:00
Robert O'Callahan
62129c7d37
Bug 500556. Split FRAMETREE_DEPENDS_ON_CHARS bit into NS_CREATE_FRAME_IF_NON_WHITESPACE and NS_REFRAME_IF_WHITESPACE so we don't need to reframe for every data change. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 580aed3273c16e8402434a6f32d18dca542f29c0
2009-06-29 10:48:24 +12:00
Josh Aas
4e45156e64
Bug 500889 - Remove nsIPluginInstancePeer2 and nsIPluginInstancePeer3, part 1 for removing plugin instance peers. b=500889 r/sr=jst
2009-06-28 19:43:19 -04:00
Johnny Stenback
c773b6331b
Fixing bug 484744. Revert an IID change that broke the old Java plugin. r+sr=mrbkap@gmail.com
2009-06-26 07:57:26 -07:00
Josh Aas
8e7850a5bd
Bustage fix for bug 500593.
2009-06-26 10:54:51 -04:00
Chris Pearce
1a65d280a9
Bug 449156 - Implement HTMLVideoElement.poster, with correct reftests. r+=doublec,jst, sr+=roc
2009-06-26 19:25:17 +12:00
Chris Pearce
55076f0d9d
Backout bug 449156 due to test-poster-9 failure.
2009-06-26 18:25:03 +12:00
Chris Pearce
7bb427a394
Bug 449156 - Implement HTMLVideoElement.poster r+=doublec,jst sr+=roc
2009-06-26 16:23:14 +12:00
Josh Aas
4734a09527
Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst
2009-06-25 17:06:54 -04:00
Timothy Nikkel
1a1fb2ac05
Bug 458651. Text hidden with 'blink' should still receive events. r+sr=roc
...
--HG--
extra : rebase_source : cfde922d71be51795c3d3fa398faead1d00e2e55
2009-06-24 21:09:26 +12:00
Boris Zbarsky
4f8205dfe2
Bug 478465. Don't clobber our NS_FRAME_IN_REFLOW flag by scrolling. r+sr=roc
2009-06-23 21:35:00 -04:00
Karl Tomlinson
7fac57d2e7
b=495959 set NS_FRAME_CONTAINS_RELATIVE_HEIGHT for relative line-heights r=bz,dbaron
2009-06-20 13:39:40 +12:00
Josh Aas
ed0da293be
Minor Mac OS X plugin related cleanup, no bug. r=smichaud
2009-06-19 12:15:23 -04:00
Jesse Ruderman
296a1a61cd
Add a bunch of -moz-column crashtests
2009-06-18 19:17:24 -07:00
Robert Longson
1973deec58
Bug 486936 - image-rendering style should apply to canvas element. r=vladimir
2009-06-17 21:31:18 +01:00
Jesse Ruderman
6dfecd1f57
Add crashtest for bug 479938
2009-06-16 12:11:04 -07:00
L. David Baron
0d06184f97
Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky
2009-06-16 08:00:20 -07:00
L. David Baron
5cd3ba5141
Don't reduce the height we're checking while we reflow for floats. (Bug 494332) r+sr=roc
2009-06-16 08:00:20 -07:00
Josh Aas
ad98ea63ad
Fix some whitespace issues in nsObjectFrame.cpp. no bug, r/sr=sparky
2009-06-15 17:36:11 -04:00
Jesse Ruderman
8d01006bd7
Add crashtests
2009-06-12 19:21:09 -07:00
Timothy Nikkel
358f2be59b
Bug 491700 - "hang while resizing windows (CPU hits 100%, no interaction is possible)." r+sr=bzbarsky
2009-06-12 21:28:41 -04:00
Neil Rashbrook
9805c029f6
Bug 458231 Frame overflow plays havoc with size of <label> or <description> r+sr=roc r=dao for backout of workaround for bug 69710
2009-06-12 08:33:51 +01:00
Robert O'Callahan
430c7bf0dc
Bug 492837. If a scrollframe's reflow is interrupted, don't clamp the scroll position to the new size. r=bzbarsky
...
--HG--
extra : rebase_source : f0def3a670f208e5894cdbd650d395d991441c34
2009-06-12 13:46:33 +12:00
Boris Zbarsky
e0d84788ef
Bug 493649. Make sure that we never end up incomplete when our available height is unconstrained. r+sr=roc
2009-06-11 13:09:35 -04:00
Boris Zbarsky
da7a0478e4
Bug 493863. We might have stopped the loop right after reflowing a column, so put off the CheckForInterrupt on the column-set until after the loop. r+sr=roc
2009-06-11 10:35:08 -04:00
Arpad Borsos
be212f351c
Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc
2009-05-29 12:15:40 +02:00
Neil Deakin
79321ef1f8
Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE)
2009-06-10 14:00:39 -04:00
Henri Sivonen
2b33dab370
Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner
2009-06-09 10:41:19 +03:00
Ben Newman
009d7b155b
Bug 487750 - test_plugin_clipping.xhtml fails randomly. r+sr=bz
2009-06-04 14:46:13 -07:00
Robert O'Callahan
8c7da0cfb7
Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner
2009-05-28 17:01:42 +12:00
Jesse Ruderman
dddd44794e
Add crashtests
2009-05-26 11:53:12 -07:00
L. David Baron
7c71744210
Fix bug 25888 for inline frames other than bullets: redo line reflow when the line's height pushes it into the way of other floats. (Bug 25888) r+sr=roc
2009-05-20 07:21:34 -04:00
L. David Baron
bedec9616e
Implement a method on the float manager to get the largest width available within a height (rather than just at a point). (Bug 25888) r+sr=roc
2009-05-20 07:21:34 -04:00
L. David Baron
78f084eb30
Merge InitFloat into AddFloat (on nsLineLayout and nsBlockReflowState). (Bug 25888) r+sr=roc
2009-05-20 07:21:34 -04:00
Jonas Sicking
d378472c28
Bug 481566: Add prefs to control making the content sink more responsive. r/sr=mrbkap
2009-05-19 08:54:42 -07:00
Timothy Nikkel
ae2a85815d
Bug 493702. Paint subdocuments across iframe boundaries in print presentations when we don't have docshells. r=roc
...
--HG--
extra : rebase_source : 742a62c9d4940267fee10f58ed7b1ce26909be2a
2009-05-19 21:57:31 +12:00
Karl Tomlinson
1b9df1cee4
b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
...
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
Joe Drew
959ad4285f
Bug 493240. r+sr=bzbarsky
2009-05-16 17:16:33 -04:00
Arpad Borsos
70e2e8c94a
Bug 492937 - kill nsLineLayout::mPlacedFloats and related code; r+sr=roc
2009-05-14 11:31:35 +02:00
Timothy Nikkel
25b4c43458
Bug 492014. Wrap the display list for a subdocument in a wrapper which associates it all with the subdocument's owning element, so sorting-by-content doesn't try to reorder it. r=roc
2009-05-15 15:11:59 +12:00
Robert O'Callahan
dc397ecf0d
Bug 491960. Only reflow due to selection if we did or will have overflowing selection decorations. r=dbaron
2009-05-15 15:09:49 +12:00
Timothy Nikkel
13f0179fd9
Bug 491848. Ensure scripts are blocked during frame destruction. Also, don't dispatch paint events during a synchronous plugin message. r=roc
2009-05-15 15:08:41 +12:00
Karl Tomlinson
b5254172e4
b=491241 crash with windowless plugins when MOZ_COMPOSITED_PLUGINS is defined r=jrmuizel
2009-05-15 14:26:10 +12:00
Karl Tomlinson
c4c942a643
b=485125 reparent plugin widgets for delayed destruction. r=jst
2009-05-15 14:16:27 +12:00
Masayuki Nakano
feee8b464b
Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc
2009-05-15 09:46:24 +09:00
Arpad Borsos
5b33bf7a38
Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron
2009-05-13 10:26:48 +02:00
Robert O'Callahan
f34b7ae2c5
Bug 492480. Unregister placeholder relationship when we destroy out-of-flow frames, instead of trying to do it earlier in many places and not always doing it right. r+sr=dbaron
...
--HG--
extra : rebase_source : c9bedc1d7482b9c7ccf2878caded9320b92eb652
2009-05-14 09:35:02 +12:00
Boris Zbarsky
4062b17b73
Bug 492469. Better handling of end margins/borders/padding for frames that end up complete while having both fluid and fixed continuations. r+sr=dbaron
2009-05-13 12:38:58 -04:00
Arpad Borsos
319919e714
Bug 492520 - Optimize some Frame classes for memory usage; r+sr=roc
2009-05-12 12:13:09 +02:00
Arpad Borsos
bad0be068f
Bug 492510 - Optimize nsLineLayout for memory usage; r+sr=roc
2009-05-12 10:53:06 +02:00
Daniel Holbert
0947631c3a
Bug 490909: Remove old layout debugging code, patch #2 : remove 'VerifyTree' & related code. r+sr=dbaron
2009-05-12 12:03:09 -07:00
Simon Montagu
4ae0cfa1ee
Fix warnings caused by the patch for bug 492231. r+sr=roc
2009-05-12 01:18:27 -07:00
Boris Zbarsky
70c31886f4
Bug 480452. Make {ib} splits behave the same way with regard to margins, borders, and padding as inline frames that just have a line-break happening inside them do. r+sr=dbaron
2009-05-11 22:04:58 -04:00
Boris Zbarsky
e6259a26ac
Bug 78070. When the root element is removed, remove all frames except the viewport; when it's reinserted, recreate them as needed. r=roc,dbaron sr=roc
2009-05-11 22:04:58 -04:00
Simon Montagu
824ab9b61e
Do bidi reordering for visual RTL frames in the same way as other bidi frames. Bug 492231, r+sr=roc
2009-05-11 03:36:01 -07:00
Boris Zbarsky
6d240a975e
Bug 491537. Make sure to set dirty buts all the way up the tree when interrupting inside an abs pos child or child of a columnset. r+sr=dbaron
2009-05-09 22:57:47 -05:00
Boris Zbarsky
2ba0794803
Bug 492080. More correct marking of dirty bits on floats when we interrupt. r+sr=dbaron
2009-05-09 22:51:34 -05:00
Graeme McCutcheon
aba02829e6
Bug 348681 follow-up comment fix.
2009-05-09 22:36:17 +01:00
Graeme McCutcheon
0e41a51d57
Bug 348681 - Don't allow overlapping ranges in the selection. r+sr=roc
2009-05-09 22:30:19 +01:00
fantasai
07144c51fe
Fix bug 399412 - don't reflow overflow containers that are pending re-placement. r+sr=roc
2009-05-08 18:53:44 -07:00
L. David Baron
ef1d609c60
Traverse and unlink selection listeners. (Bug 490071) r+sr=peterv
2009-05-08 21:59:26 -07:00
Ryo Onodera
5e72993bff
Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
...
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Robert O'Callahan
d827a42b82
Bug 488901. When an element's size changes and it has borders, we don't necessarily need to invalidate the entire border-box --- if there is no right or bottom border, and other conditions are met. r+sr=dbaron
...
--HG--
extra : rebase_source : 24306ec844dab873cc9b580f32a383f0ccb769a5
2009-05-08 13:52:22 +12:00
L. David Baron
8c38aba811
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Vladimir Vukicevic
75d85ea612
b=488692; full page zoom broken with canvas; r=roc
2009-05-06 13:02:59 -07:00
Daniel Holbert
197a86fb76
Bug 490909: Remove old debugging functions InLineList & InSiblingList, since they're not used by anything. r+sr=dbaron
2009-05-06 10:03:59 -07:00
Boris Zbarsky
05780cc568
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Boris Zbarsky
de62e00f8f
Bug 491415. Need to initialize this member so we don't report bogus ascents. r+sr=roc
2009-05-05 01:01:47 -04:00
Simon Montagu
66916d4c11
Clear previous continuation's text run when destroying a continuation text frame. Bug 490747, r+sr=roc
2009-04-30 23:55:59 -07:00
tn
7afdd11636
Bug 490376 - Crash [@ nsDisplayList::GetBottom]; r=roc
2009-04-30 12:07:18 +02:00
Robert O'Callahan
0cc4169245
Bug 384037. Eliminate nsFrameNavigator and switch XUL splitters to using nsFrameList instead. Also add a check so that we don't crash when a splitter's parent is not a XUL box. r+sr=dbaron
...
--HG--
extra : rebase_source : 2438d96782b0d3c976fe7adf4f8e167811d76e64
2009-04-25 20:33:32 +12:00
Robert O'Callahan
0312246f4f
Bug 485121. Reenable test_plugin_position.xhtml
...
--HG--
extra : rebase_source : ba0d5f027b1990315a463452e8e7bbeb6a1bf28a
2009-04-10 13:16:53 +12:00
Robert O'Callahan
52b90a658d
Bug 485121. The screen coordinates for an element should be snapped to the nearest screen pixel, not rounded out, for consistency with the way we position native widgets and snap rectangle drawing. r=dbaron
...
--HG--
extra : rebase_source : 6fd7efc5516702118e5207b2ff8150dc1859c3e4
2009-04-10 13:15:47 +12:00
tn
eb440cb520
Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc
...
--HG--
extra : rebase_source : fd455bec928d342c184089dfba6c75191c4ea28d
2009-04-25 20:19:23 +12:00
L. David Baron
d02e7ef8c8
Mark the tests that were just disabled more clearly in the makefiles.
2009-04-24 15:45:34 -07:00
Bob Clary
70a1f43926
bug 421839 - disable test_bug421839-1.html.
2009-04-24 14:54:24 -07:00
Bob Clary
fe7b972357
bug 421839 - mochikit test by Martijn Wargers, Mats Palmgren.
2009-04-24 10:08:23 -07:00
Bob Clary
1fabadc3b9
bug 382745 - crash test by Martijn Wargers.
2009-04-24 10:08:19 -07:00
Bob Clary
64dde8dd7d
bug 368863 - crash test by Martijn Wargers.
2009-04-24 10:08:16 -07:00
Bob Clary
67e21765d3
bug 348887 - crash test by Martijn Wargers.
2009-04-24 10:08:15 -07:00
Bob Clary
8bf193e668
bug 289864 - crash test.
2009-04-24 10:08:08 -07:00
Daniel Holbert
b69a103884
bug 431260: check in crashtests
2009-04-23 15:25:57 -07:00
Boris Zbarsky
b089b71af3
Backed out changeset cad52cbe6537, since it still goes orange.
...
--HG--
extra : rebase_source : c9766eb6ec756b72753a562470216742bc3e6ce8
2009-04-23 15:36:55 -04:00
Boris Zbarsky
4db9a84e6a
Bug 489560. Trying to reenable the test for bug 488417
2009-04-23 13:53:44 -04:00
Simon Montagu
78c48d14b7
Enable bidi when a frame has right-to-left direction during style post-processing instead of frame construction to catch dynamic changes to direction. Bug 489517, r+sr=dbaron
2009-04-23 09:09:47 +03:00
Masayuki Nakano
3ad00a6eb6
Bug 482138 [TSF] nsTextFrame has to draw composition string by TIP specified style r+sr=roc
2009-04-23 12:27:12 +09:00
L. David Baron
bb58803c1f
Remove some unused AddRef/Release methods on frame classes. (Bug 488774) r+sr=roc
2009-04-22 10:13:48 -07:00
L. David Baron
200ef7b5a1
Fix miscellaneous typos in comments that I've had in my tree for ages.
2009-04-22 10:13:48 -07:00
Joe Drew
f38146cdaf
Backed out - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent hangs in Tp.
2009-04-21 23:02:55 -04:00
Joe Drew
64bbcf4155
Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs.
2009-04-21 23:02:17 -04:00
Boris Zbarsky
fad8f846fa
Disabling test for bug 488417 because it seems to be making mochitest unhappy for later tests somehow.
2009-04-21 21:35:28 -04:00
Boris Zbarsky
e5f6293681
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Boris Zbarsky
8cc25e3a5f
Trying to reenable test for bug 488417, with a test change to hopefully make the orange go away.
2009-04-21 19:53:13 -04:00
Boris Zbarsky
24dd4c66aa
Disable test for bug 488417 because it seems to be making mochitest unhappy for later tests somehow.
2009-04-21 17:57:53 -04:00
Boris Zbarsky
1c4f1309c3
Bug 488417. Need to hold strong refs to ranges across calling RemoveRange. r+sr=roc
2009-04-21 15:57:40 -04:00
Alexander Surkov
b6fb4536c3
Bug 483573 - Expose HTML5 video and audio elements' embedded controls through accessibility APIs, r=davidb, r=MarcoZ, sr=roc
2009-04-20 09:09:21 +02:00
Dão Gottwald
8312e171d1
merge
2009-04-18 10:53:57 +02:00
Dão Gottwald
ddb69df7b5
Backout bug 485275 (changeset 996c11579453) because of test failures
2009-04-18 10:53:27 +02:00
Bernd
b2a2dbc7f5
add some debug code to column reflow, bug 482106 r/sr=roc
2009-04-18 10:22:34 +02:00
tn
6af985ce18
Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc
2009-04-18 09:11:29 +02:00
Boris Zbarsky
307ccebf4c
Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
...
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
2009-04-08 12:56:16 -04:00
Robert O'Callahan
8a9fcacdc2
Back out GetScreenRect fix in bug 485121 in case it caused a test failure on Linux
2009-04-12 00:38:50 +12:00
Robert O'Callahan
f6094f2796
Backed out changeset b5f88bffb072
2009-04-12 00:38:16 +12:00
Robert O'Callahan
3cafc6c880
Backing out enabling of test_plugin_position.xhtml while we back out the fix for that test
2009-04-12 00:37:40 +12:00
Robert O'Callahan
0e3c2aa413
Backed out changeset 3dea9dc659dd
2009-04-12 00:37:09 +12:00
Robert O'Callahan
db73e45377
Bug 468491. When removing the continuations of a text frame, remove them starting at the end to avoid disrupting frame invariants by removing frames from the middle of the flow. r=dbaron
...
--HG--
extra : rebase_source : cc251f7dbc49568404aa2ebd7342e73b6d2fdf3a
2009-04-10 13:19:06 +12:00
Robert O'Callahan
213f467a73
Bug 485121. Reenable test_plugin_position.xhtml
...
--HG--
extra : rebase_source : c45e62e2f5d1e6dd975aa69edcd9e4b3cfe9c495
2009-04-10 13:16:53 +12:00
Robert O'Callahan
4104983df9
Bug 485121. The screen coordinates for an element should be snapped to the nearest screen pixel, not rounded out, for consistency with the way we position native widgets and snap rectangle drawing. r=dbaron
...
--HG--
extra : rebase_source : d76f8fa9b8b9096ad833708a913e9af05b22dcea
2009-04-10 13:15:47 +12:00
Boris Zbarsky
f016a3e7b6
Bug 487844. No need to mark self as NS_FRAME_IS_DIRTY just because our child list changed. r+sr=dbaron
2009-04-10 16:42:29 -04:00
Zack Weinberg
01403e2fa3
Bug 487831: Remove nsBox::(Get|Set)WasCollapsed, which are totally unused. r+sr=dbaron
2009-04-10 13:29:50 -07:00
Dão Gottwald
2b158c4a2f
Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg
2009-04-10 10:24:24 +02:00
Josh Aas
4175ddf55c
More OJI removal bustage fixes for static builds. b=485984
2009-04-10 00:30:44 -04:00
Josh Aas
c6a41e8074
Remove OJI from the tree. b=485984 r/sr=jst
2009-04-09 22:38:21 -04:00
L. David Baron
e4a4e2453e
Use a struct containing a rectangle and a boolean for float available space rather than passing them around separately. (Bug 25888) r+sr=roc
2009-04-08 13:52:37 -07:00
L. David Baron
f63606188b
Complete switch away from nsBlockReflowState::mAvailSpaceRect by removing the old members. (Bug 25888) r+sr=roc
2009-04-08 13:52:37 -07:00
L. David Baron
8db07256cc
Switch away from nsBlockReflowState::mAvailSpaceRect in nsBlockFrame::PropagateFloatDamage. (Bug 25888) r+sr=roc
2009-04-08 13:52:37 -07:00
L. David Baron
b901f2cb67
Switch away from nsBlockReflowState::mAvailSpaceRect for reflow of child blocks. (Bug 25888) r+sr=roc
2009-04-08 13:52:37 -07:00
L. David Baron
c82f0b7e2f
Switch away from nsBlockReflowState::mAvailSpaceRect for inline reflow. (Bug 25888) r+sr=roc
2009-04-08 13:52:37 -07:00
L. David Baron
9bba032aed
Switch away from nsBlockReflowState::mAvailSpaceRect for reflow of child floats. (Bug 25888) r+sr=roc
2009-04-08 13:52:36 -07:00
L. David Baron
5e6c45ce6a
Switch away from nsBlockReflowState::mAvailSpaceRect in bullet reflow, and simultaneously refix bug 427370 in a way that also fixes bug 428810. (Bug 25888) r+sr=roc
2009-04-08 13:52:36 -07:00
L. David Baron
095105cad5
Switch away from nsBlockReflowState::mAvailSpaceRect in nsBlockReflowState::AddFloat. (Bug 25888) r+sr=roc
2009-04-08 13:52:36 -07:00
L. David Baron
84174c3b60
Begin removing mAvailSpaceRect and mBandHasFloats from nsBlockReflowState by converting the current state-mutation GetAvailableSpace to a getter GetFloatAvailableSpace to replace it, and reimplementing the state mutation in terms of the getter. (Bug 25888) r+sr=roc
2009-04-08 13:52:36 -07:00
Vladimir Vukicevic
008463d971
b=483412; don't overaggressively invalidate on canvas drawWindow; r=roc
2009-04-08 13:27:20 -07:00
Boris Zbarsky
25164496ef
Backed out changeset 0ea22856b5d9 (bug 484448).
2009-04-08 15:56:43 -04:00
Boris Zbarsky
f70fe28e08
Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
...
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
rename : layout/reftests/table-anonymous-boxes/white-space-1-ref.html => layout/reftests/table-anonymous-boxes/white-space-ref.html
2009-04-08 12:56:16 -04:00
Boris Zbarsky
749e0df085
Bug 486547. Fix build bustage on Windows
2009-04-06 14:39:02 -04:00
Boris Zbarsky
f5f91b5ad4
Bug 486547 part 7. Simplify some more of the table code in nsFrameSelection. r+sr=smaug
2009-04-06 13:21:30 -04:00
Boris Zbarsky
5940e832d1
Bug 486547 part 6. Simplify some cell-related code in nsFrameSelection. r+sr=smaug
2009-04-06 13:20:32 -04:00
Boris Zbarsky
318b8f4046
Bug 486547 part 5. Switch various table cell selection stuff off nsIDOMRange. r+sr=smaug
2009-04-06 13:20:30 -04:00
Boris Zbarsky
d1064d6aa3
Bug 486547 part 4. Switch some more code off nsIDOMNode/nsIDOMRange r+sr=smaug
2009-04-06 13:17:38 -04:00
Boris Zbarsky
4c92001924
Bug 486547 part 3. Eliminate the Fetch*Node methods of nsTypedSelection. r+sr=smaug
2009-04-06 13:17:38 -04:00
Boris Zbarsky
e95b3b80d3
Bug 486547 part 2. Switch nsFrameSelection::mMaintainRange to storing nsIRange, not nsIDOMRange. r+sr=smaug
2009-04-06 13:17:38 -04:00
Boris Zbarsky
b4295b1789
Bug 486547 part 1. Switch nsTypedSelection to storing nsIRange, not nsIDOMRange, objects. r+sr=smaug
2009-04-06 13:17:37 -04:00
Robert Longson
b2f8e75361
Bug 486934 - video display should take account of image-rendering CSS property. r+sr=roc
2009-04-06 12:05:29 +01:00
Masayuki Nakano
f90ecec9a1
Bug 486708 Should lift up selection underline as far as possible if it overflows from the descent space r+sr=roc
2009-04-06 14:53:00 +09:00
Robert O'Callahan
f2a244d9a6
Disabling (new) failing mochitest
2009-04-06 16:50:06 +12:00
Jonathan Kew
bdab93a7ca
Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc
2009-04-06 12:31:50 +12:00
Robert O'Callahan
81a78803aa
Bug 485121. Support getting native geometry data from the test plugin on Mac and GTK2/X11. r=joshmoz,karl
...
--HG--
rename : layout/generic/test/test_character_movement.html => layout/generic/test/test_movement_by_characters.html
rename : layout/generic/test/test_word_movement.html => layout/generic/test/test_movement_by_words.html
2009-04-06 12:04:02 +12:00
Robert O'Callahan
2739cdda29
Bug 476062. Don't suppress box-shadows on elements with -moz-appearance in chrome documents. r+sr=dbaron
2009-04-06 11:35:53 +12:00
Neil Rashbrook
7689e2520b
Bug 385600 Fix nsPluginInstanceOwner allocator mismatches r+sr=jst
2009-04-05 13:57:07 +01:00
Robert Longson
7506754d85
Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc
2009-04-05 10:52:14 +01:00
Masayuki Nakano
88c1e2ba58
Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc
2009-04-03 16:26:28 +09:00
Jeremy D. Lea
39f62f1364
Bug 431634 - Part 1 - clean up header pollution; r+sr=roc
2009-04-01 13:59:02 -08:00
Robert O'Callahan
160bdca11d
Bug 476062. Instead of turning off -moz-appearance when an element has a box-shadow, just ignore the box-shadow. r+sr=dbaron
...
--HG--
extra : rebase_source : 68e79ec44afd089b93870a5d87ea549d5f04b9d6
2009-04-01 14:07:18 +13:00
Boris Zbarsky
a733b1435a
Removing unused variable. r=shaver, sr=make-gcc-happy
2009-03-31 13:54:27 -04:00
Olli Pettay
e92fe0f37a
Bug 484238 - no click event generated when div is clicked, r+sr=roc
2009-03-30 13:12:35 +03:00
Robert O'Callahan
49ff0034cc
Bug 485030. Don't restrict BuildDisplayList's dirty rect to a child's overflow area; then we can use the passed-in dirty rect to optimize the 'ignore scroll frame' case. r=dbaron
...
--HG--
extra : rebase_source : a0c489c3b33ccaf762293da7537d909f85d88782
2009-03-30 13:29:36 +13:00
Ryan VanderMeulen
0332a383e8
Bug 420811 - Convert broken-image.gif and loading-image.gif to PNGs. r+sr=mconnor
2009-03-22 09:57:04 +01:00
Robert O'Callahan
d9144e9c9a
Bug 480345. Handle painting of background images on pages which have no in-flow content. r+sr=dbaron
...
--HG--
extra : rebase_source : f5850e3bc173f054c4f7ca06b66c1551cfee5e00
2009-03-18 13:33:03 +13:00
Olli Pettay
52a6331cea
Bug 482976 - Crash [@ nsTextFrame::Reflow] on print preview with quote, r+sr=roc
2009-03-18 12:45:00 +02:00
Arpad Borsos
b8c7bb681a
Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part; r+sr=roc
2009-03-12 08:26:29 +01:00
Daniel Holbert
034a0b1945
Add crashtests for bug 394818
2009-03-11 17:40:57 -07:00
Daniel Holbert
cd65446299
Add one more crashtest for bug 363722
2009-03-11 17:27:20 -07:00
Daniel Holbert
74ce743b61
Adding crashtest for bug 363722
2009-03-11 17:07:04 -07:00
Daniel Holbert
7447c3a665
Add crashtest for bug 381152
2009-03-11 16:58:36 -07:00
Olli Pettay
ae535115ac
Bug 478245, fixing windows bustage
2009-03-11 18:22:47 +02:00
Olli Pettay
68a0322fcd
Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron
2009-03-11 17:43:08 +02:00
L. David Baron
159abd3cdd
Remove check for block being impacted by float that should no longer be needed given float damage propagation. (Bug 25888) r+sr=roc
2009-03-11 07:51:32 -07:00
Benjamin Smedberg
ca96f9405e
Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
...
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00
Karl Tomlinson
6a5bf5d169
backout dac7c3176b33 from bug 481881
2009-03-11 17:09:22 +13:00
Arpad Borsos
27f29d685d
Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, layout part r+sr=roc
2009-03-11 15:26:36 +13:00
arno renevier
b168eaa88e
Arno Renevier - Bug 481960 - mIsEditor in nsFrameSelection is not used anywhere
2009-03-07 00:39:32 +01:00
Olli Pettay
468b832900
Bug 425265, r=roc, sr=bz
2009-03-08 21:01:02 +02:00
Boris Zbarsky
2423744439
Bug 481688. Stop firing our DOMLink* events to content. r+sr=smaug
2009-03-06 13:12:20 -05:00
Stuart Parmenter
75e52ee8cb
bug 480233. Make the display list item that canvas uses for painting know about the opacity of the canvas. r/sr=roc
2009-03-05 05:43:45 -08:00
Benjamin Smedberg
0d75171d68
Reorder functions in nsFrame.h to wallpaper over a dehydra bug (probably GC timing somewhere in the static analysis stack). rs=bz (bug 481454 covers finding and fixing the dehydra bug)
2009-03-05 10:01:04 -05:00
Daniel Holbert
7207931cc5
whitespace-only: fix indentation of 'aPresContext' arguments in function headers within nsPageFrame.cpp
2009-02-26 15:47:03 -08:00
Olli Pettay
08022b8871
Bug 466856 - Crash [@ nsTypedSelection::CopyRangeToAnchorFocus], r+sr=roc
2009-02-26 18:36:34 +02:00
Robert O'Callahan
0e9a1e6846
Bug 479936 - Correctly handle sizing of video elements
2009-02-26 20:04:42 +13:00
Robert O'Callahan
12706db074
Bug 480053 - Fix z-ordering of scrollbars to match Webkit/IE8. r+sr=dbaron
2009-02-26 20:00:36 +13:00
Jeff Muizelaar
de647c8035
Bug 442109 - youtube videos don't play; r=vladimir
2009-02-25 16:25:12 +01:00
Johnny Stenback
3d56357332
Fixing bug 475646. Don't call GetPeer() on plugins as it's apparently not safe to do so on all plugins. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu
2009-02-24 16:28:35 -08:00
Boris Zbarsky
65991321a8
Bug 371561. Use the right codepath for absolutely positioned tables so that they get a useful containing block. r+sr=dbaron
2009-02-24 13:38:20 -05:00
Jonathan Kew
94391277aa
Bug 479276. Support a new kind of glyph bounding-box: TIGHT_HINTED_OUTLINE_EXTENTS, and use it to stop MathML spacing depending on exact ink extents. r+sr=roc
...
--HG--
extra : rebase_source : 43f9009f6457361e690062f87b2e5fda4041dc48
2009-02-24 21:32:58 +13:00
Robert O'Callahan
b1dd1c04eb
Bug 472776. Don't accidentally clear TEXT_IN_TEXTRUN_USER_DATA after we just set it. r=smontagu
...
--HG--
extra : rebase_source : 1d7f12a729e471871cb6b610461f9b4eee2c64ae
2009-02-24 21:27:48 +13:00
Peter Annema
e0d504dda0
Fix Firefox-Ports Solaris build bustage.
2009-02-22 08:38:52 -08:00
Martijn Wargers
4e26b61b26
Crash test for bug 470212.
2009-02-21 17:15:07 +01:00
Jesse Ruderman
f25f92b98a
Add crashtests
2009-02-20 19:38:16 -08:00
Masayuki Nakano
688c40bcf9
Bug 478862 After bug 347185 the keys Backspace and Tab no longer work as expected in a flash application r+sr=roc
2009-02-20 16:42:29 +09:00
L. David Baron
fa9a21c33d
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 21:29:21 -08:00
Zack Weinberg
6cd01999d3
Bug 470250 - draw middle border image even if the border width is zero on all four sides r+sr=dbaron
2009-02-20 17:13:47 +13:00
L. David Baron
df69c83ca7
Remove PerFrameData::mFrameType, since it's write-only. (Bug 478899) r+sr=bzbarsky
2009-02-19 13:55:48 -08:00
L. David Baron
2eb748571c
Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related.
2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 12:33:09 -08:00
Mats Palmgren
f1bdfe1672
Temporarily forget the line container while calculating widths for next-in-flow children. b=477928 r+sr=roc
2009-02-19 21:18:52 +01:00
L. David Baron
db9e9b7806
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-19 11:03:28 -08:00
L. David Baron
9e2237e480
Fix nsBlockFrame warning about child being used uninitialized in FindLineContaining by switching while to do-while. (Bug 477963) r+sr=roc
2009-02-19 09:48:37 -08:00
L. David Baron
a91aa25ab0
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
77ea261e1c
Remove PerFrameData::mFrameType, since it's write-only. (Bug 478899) r+sr=bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
51ef1de194
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
a5c13ba6b5
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-19 07:29:27 -08:00
Jeremy D. Lea
b9a1696e34
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
...
--HG--
extra : rebase_source : 4a35ccdcafbe8a0a9dded9f292a139b4679709e3
2009-02-18 16:11:49 -08:00
L. David Baron
8b207bcc51
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
0144cd1c8b
Remove PerFrameData::mFrameType, since it's write-only. (Bug 478899) r+sr=bzbarsky
2009-02-18 17:13:25 -08:00
L. David Baron
366992262c
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-18 17:13:25 -08:00
L. David Baron
29c43121c7
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2009-02-18 17:13:24 -08:00
L. David Baron
d65dcf5c80
Fix nsBlockFrame warning about child being used uninitialized in FindLineContaining by switching while to do-while. (Bug 477963) r+sr=roc
2009-02-18 17:13:24 -08:00
Zack Weinberg
1100dca795
Fixing bug 473580. Disable drawWindow for sun java to avoid pegging the CPU. r=vladimir@pobox.com, sr=jst@mozilla.org
2009-02-18 17:03:54 -08:00
Boris Zbarsky
bc40ae5f4d
Bug 478820 part 1. Reorganize ConstructFrameByDisplayType a bit in the block/inline department. r+sr=roc
2009-02-18 08:25:29 -05:00
Simon Montagu
209c6fcce0
Remove comment based on old version of CSS3 Lists spec. Comment-only change from bug 390440, rs=bz
2009-02-17 13:26:52 -08:00
Zack Weinberg
bea9955522
Bug 476557. Update view manager cache of page background color in PresShell::Paint, not nsCSSRendering::PaintBackground; permits a small API cleanup. r+sr=roc
...
--HG--
extra : rebase_source : dcf1475dd8b695eb18513e97ca35b08a4affd19f
2009-02-16 14:11:34 +13:00
Boris Zbarsky
d44d4a7243
Bug 478267. Make sure to set our overflow area correctly for objects even in cases without box-shadow. r+sr=roc
2009-02-15 13:14:32 -05:00
Serge Gautherie
5ec9f53e89
Backed out changeset: 719dca3419b5
2009-02-15 18:41:16 +01:00
Jeremy Lea
b82cdbd258
Bug 476726 - deCOMtaminate WidgetToScreen and ScreenToWidget; r+sr=roc
2009-02-15 17:41:06 +01:00
Jesse Ruderman
f154077a31
Add crashtests
2009-02-13 14:54:17 -08:00
Robert O'Callahan
4d1107bd14
Bug 468771. Make sure to reflow the last column of a column-set if we're changing its height to be unbounded; it needs to pull all the content from the extra column, if there is one. r+sr=dbaron
...
--HG--
extra : rebase_source : a285d26735ef7c0cddb0f8ff21504c52cd4346fc
2009-02-11 14:20:59 +13:00
Mats Palmgren
3aa5a63403
Crash test for bug 421671 and bug 444027.
2009-02-10 20:24:07 +01:00
Mats Palmgren
f0978053f2
Keep track of the line container and forget the current line if it's for a different container. b=444027 r+sr=roc
2009-02-10 10:23:05 +01:00
Michael Ventnor
b480b09ba3
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
Jesse Ruderman
5f1cc5c3ce
Add a bunch of crashtests
2009-02-10 00:09:40 -08:00
L. David Baron
5fe09edd17
Remove nsStyleContext::DumpRegressionData, code that uses it, and code that exists only for it. (Bug 477522) r+sr=bzbarsky
2009-02-09 20:36:54 -08:00
L. David Baron
850e8b403f
Avoid calling PlaceBlock and unsetting dirty bits that we still need when an ancestor is going to reflow for clearance. (Bug 476357) r+sr=roc
2009-02-09 20:36:54 -08:00
Jesse Ruderman
2e1fda752f
Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744
2009-02-07 21:33:31 -08:00
Robert O'Callahan
b3824840d3
Bug 472950. Restrict the lazy-parent-pointer optimization so it isn't used if we already have child frames. r=dbaron
2009-02-07 21:34:27 +13:00
L. David Baron
d9b03ef68c
Invalidate the correct area when loading an image for which we've displayed the loading-image icon. (Bug 409870) r+sr=bzbarsky r=roc
2009-02-06 08:52:13 -08:00
Boris Zbarsky
6f9a0da875
Bug 299837. Implement text-align:end. r+sr=dbaron
2009-02-05 22:48:30 -05:00
Jonathan Kew
534bc96e01
Bug 476378. Use U+002D instead of U+2010 for a soft hyphen if the first font in the fontgroup doesn't have a glyph for U+2010. r+sr=roc
2009-02-05 21:23:50 +13:00
L. David Baron
c7db9ce60f
Keep width of avail space rect at least 0. (Bug 476372) r+sr=roc
2009-02-04 13:24:17 -08:00
Gordon P. Hemsley
5b02bee2db
Bug 476295. Remove unused prescontext local. r+sr=bzbarsky
2009-02-03 10:40:38 -05:00
Arpad Borsos
829f9f024a
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
Johnny Stenback
9e383f5a28
Fixing bug 474022. Make sure we always stop plugins, no matter how they were started. r=smichaud@pobox.com, sr=bzbarsky@mit.edu
2009-02-02 17:23:48 -08:00
Craig Topper
77f45c4dcd
Bug 474954. No frames need to implement nsISVGValue anymore. r+sr=roc
...
--HG--
extra : rebase_source : edd574369880b1745f0d5c33277fbcd5e5318dd3
2009-01-30 20:17:29 +13:00
Michael Ventnor
5d8a255f31
Bug 474723. Allow box-shadows to display on plugins by ensuring nsObjectFrames get the right overflow area. r+sr=roc
...
--HG--
extra : rebase_source : d58e810f0e3f82d2c81a09c3dc67c7800f5333ff
2009-01-30 20:05:46 +13:00
L. David Baron
a1538274bb
Stop reflowing the viewport with constrained height. (Bug 467881) r+sr=roc
2009-01-29 12:39:22 -08:00
L. David Baron
c3eeb84be5
Fix whitespace in DisplayReflowExit.
2009-01-29 12:39:22 -08:00
Boris Zbarsky
3574872d3a
Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc
2009-01-29 14:46:17 -05:00
Theppitak Karoonboonyanan
39fd2c6edd
Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv.
2009-01-27 13:50:32 +01:00
Robert O'Callahan
5e04905dff
Backed out accidentally committed 192d50641f83
...
--HG--
extra : rebase_source : 0a574802c654de30fc3c0dd68b3492a8d6cc4209
2009-01-26 20:46:56 +13:00
Robert O'Callahan
57feb73e0d
Bug 451958 ... reverting the content-policy part to see if it alone is responsible for weird random seek failures on Windows.
2009-01-26 20:44:15 +13:00
Johnny Stenback
b1945926a3
Fixing bug 474866. Make the plugin instance peer have a weak reference to its owner, and make the owner tell the peer once it's no longer its owner so we don't have reference cycles, yet the instance can hold on to its peer while being cached between pages. r+sr=mrbkap@gmail.com
2009-01-25 22:00:12 -08:00
Markus Stange
d93c06d57d
Bug 469613 - Page scrolling by clicking the scrollbar track can get stuck if the page is very long, r+sr=roc
2009-01-24 16:47:17 +01:00
Axel Hecht
8a52a20306
Backed out bug 462188, changeset 10dfe13222aa, due to mochitest hang.
...
--HG--
extra : rebase_source : 04df751be990ce4652f5a7d17579744ea6c64aa3
2009-01-24 13:41:12 +01:00
Theppitak Karoonboonyanan
569850469d
Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv
...
--HG--
extra : rebase_source : 3c393351939ad7c475604ed0bc5591e87e36b2ae
2009-01-24 22:01:05 +13:00
Jesse Ruderman
a4020920b6
Test for bug 445288.
2009-01-24 05:25:10 +01:00
Daniel Holbert
c04774b33f
whitespace-only: fix bad parameter-indentation in nsSubDocumentFrame::Reflow
2009-01-21 22:52:54 -08:00
Boris Zbarsky
ab5fa0c6e8
Bug 473390 part 3. Move some HTML frame construction assertions out of the frame constructor and into the relevant frame creation methods. r+sr=roc
2009-01-19 13:31:31 -05:00
Boris Zbarsky
c0de154bc2
Bug 473390 part 2. Call SetInitialChildList on HTML frames even if the child list is empty, to bring HTML in line with everything else. r+sr=roc
2009-01-19 13:31:31 -05:00
Peter Van der Beken
78527f8037
Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz.
2009-01-14 13:24:10 +01:00
Robert O'Callahan
ef41e78ff4
Bug 472909. Need to call FinishSettingProperties on nsTranformedTextRuns that we create as parts of other transformed textruns. r=smontagu
...
--HG--
extra : rebase_source : 38adef908b1ec8d6fcc97b1b6cb42690733ae752
2009-01-16 21:17:46 +13:00
Walter Meinl
ed775713d7
[OS/2] Bug 473906: follow-up to Bug 448830 - Split nsInt(Rect|Size|Point|Margin), r=weilbacher
2009-01-17 10:08:00 +01:00
L. David Baron
e11583f7ec
Backed out changeset 9b832d90d637 (bug 462188) due to 7 test failures on Linux and 1 on Windows (0 on Mac).
2009-01-16 15:00:40 -08:00
Theppitak Karoonboonyanan
4169a80855
Bug 462188: Fix deletion of words (Ctrl-Backspace/Option-Delete) in HTML editing. r+sr=peterv
2009-01-16 13:32:09 -08:00
Boris Zbarsky
1073781098
Adding test
2009-01-15 15:30:37 -05:00
Jeremy Lea
1800930122
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Peter Van der Beken
84d3eabc50
Back out changeset 9fd8740decb8 (Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles).) to try to fix orange.
2009-01-14 15:12:37 +01:00
Peter Van der Beken
4189af9d67
Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz.
2009-01-14 13:24:10 +01:00
David Zbarsky
8d8553ee41
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Daniel Holbert
28bd582ea8
Bug 519875: Rename SpacerFrame::GetType method to GetSpacerType so that it won't hide inherited method nsFrame::GetType. r=dbaron
2009-10-01 00:19:21 -07:00
Jesse Ruderman
0949e107d7
Bug 499611 - Instrument nsLineList for trace-refcnt. r=dbaron
2009-09-29 18:34:46 -07:00
Boris Zbarsky
5c641e6c2b
Bug 512471. Make nsBlockFrame's mFrames track its principal child list. r=roc,fantasai
2009-09-29 15:47:05 -04:00
Timothy Nikkel
38273580a9
Bug 499607. Stop leaking nsBlockFrame's overflow nsLineList's. r=fantasai sr=dbaron
...
--HG--
extra : rebase_source : 925847bda80e1b917af99119a11d0fb90ec479e8
2009-09-28 20:23:33 -05:00
Neil Deakin
a11c6e6243
Bug 516615, when capturing, check if the target frame's content is a descendant of the capturing content, rather than using the frame tree, r=roc,sr=smaug
2009-09-28 10:17:01 -04:00
Geoff Lankow
bd900ff5fd
Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron
2009-09-26 13:23:47 -07:00
Steven Michaud
89701df418
Bug 516249 - [10.6] Wrong event modifiers passed to plugin on switching Spaces with Ctrl-<number key>. r=josh
2009-09-25 15:10:04 -05:00
Graeme McCutcheon
f9440e42ac
Bug 510575 - fix calculation of bounds in nsTypedSelection::GetIndicesForInterval, and ensure range adding code always checks for duplicates. r=roc
2009-09-25 11:11:42 +01:00
Josh Aas
70134898a3
Stop sending bogus (incomplete) events to plugins on Mac OS X when the object frame is asked to handle events we don't care about. b=518135 r=roc
2009-09-24 17:03:50 -04:00
Markus Stange
36822e5cf2
Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc
2009-09-24 18:18:10 +12:00
Roy Frostig
049a9fbdc8
Bug 514732. Issue a DOM event for document resizing. r=smaug sr=roc
2009-09-11 16:13:56 -07:00
Mats Palmgren
cf4ae83f1a
Store the overflow out of flows as an nsFrameList. b=516974 r=bzbarsky
2009-09-24 04:39:21 +02:00
Daniel Holbert
5b26d7d11e
Bug 465928 followup: correct typo in enum name - s/PERSERVE/PRESERVE/. No functional changes. r=roc
2009-01-13 12:28:28 -08:00
Benjamin Smedberg
469b7ca86d
Minor static-checking fixup: give a useful location for the "frame inherits from nsIFrame and nsISupports" warning, NPODB
2009-01-13 11:32:25 -05:00
Jesse Ruderman
118aad7d87
Add crashtest
2009-01-12 16:24:44 -08:00
Benjamin Smedberg
08c8aadf40
Add a static analysis pass to verify that for any do_QueryFrame<Interface> there is an Interface::kFrameIID declared. NPODB, static-checking only.
...
--HG--
extra : rebase_source : 0bcfa5b446d0c19610d9d61dd7e281d3923c8736
2009-01-12 14:21:11 -05:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Phil Ringnalda
b6fe1a7700
Builds are neccesary, even if you can spell necessary, and even in a CLOSED TREE
2009-01-11 00:46:35 -08:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Dave Townsend
0587e6973b
Backed out changeset fe759e3fd895 from bug 469613 due to mochitest failures
2009-01-09 13:46:45 +00:00
Markus Stange
061513f78b
Bug 469613 - Page scrolling by clicking the scrollbar track can get stuck if the page is very long, r+sr=roc
2009-01-09 10:05:24 +01:00
Michael Ventnor
318cfd2e10
Bug 472410. Don't adjust selection colors if the background is a -moz-appearance that we can't know anything about. r+sr=roc
2009-01-09 13:29:38 +13:00
Robert O'Callahan
cca5e6840b
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2009-01-09 13:23:28 +13:00
Robert O'Callahan
ec55ad45cf
Bug 440149. Don't break after empty text at the start of the line, even if we're past the available width. r=smontagu
2009-01-09 13:13:45 +13:00
Mats Palmgren
6d4b0667d0
DEBUG: Make nsBlockFrame::List really print the overflow lines. b=472193 r+sr=roc
2009-01-08 22:17:53 +01:00
Uri Bernstein
def95c60da
Set mMaintainRange to null when there is no selection. b=470212 r=mats sr=roc
2009-01-08 22:17:49 +01:00
Jesse Ruderman
22cd32241d
Add five crashtests
2009-01-06 16:47:56 -08:00
Boris Zbarsky
709cd54c51
Bug 284320. Remove the contentParentFrame hack in subdocument frames, along with the no-longer-used arg it used to be used for. r+sr=roc
2009-01-06 17:29:50 -05:00
L. David Baron
ae71ba3f9c
Change code for handling out-of-nscoord-range values from NS_NOTREACHED to NS_WARNING. (Bug 472218) r+sr=roc
2009-01-06 15:21:00 -08:00
L. David Baron
56e0a57776
Fix tests to match what they should have been testing, and fix nsFloatManager behavior to match what the old code actually did as far as considering floats at the side that did not protrude into the containing block. (Bug 472252) r+sr=roc
2009-01-06 15:21:00 -08:00
L. David Baron
add2ce5a81
Add nsTArray<E>::TruncateLength, which is like SetLength, except only allows shortening of the array. (Bug 191448) r=bsmedberg
2009-01-06 15:21:00 -08:00
Benjamin Smedberg
720c4f5577
Bug 472348 - Some unused variables found by combing the warning database, rs=bz
2009-01-06 14:25:58 -05:00
Robert O'Callahan
0e5439fe27
Bug 429968. Handle situations where first-letter text detects first-letter style should not be applied, by creating a zero-length 'first letter'. r+sr=dbaron
...
--HG--
extra : rebase_source : 650611aec3adb1498dc5d8d6d38212ddf09e32fc
2009-01-05 13:36:56 +13:00
L. David Baron
8f4b3155dc
Give nsFloatManager::FloatInfo a copy constructor to avoid confusing refcount logging. (Bug 191448)
2009-01-04 20:25:58 -05:00
L. David Baron
eee42cfdd7
Replace space manager with a more limited float manager. (Bug 191448) r+sr=roc
...
--HG--
rename : layout/generic/nsSpaceManager.cpp => layout/generic/nsFloatManager.cpp
rename : layout/generic/nsSpaceManager.h => layout/generic/nsFloatManager.h
2009-01-04 19:39:54 -05:00
L. David Baron
57a8e776d8
Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc
2009-01-04 19:39:54 -05:00
L. David Baron
82d6666100
Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc
2009-01-04 14:52:38 -05:00
L. David Baron
b3d748ba11
Fix some missed renames from bug 471356. r+sr=bzbarsky
2009-01-04 14:52:38 -05:00
Arpad Borsos
318ec6121d
Bug 471877 - Cleanup GTK includes; r+sr=roc
2009-01-03 08:37:52 +01:00
Jesse Ruderman
cf4b91bb09
Add 19 crashtests
2009-01-01 14:18:58 -08:00
Jonathan Kew
29eda950fd
Bug 470418 - Leak nsStyleContext with RTL, text-transform; r,sr=roc
2009-01-01 16:34:13 +03:30
L. David Baron
23d4f4d4b2
Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
...
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
c48e8cee0e
Fix regression in CalcQuirkContainingBlockHeight from change from area frame to block frame in bug 243519. (Bug 471356) r+sr=roc
2008-12-29 10:07:38 -05:00
L. David Baron
d52dad5b98
Give nsPageBreakFrame a frame name for DEBUGging code. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Robert O'Callahan
374cd3a20b
Bug 449142. Scale video so that it fits in the content-box of the element and has the same aspect ratio as the video source. Also adds some Ogg video reftests. r=doublec,sr=dbaron
2008-12-29 21:20:27 +13:00
Robert O'Callahan
0731a2c4f4
Bug 458296. When a block doesn't carry out the bottom-margin of its children, add that bottom-margin to its overflow area. Also, add the bottom-padding of a scrolled block to its overflow area. r+sr=dbaron
2008-12-29 21:18:40 +13:00
Robert O'Callahan
b817cb2bbf
Bug 469203. Don't try to make toplevel HTML documents transparent, it just doesn't work and the window can disappear in a mysterious way. r+sr=dbaron
2008-12-29 21:17:08 +13:00
L. David Baron
33efe12a98
Fix placement of video controls when top and right padding are different. (Bug 470596) r+sr=roc
2008-12-27 20:58:14 -05:00
L. David Baron
5a497c7cb3
Fix an off-by-border-and-padding error in nsVideoFrame::BuildDisplayList. (Bug 470596) r+sr=roc
2008-12-27 20:58:14 -05:00
L. David Baron
8458c5b6b6
Make 'word-spacing: normal' just compute to '0', since that's what CSS 2.1 says to do, and thus change nsStyleText::mWordSpacing from nsStyleCoord to nscoord. (Bug 470705) r+sr=roc
2008-12-27 20:58:14 -05:00
Jesse Ruderman
f4f6dd881a
Tests for bug 435529 and bug 436823.
2008-12-26 00:15:48 +01:00
L. David Baron
16aba7fd6b
Set up image loaders before reflow for border-image in XUL just like for HTML. (Bug 468473) r+sr=roc
2008-12-23 09:06:56 -05:00
Joe Drew
a29562512b
Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad
2008-12-19 17:35:50 -05:00
Ehsan Akhgari
0f987d9366
Bug 470376 - Compiler warnings from landing of bug 441782; r,sr=roc
2008-12-19 14:37:09 +03:30
Ehsan Akhgari
ca2a90bdee
Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc
2008-12-18 23:42:53 +03:30
Robert O'Callahan
9f318c485c
Backed out changeset dcd1ad7a918e
2008-12-18 16:05:16 +13:00
Robert O'Callahan
274f89ff0d
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2008-12-18 14:13:23 +13:00
Robert O'Callahan
25641e6ca4
Bug 467487. Use a better and more explicit check for the case where a text frame's textrun doesn't map enough text for the frame. r=smontagu
...
--HG--
extra : rebase_source : d9f9f7f8d7b84622b3be4f951133074ef7f5846d
2008-12-17 15:14:33 +13:00
Robert O'Callahan
f7a310640f
Bug 467150. Don't clear textruns just because we destroy an empty nsContinuingTextFrame. r=smontagu
...
--HG--
extra : rebase_source : e8d17c0cf1d35f450e62a8b6a35340855395ef72
2008-12-17 15:12:47 +13:00
Robert O'Callahan
ed66190092
Bug 449149. Implement the 'controls' attribute for audio elements. r+sr=bzbarsky,r=dolske,r=enndeakin
...
--HG--
extra : rebase_source : 4d11b963d3082f98269069c68aae33eef365aacb
2008-12-17 13:27:46 +13:00
Markus Stange
c15f2b9d7f
Forgot to add the braces in changeset 58f409bbc149 (bug 391984)
2008-12-15 14:43:31 +01:00
Masayuki Nakano
229283883c
Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc
2008-12-15 12:54:54 +09:00
Graeme McCutcheon
4d0acd8eae
Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc
2008-12-12 14:25:22 -05:00
Robert O'Callahan
46299947fc
Backed out changeset 0cb24a4bcd9b
2008-12-13 00:09:56 +13:00
Robert O'Callahan
a6a68372fb
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2008-12-12 21:37:59 +13:00
Markus Stange
975559338c
Bug 391984 - [10.5] Add roundness to context menus, r=josh sr=roc
2008-12-11 15:37:38 +01:00
Robert Sayre
58f4455a2a
Backout JOEDREW! patches for bug 89419 and bug 393936. Looks like they make mochitest leak.
2008-12-11 01:27:58 -08:00
Joe Drew
294499eab5
Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad
2008-12-10 16:25:34 -08:00
Neil Rashbrook
be9757b050
Bug 468421 Fix assertion to include other valid cases r+sr=roc (debug-only code)
2008-12-10 12:46:02 +00:00
Robert O'Callahan
088a6b0690
Bug 458898. Make sizeToContent work for HTML documents by ensuring CanvasFrame converts an UNCONSTRAINEDSIZE computed height into its actual desired height. r+sr=dbaron
2008-12-09 13:33:46 +13:00
Robert O'Callahan
bfa41e8f5e
Merged to trunk
2008-12-08 20:52:15 +13:00
Robert O'Callahan
a36f118655
Bug 463242. Ideographic spaces should not get CSS word-spacing, but nonbreaking spaces should. r+sr=dbaron
2008-12-08 14:11:38 +13:00
Mats Palmgren
dd7b00661b
Backing out the tests for bug 421839 to try to fix Tinderbox orange.
2008-12-08 01:58:48 +01:00
Robert O'Callahan
bbdc2a9552
Bug 465913. Don't need to call BreakFromPrevInFlow in nsContainerFrame::DeleteNextInFlowChild. r+sr=dbaron
2008-12-08 13:39:11 +13:00
Mats Palmgren
d6a5513492
Crash test for bug 421839.
2008-12-08 00:11:48 +01:00
Mats Palmgren
1dc0d756d8
Don't crash if views were destroyed while flushing notifications. b=421839 r+sr=roc
2008-12-08 00:11:37 +01:00
Mats Palmgren
d188234a59
Fix the parent pointer for ::first-letter child frame next-in-flows. b=401042 r+sr=roc
2008-12-07 19:21:40 +01:00
L. David Baron
b20fd8f22b
Add a test for bug 468167
2008-12-07 11:22:12 +01:00
Markus Stange
05944a7f56
Partial backout of changeset cfc553938038 (bug 463042) in order to fix bug 468167, "Deleting selected top of document (from below) no longer scrolls what remains into view".
2008-12-07 11:19:47 +01:00
Serge Gautherie
d6255d3171
Backed out changeset: d98cdb0cdd15
2008-12-05 19:26:52 +01:00
Mike Kaplinskiy
b51abf4b07
Bug 440614 - text entry field unable to take focus; r=(bzbarsky + jst + peterv) sr=peterv
2008-12-05 17:27:02 +01:00
L. David Baron
c95d61afc0
Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+
2008-12-04 08:09:53 -08:00
Markus Stange
76daa5a7da
Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc
2008-12-02 14:18:08 +01:00
Robert O'Callahan
4d8d186dd2
Backing out bug 455826 to try to fix Windows orange.
2008-12-04 15:32:15 +13:00
Robert O'Callahan
7b4bd93240
Backed out changeset aaeb20c61fca
2008-12-04 15:31:42 +13:00
Robert O'Callahan
d2399b84fa
Bug 455826. Don't reconstruct textruns just because we deleted an empty nsContinuingTextFrame. r=smontagu
2008-12-03 09:40:02 +13:00
Robert O'Callahan
70ba87beed
Backing out bug 458898 to try to fix Windows orange
2008-12-04 00:42:49 +13:00
Robert O'Callahan
5364eb1faf
Backed out changeset 357d1c01bde3
2008-12-04 00:42:02 +13:00
Olli Pettay
69276b94ff
Bug 465732 - Don't invalidate plugin after scrolling, r=smichaud, sr=roc
2008-12-03 11:59:33 +02:00
Olli Pettay
70ce07ded0
Bug 467295 - Plugin timer is re-created everytime the page is scrolled, r=josh,sr=roc
2008-12-03 11:30:40 +02:00
Simon Montagu
3ebc1e4e68
Update Unicode data files to Unicode version 5.1. Bug 427350, r=jdaggett
2008-12-03 10:11:01 +02:00
Simon Montagu
3363523acc
Delete all text frame continuations when deleting first letter frame. Bug 466763, r+sr=roc
2008-12-02 22:56:53 -08:00
Robert O'Callahan
7fa4d507b4
Followup comment change for bug 465928.
2008-12-03 14:50:22 +13:00
Robert O'Callahan
f9d2d59b5e
Bug 465928. Avoid SetInvalidateTextRuns being called by nsBlockFrame::DoRemoveFrame when we're just deleting empty continuation frames. r+sr=dbaron
2008-12-03 14:27:19 +13:00
Michael Ventnor
e02630a781
Bug 458031. Take dirty rect into account to limit box-shadow computation. r+sr=roc
2008-12-03 10:16:22 +13:00
Robert O'Callahan
c06c17a0c2
Bug 458898. Fix intrinsic sizing of windows by ensuring CanvasFrame converts an NS_UNCONSTRAINEDSIZE desired height to its actual desired height. r+sr=dbaron
2008-12-03 09:50:16 +13:00
Jesse Ruderman
050af4beec
Add bug 457375 crashtest using the crashtest.diff created by Mats
2008-11-29 19:04:37 -08:00
Jesse Ruderman
5293e9c546
Add bug 452157 crashtests (using the 'crashtests patch' created by dholbert)
2008-11-29 19:01:30 -08:00
Jesse Ruderman
24852c3aec
Add bug 443528 crashtest (based on the crashtest.diff created by Mats) to CLOSED TREE
2008-11-29 18:57:00 -08:00
Jesse Ruderman
d4f3757275
Add bug 345139 crashtest on CLOSED TREE
2008-11-29 18:27:26 -08:00
L. David Baron
16009115b3
Use larger values for no-minimum and no-maximum so that we don't cross them. (Bug 466395) r+sr=roc a191=beltzner
2008-11-27 20:08:32 -08:00
Robert O'Callahan
8ff4467f78
Bug 457398. Don't treat empty lines as the first line for text-indent or first-letter/first-line purposes. r+sr=dbaron
2008-11-27 10:44:47 -08:00
Robert O'Callahan
ab3854de4f
Bug 462968. Sanitize block height. r+sr=dbaron
2008-11-26 11:57:28 +13:00
Robert O'Callahan
e2d6438f48
Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron
2008-11-26 11:53:58 +13:00
Robert O'Callahan
0be9ec5c8d
Bug 455826. Look into overflow-lists of inlines to find text when we're building textruns. r=smontagu
2008-11-26 11:51:36 +13:00
Brad Lassey
ea8dd114d1
backing out changesets 026147c91538, fb2326fcfc36, ebf0c7cf17be, 57e6a1e9041e, 1f5d2c249f86 and d7a7824d6990 due to crash on linux talos machines durring tp.
2008-11-26 12:20:26 -05:00
Brad Lassey
9491b0201f
merge
2008-11-26 10:08:45 -05:00
L. David Baron
7372b5e796
Merge roc-1.bundle to land 5 patches for roc.
2008-11-25 20:41:38 -08:00
Boris Zbarsky
bad0b33175
Bug 437142. Be a little more careful with GetPrimaryFrameFor to work around the mess that <area> elements cause. r+sr=roc
2008-11-25 20:49:14 -05:00
L. David Baron
f0a1beced5
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 15:22:39 -08:00
L. David Baron
f1b10ff551
Introduce two different definitions of the placeholder's containing block in InitAbsoluteConstraints, since we want to use a different one for the hypothetical box and for the direction. (Bug 462844) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 15:22:39 -08:00
Robert O'Callahan
3330d2adb7
Bug 462968. Sanitize block height. r+sr=dbaron
2008-11-26 11:57:28 +13:00
Robert O'Callahan
6dd228bfdc
Bug 459968. Fix some integer overflows in the style system and in min/pref width computation for text. r+sr=dbaron
2008-11-26 11:53:58 +13:00
Robert O'Callahan
19cdb639f2
Bug 455826. Look into overflow-lists of inlines to find text when we're building textruns. r=smontagu
2008-11-26 11:51:36 +13:00
Robert O'Callahan
6a37c5163c
Bug 430332. Lazily rebuild transformed-textruns, deferring rebuild until after the linebreaker has finished analysis. r=smontagu
2008-11-26 11:44:05 +13:00
L. David Baron
0977d8e545
Back out 5d6db13efa26534e3904b5afa5e6faf31c0c82f0 due to mac startup failures.
2008-11-25 14:38:28 -08:00
Robert O'Callahan
1dd1408b35
Bug 460012. When recreating frames for a generated content node, reframe the nearest non-generated-content ancestor. r+sr=bzbarsky
2008-11-26 11:15:41 +13:00
Robert O'Callahan
a2ca51eb94
Bug 444375. Take TEXT_HAS_TRAILING_BREAK into account when computing min-width for text which has entirely collapsed away. r=smontagu
2008-11-26 11:08:19 +13:00
L. David Baron
50244a3fdd
Introduce two different definitions of the placeholder's containing block in InitAbsoluteConstraints, since we want to use a different one for the hypothetical box and for the direction. (Bug 462844) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
L. David Baron
dc119e5622
Handle some additional codepaths for position: fixed elements inside elements with -moz-transform. (Bug 455171) r+sr=bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -08:00
L. David Baron
cd219c1d22
Add test for slow performance in bug 438509, as suggested by dholbert, and based on a testcase he wrote. a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
L. David Baron
3dbd3c34af
Avoid exponential growth of special height reflows. (Bug 438509) r=dholbert sr=roc a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
L. David Baron
58064fc1f3
Remove nsHTMLReflowState::mPercentHeightReflowInitiator, which is write-only. (Bug 438509) r+sr=roc a=blocking1.9.1+
2008-11-25 13:27:53 -08:00
Jeff Walden
4180ce8eae
imported patch nsIFrame.patch
2008-11-19 20:42:55 -08:00
Jesse Ruderman
c093828228
Add crashtest for bug 451334
2008-11-09 19:18:22 -08:00
Joe Drew
a2b8f5356f
Backed out changeset 6bedb1e92dd0 due to refcount leaks
2008-11-07 15:01:35 -05:00
Joe Drew
8fd1536f32
Bug 393936 - Cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call CancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). r=bz, sr=pavlov, a=blocking1.9.1+
2008-11-07 14:35:22 -05:00
Robert O'Callahan
ba9c7fb6b5
Bug 418740. Make sure that mouse events are reported to windowless plugins relative to the widget we associated with the plugin. r+sr=jst
2008-11-07 14:00:42 +13:00
Robert O'Callahan
e2673b9d2a
Bug 462307 - 'Speed up columns case hit by HTML5 spec'. r+sr=dbaron
2008-11-04 14:01:27 -08:00
Robert O'Callahan
0d380f02a0
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -08:00
Vladimir Vukicevic
81d2b6f8e9
b=461813, crash in nsFrameSelection::HandleDrag; r+sr=roc
2008-11-04 11:29:13 -08:00
Markus Stange
7a9f82ce7e
Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc
2008-11-04 15:38:16 +01:00
Robert O'Callahan
cdd65555c6
Bug 458928. Reparenting hack to ensure plugins are fully painted to non-screen targets is evil and probably breaking things; back it out. r+sr=jst
2008-11-03 13:53:57 +13:00
Benjamin Smedberg
9696613a50
Relanding bug 461410 - nsILineIterator is never used outside of layout - set nsresults to replicate the existing code more correctly, which fixes the mochitest failures, r+sr=roc with nits noted by Mats Palmgren
2008-10-30 12:17:59 -07:00
Steven Michaud
515d560d00
Flash content duplicated, sometimes mirrored and in another tab. b=459530 r=josh,kinetik sr=roc
2008-10-30 10:40:53 -07:00
Benjamin Smedberg
4eb5e5d5a8
Bug 461212 - deCOM frame traversal (relanding) r=mats.palmgren sr=roc
2008-10-30 10:15:22 -07:00
Zack Weinberg
2f1c365c3d
Bug 416907 - Crash [@ nsHTMLFramesetFrame::Reflow] with frameset in mroot; r+sr=roc
2008-10-30 18:10:19 +01:00
Robert O'Callahan
1693b53c02
Bug 458928. Render windowed Windows plugins using PrintWindow when necessary, and use gfxWindowsNativeDrawing for windowless plugins so we can draw them correctly under all circumstances. r=vlad,sr=jst
2008-10-29 22:28:25 -07:00
Daniel Holbert
d0fa1eee37
Trivial whitespace cleanup in 2 places in nsViewportFrame.cpp. (whitespace only; cleared in #developers)
2008-10-29 17:41:56 -07:00
L. David Baron
8878bc85e1
Merge backout of changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:44 -07:00
L. David Baron
65cadd7c29
Backed out changeset 23eebebb8b48 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:36:17 -07:00
L. David Baron
2015aefdfd
Merge backout of changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:35:18 -07:00
L. David Baron
e7cd23e3ac
Backed out changeset 7f708623bf59 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
...
--HG--
rename : layout/base/nsImageLoadNotifier.cpp => layout/base/nsImageLoader.cpp
rename : layout/base/nsImageLoadNotifier.h => layout/base/nsImageLoader.h
2008-10-28 14:34:03 -07:00
L. David Baron
8124ab8fbc
Merge backout of changeset d7338fec7266 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:12:44 -07:00
L. David Baron
1736d9f550
Backed out changeset d7338fec7266 (from bug 322475, which made us construct all our image loaders at frame construction time) because of issues with propagation of backgrounds to the canvas (bug 460796).
2008-10-28 14:12:02 -07:00
Chris Double
b9fbf2e7c2
Bug 449518 - Video autostart after doing Back/Forward history button on browser - r+sr=roc
2008-10-29 07:48:39 +13:00
Benjamin Smedberg
05386c2561
Back out bugs 461410 and 461212 because I'm not sure which is causing the mochitest regression.
2008-10-28 02:51:50 -04:00
Benjamin Smedberg
dfbac6a0c3
Merge backout and typo fix of bug 461212
2008-10-28 02:50:20 -04:00
Benjamin Smedberg
4214b72dd5
Backed out changeset d4c9a0776667 (deCOM nsILineEnumerator) due to regression from it or bug 461212
2008-10-28 02:49:14 -04:00
Benjamin Smedberg
3a3f316c84
Backed out changeset affcc1c08bc0 (deCOM frame enumerator) due to regression from it or bug 461410.
2008-10-28 02:47:40 -04:00
Benjamin Smedberg
dd4c950cff
Bug 461410 - nsILineIterator is never used outside of layout, and doesn't need to be refcounted: the callers can just destroy it when they're done with it. We can't do this with a virtual destructor, however, because nsTableRowGroupFrame implements the interface directly, while nsLineIterator is a separately-allocated class. So clients are expected to call DisposeLineIterator when they're done with it.
...
Instead of accessing nsILineIterator using QueryInterface, we add a nsIFrame::GetLineIterator API, which is cleaner and more efficient all at the same time!
r+sr=roc
2008-10-28 00:47:19 -04:00
Benjamin Smedberg
d89e3c2841
Bug 461212 - deCOM frame enumerator, r=mats.palmgren sr=roc
2008-10-28 00:47:19 -04:00
Masayuki Nakano
2a195344de
Bug 461512 nsCSSColorUtils doesn't support alpha color (border color is always solid color if the border-style is groove, ridge, inset, outset) r+sr=roc
2008-10-28 11:05:38 +09:00
Bernd
082b4cffdb
2 try
2008-10-26 12:21:47 +01:00
Bernd
6777c42861
bug 258377, make border collapsed tables to listen for dynamic border style changes r/sr=bzbarsky
2008-10-26 11:11:34 +01:00
Jesse Ruderman
b0356cef11
Add crashtest for bug 225868. The setTimeout seems to be necessary to get the second onload to fire.
2008-10-21 20:50:14 -07:00
Uri Bernstein
db0583f94e
Now really removing the test.
2008-10-21 20:36:35 +02:00
Uri Bernstein
1dadb5e1c8
Back out mochitest for bug 459921 since it causing problems with other test.
2008-10-21 19:14:50 +02:00
Uri Bernstein
383ebb5ea2
Hack to work around bug 426195.
2008-10-21 15:54:10 +02:00
Uri Bernstein
0a951dcc4a
Fix typo in Makefile.
2008-10-21 12:07:07 +02:00
Uri Bernstein
f6d3f0ca80
Bug 459921 - Double-click-and-drag selects previous word when dragging to left half of first letter of a word. r+sr=roc.
2008-10-21 11:52:52 +02:00
Robert O'Callahan
85ea5a3965
Bug 460240. Need to repaint the overflow area if the overflow area changes, the frame has effects/outline/box-shadow, and the frame size has not changed. r+sr=bzbarsky
2008-10-21 20:42:28 +13:00
Uri Bernstein
13529e0b13
e-enable test for bug 460532 after fixing it.
2008-10-21 09:27:27 +02:00
Uri Bernstein
dc88b5dcaf
Merge.
...
Hg: user: Uri Bernstein <uriber@gmail.com>
2008-10-21 09:20:56 +02:00
Nick Thomas
d2c2e02b85
Disable test properly
2008-10-21 16:36:29 +13:00
Nick Thomas
da8a37ea98
Disable new test from bug 460532, which may be breaking subsequent tests. Should enable us to work out if it's the test or code change that is causing the mochitest red on win32 (suggestion from #developers)
2008-10-21 15:27:31 +13:00
Uri Bernstein
9d85c3e3b0
Attempt to fix breakage from test for bug 460532.
2008-10-21 01:30:29 +02:00
Uri Bernstein
9418630bcb
Bug 460532 - Firefox leaks SelectionDetails when clicking a point included in multiple selection ranges. r+sr=roc.
...
HGe changed layut/genericks SelectionDetails/test/Makefile.in
2008-10-20 22:53:40 +02:00
Steven Michaud
c491e15cc1
SetWindow called on every paint when supporting CoreGraphics. b=459244 r=josh,kinetik sr=roc
2008-10-17 17:22:10 -05:00
Asaf Romano
ea32ac412c
Bug 459323 - Drag and Drop in input controls is broken. r=smaug, sr=sicking.
2008-10-17 22:04:55 +02:00
Uri Bernstein
ff104b5951
Bug 415707 - multiple text selection improvement doesn't work with double-click "word-by-word" or triple-click "paragraph" modes. r+sr=roc.
2008-10-17 21:46:33 +02:00
Theppitak Karoonboonyanan
018ec4b25f
Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc
2008-10-16 20:44:32 +13:00
Robert O'Callahan
a550f0f631
Bug 428263. Don't treat continuations of blocks as 'continuations' for setting zeroEffectiveSpanBox, since they're not span-continuations which is all we care about here. r+sr=dbaron
2008-10-16 09:57:27 +13:00
Boris Zbarsky
d4e731a68c
Bug 442542. Make sure to reflow our possibly-size-dependent abs pos kids on the followup reflow that happens if clearance is discovered. r+sr=roc
2008-10-15 16:30:42 -04:00
Olli Pettay
9d96a5cb3f
bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking
2008-10-15 12:40:28 +03:00
Taras Glek
7a777b7b31
Bug 458969: dead stuff in nsSpaceManager r+sr=dbaron
2008-10-14 11:59:29 -07:00
Markus Stange
2c38adaec7
Bug 450944 - Implement -moz-window-shadow functionality on Mac OS X, r=hwaara sr=roc.
...
This patch turns on window shadows for transparent windows by default, so the identity popup and the "edit bookmarks" popup will get a shadow, too. ui-r=faaborg
2008-10-14 17:33:40 +02:00
L. David Baron
9d7714304c
Make sure DidSetStyleContext methods call the base class DidSetStyleContext, and change the signature to return void. (Bug 459649) r+sr=bzbarsky
2008-10-13 18:03:28 -04:00
Uri Bernstein
b6fcdfbcc2
Bug 459660: Remove two unused members of nsTypedSelection and their accessors. r+sr=roc.
2008-10-13 23:25:21 +02:00
Mats Palmgren
faeff8e834
DEBUG: nsBlockFrame::List should print the overflow lines. b=459540 r+sr=roc
2008-10-13 00:33:20 +02:00
Uri Bernstein
17f37431ef
Bug 459588: Kill OLD_SELECTION code. r+sr=roc.
2008-10-13 00:11:51 +02:00
Mats Palmgren
54ec50a55f
Add 'aLineList' param to MarkLineDirty() so it knows the correct line list for 'aLine'. b=443528 r+sr=roc
2008-10-12 21:26:06 +02:00
L. David Baron
2545abc873
Fixing bustage. (Bug 322475)
2008-10-11 21:16:15 -04:00
L. David Baron
10bd0bbfe0
Construct all our image loaders when we create frames so that we can allow arbitrary numbers of image loaders per frame (for multiple background images). (Bug 322475) r+sr=bzbarsky
2008-10-11 20:49:42 -04:00
L. David Baron
2bd8ac7a44
Rename nsImageLoader to nsImageLoadNotifier, since it doesn't actually load images. (Bug 322475) r+sr=bzbarsky
...
--HG--
rename : layout/base/nsImageLoader.cpp => layout/base/nsImageLoadNotifier.cpp
rename : layout/base/nsImageLoader.h => layout/base/nsImageLoadNotifier.h
2008-10-11 20:49:42 -04:00
Mats Palmgren
4a50767964
When switching from the overflow lines to normal lines we must reset 'mInOverflowLines' or we'll compare 'mLine' to the wrong list on the next call. b=457375 r+sr=roc
2008-10-12 02:19:41 +02:00
Mats Palmgren
609b22ab61
Mark the bullet frame dirty when its ordinal change. b=203727 r+sr=dbaron
2008-10-11 03:41:10 +02:00
Mats Palmgren
6499cb8fdb
Undo frame list formatting change from bug 243519. b=454727 r+sr=roc
2008-10-11 03:08:20 +02:00
Daniel Holbert
8155b8841d
Bug 452157 - Update aState.mPrevChild when we pull from next-in-flow. r+sr=roc
2008-10-10 17:25:28 -07:00
Arpad Borsos
8b11d938d2
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
Taras Glek
2c733370d0
Bug 456099: outparamdel nsIPrivateDOMEvent r+sr=jst
2008-10-09 16:23:07 -07:00
Jesse Ruderman
fb06650022
Add crashtests for several bugs
2008-10-09 14:20:44 -07:00