Robert O'Callahan
9324676397
Bug 526394. Part 5: Fix up a bunch of sites to use nsIScrollableFrame instead of nsIScrollableView. r=mats
2009-09-01 23:29:27 +12:00
Cristian KLEIN
fc3d506af7
Bug 370436 - "Context menu from keyboard for spell checker selects the wrong line" [r=roc]
2010-01-09 09:51:00 -06:00
Masayuki Nakano
864c94c4cd
Bug 532422, this landing just removes unused variable r=Olli
2010-01-08 14:01:42 +09:00
L. David Baron
25d33fe57f
Remove CID and layout module constructor for CSS style sheets. (Bug 239008) r=bzbarsky
2010-01-07 08:51:16 -05:00
Olli Pettay
63fd91b1fa
Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc
2010-01-07 12:36:11 +02:00
Timothy Nikkel
bd15675d9d
Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
...
--HG--
extra : rebase_source : c6aa412247ab70f5bf3a4688f262edcccd2d6fdd
2009-12-22 18:09:10 -06:00
Timothy Nikkel
1172cc4cd0
Backed out changeset 63d4a49fbec1 (bug 396367)
2010-01-01 20:34:05 -06:00
Timothy Nikkel
6a84e052f2
Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
...
--HG--
extra : rebase_source : 67d99a197a4974684f57f23873033b85c276ef86
2009-12-22 18:09:10 -06:00
Boris Zbarsky
ef3cef478b
Bug 528306 part 2. Make nsCSSFrameConstructor reference-counted. r=dbaron
2009-12-31 14:07:57 -05:00
Neil Deakin
989819833a
Bug 536486, remove IsDestroyingFrames check now that frames are available from content nodes, fixes possible leak, r=roc
2009-12-31 12:36:56 -05:00
Boris Zbarsky
8519610b49
Bug 500882 part 7. Remove the old GetPrimaryFrameFor API. r=roc, sr=dbaron
2009-12-24 16:20:06 -05:00
Boris Zbarsky
b3883855ac
Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc
2009-12-24 16:20:06 -05:00
Olli Pettay
bf7962ffed
Bug 535851 - noscript is rendered in print preview, r=roc
2009-12-19 12:35:54 +02:00
Masayuki Nakano
68361828eb
Bug 532422 - n900: Cannot select any characters from sym map. r=enndeakin.
2009-12-17 10:42:02 -08:00
Olli Pettay
2f4c5ea761
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
cc6eb188e6
Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron
2009-12-10 14:36:04 -08:00
Boris Zbarsky
129197fdc7
Bug 523294 part 2. Get rid of the aAttribute argument to SelectorMatches; handle attribute changes by checking for matches on selectors including the given attribute both before and after the change. r=dbaron
2009-12-10 14:36:03 -08:00
Olli Pettay
ec076a94d3
Bug 528829 - If mouse button is held down during page transition, Firefox stops responding to mouse clicks, r=roc
2009-12-10 10:58:33 -08:00
Timothy Nikkel
d16beb2417
Bug 525751. When using a subdocument frame as a fallback for drawing canvas background color override the canvas frame check. r=roc a=roc
...
--HG--
extra : rebase_source : 6719372b7404a598a4ce1c1f5190a4f86d0d896b
2009-12-01 02:49:53 -06:00
Olli Pettay
2a7bca1c92
Bug 530880, r=bz, sr=roc
...
--HG--
extra : rebase_source : 4f1e95223fd0c167fa5ec882b46ae36f9edbb071
2009-11-26 11:12:20 +02:00
David Bolter
ae4129ee61
Bug 525579 - topcrash [@ nsAccessibilityService::GetAccessible(nsIDOMNode*, nsIPresShell*, nsIWeakReference*, nsIFrame**, int*, nsIAccessible**)] (thanks dbaron) r=roc,surkov
2009-11-16 09:03:53 -05:00
Robert O'Callahan
e62be286c3
bug 514732 - fix bustage for shared lib builds r=bz
2009-11-02 21:55:35 -05:00
Alexander Surkov
64fdee6658
Bug 437607 - Clicking the 'Skip to main content' link once works, second time fails to initiate a V cursor jump, r=davidb, sr=roc
2009-11-02 09:02:09 +08:00
Oleg Romashin
9472920cda
Bug 485252 - RenderDocument Background color filling need to be optimized. r=roc.
2009-10-31 15:44:57 -04:00
Olli Pettay
c806e56c0e
Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking
2009-10-29 13:11:02 +02:00
Robert O'Callahan
56aad34bd4
Bug 516885. Pass separate visible-before-move and visible-after-move regions into ComputeVisibility, to make code clearer because we don't have to overload a single region, and which also lets us fix ambiguities related to clipping. r=dbaron
2009-10-07 17:28:41 +13:00
Robert O'Callahan
e324cf9671
Bug 518659. Make nsHTMLMediaElement hold a reference to itself to keep itself alive while network or decoder activity could result in events being fired in the future. Also rework the handling of media elements in inactive documents. r=jst, r=doublec
2009-10-02 00:10:13 +10:00
Timothy Nikkel
5321e14840
Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
...
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Mats Palmgren
00302efc79
Flag nsCaret::mPendingDraw if the on-cycle draw was suppressed; update the caret when the pres shell tells us that painting is unsuppressed. b=520720 r=roc
2009-10-16 12:55:32 +02:00
Neil Deakin
c7fb80186c
Bug 519693, <select> click and drag scrolling not working, change to get scrollable frame when capturing, r=roc
2009-10-09 09:35:20 -04:00
Robert O'Callahan
9758ecee67
Bug 520462. Let NS_PLUGIN_ACTIVATE events look up the view hierarchy to find a frame. r=karlt
...
--HG--
extra : rebase_source : 1368db2f5ebe70b43cdaa5040265f54728ab32b4
2009-10-07 17:19:59 +13:00
Neil Deakin
19b8634b1c
Bug 517916, crash if the capturing element has no view, r=roc
2009-10-05 10:00:05 -04:00
L. David Baron
7e2aee0cc5
Fix spelling of synthetic in macro name.
2009-10-02 14:06:42 -07:00
Boris Zbarsky
82ca879d78
Bug 519590. Don't interrupt reflow until some time has passed. r=roc
2009-10-02 14:05:32 -04:00
Sylvain Pasche
7c7c7a40b3
Bug 499447. Don't restart our interrupted reflow until some time passes, to give system event processing a fair shot. r=bzbarsky
2009-10-02 14:05:31 -04:00
Robert O'Callahan
d56dfa741e
Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
...
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Neil Deakin
492e487e7d
Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil
2009-10-01 14:53:10 -03:00
David Zbarsky
8d8553ee41
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Timothy Nikkel
73a27c9267
Bug 518777. When drawing the canvas background color for drawWindow, adjust CanvasArea because it is relative to the frame itself. r=roc
...
--HG--
rename : layout/base/tests/test_bug514127.html => layout/base/tests/test_bug518777.html
extra : rebase_source : 252a78c5444513eac82b6ebc6ae202aef91bc5ce
2009-09-28 20:40:24 -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
Kyle Huey
c815c08e8d
Bug 513684. Stop :hover from bleeding through certain elements. r=roc Test fixes from Markus Stange <mstange@themasta.com>.
2009-09-26 16:35:05 -07:00
Dão Gottwald
b15d2e3fde
Backed out changeset a2d46929bcbd
2009-09-26 22:21:22 +02:00
Kyle Huey
dbd51bf4f0
Bug 513684 - Stop :hover from bleeding through certain elements. r=roc
2009-09-13 22:54:44 -04:00
Zelgadis
18ad8d6e45
Bug 517949 - Null pointer in PresShell::UnsuppressAndInvalidate() leads to crash
...
r+a1.9.2=roc
2009-09-23 16:38:57 +02:00
Robert O'Callahan
6de615de1b
Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
...
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Timothy Nikkel
5f8ff6cfdc
Bug 514127. Draw the canvas background color on the whole canvas area instead of just the viewport when RenderDocument is called with ignore scrolling flag. r=roc
2009-09-19 12:20:42 +02:00
Neil Deakin
6d83cdc84a
Bug 516880, use the right presshell when getting frames during mouse capture, r=roc
2009-09-17 12:59:42 -04:00
Mats Palmgren
948203eb7d
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Zack Weinberg
1bbb6caf46
Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron
2009-09-16 10:00:04 +12:00
Justin Dolske
f221ae86bd
Backed out changeset a3f33def2dca (bug 497495 part 4)
2009-09-14 17:26:08 -07:00
Boris Zbarsky
efc26f0c70
Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron
2009-09-14 17:29:56 -04:00
Neil Deakin
02a7469b05
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-13 09:13:16 -04:00
Bobby Holley
2d5ec55945
Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad
2009-09-12 16:44:18 -06:00
L. David Baron
0b77a89d40
Make style changes know whether they are for transitions or not. (Bug 435441) r=bzbarsky
2009-09-11 06:46:36 -04:00
Neil Deakin
a5bfe49767
Bug 503943, back out mouse capture patch, CLOSED TREE
2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33
Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
2009-09-10 08:51:36 -04:00
Alexander Surkov
f50096a8aa
Bug 514595 - it's not necessary to keep two events type for show and two ones for hide, r=marocz, davidb, ginn, sr=roc
...
--HG--
rename : accessible/tests/mochitest/test_events_mutation_coalesce.html => accessible/tests/mochitest/test_events_coalescence.html
2009-09-09 17:03:14 +08:00
Christian Biesinger
c39efe899d
bug 513451 remove nsPresShell::EnumeratePlugins, it's been unused since bug 480819
...
r+sr=roc
2009-09-03 12:37:56 +02:00
Taras Glek
8943704095
Bug 457949 - no need for Stopwatch r=bsmedberg
...
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Boris Zbarsky
36622c6995
Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
...
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Zack Weinberg
2cd31f70f9
Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap
2009-08-20 14:52:48 -07:00
Zack Weinberg
cc794998ac
Bug 497495 (frame poisoning) part 2: Introduce nsIPresShell::AllocateMisc/FreeMisc functions; add an as-yet-unused "code" parameter to AllocateFrame/FreeFrame; fix up nsFrame to match; use AllocateMisc/FreeMisc for all non-frame pres arena objects; move clearing of frame objects from nsFrame::operator new to AllocateFrame. r=roc sr=dbaron
2009-08-17 20:21:06 -07:00
Zack Weinberg
f1502249fc
Bug 497495 (frame poisoning) part 1: Move the frame arena code to its own file and rename the class to nsPresArena. r=roc
2009-08-17 20:21:06 -07:00
Olli Pettay
7748742e49
Bug 473805 - Prevent resize event loops, r=dbaron
...
--HG--
extra : rebase_source : e0476c7c1b390ebe194e508c3c728d517483989b
2009-08-15 11:49:20 +03:00
Robert O'Callahan
9f2ae1a715
Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron
2009-08-13 19:09:51 -07:00
Olli Pettay
0dbb7cf7b8
Bug 503639 - [Mac OS X] Right-click on menu from folder from bookmark bar triggers context menu, r=enn
...
--HG--
extra : rebase_source : 8d7d4a2ae4a5cf9fca6f7b4961b9ebd5ba79255f
2009-08-13 12:11:42 +03:00
Markus Stange
86545547c8
Bug 509876 - Clean up SyncFrameViewGeometryDependentProperties. r=roc
...
--HG--
extra : rebase_source : fdf898d51147231f33df507d28d927924dc465b8
2009-08-13 08:48:30 +12:00
Masayuki Nakano
f9802cc670
Bug 128647 [RFE] Handler for WM_COPY/WM_CUT/WM_PASTE/WM_CLEAR r=ere+roc, sr=roc
2009-08-08 00:11:17 +09: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
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
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
Michael Kohler
404670f1f3
Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless
2009-07-27 10:47:02 +02:00
L. David Baron
e6a3698129
Destroy frame properties right after destroying the frame tree so they're destroyed before the style set. (Bug 399994) r=roc
2009-07-23 07:40:18 -04: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
b613384451
Bug 352093. Part 9: make context menu event coordinates be relative to the widget for the widget for the top of the view hierarchy. r=dbaron
2009-07-22 12:45:08 +12:00
Robert O'Callahan
243774fd17
Bug 352093. Part 4: IME code should use GetRootWidget so it works with documents that don't have their own widgets. r=masayuki
2009-07-22 12:45:05 +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
b4be2a9744
Bug 352093. Part 1: Add view parameter to nsViewManager::DispatchEvent so we can target view system events to widget-less documents. r=bzbarsky
2009-07-22 12:44:59 +12:00
Robert O'Callahan
0d1716c268
Bug 339548. Part 2: Introduce nsRootPresContext.
2009-07-22 12:44:54 +12:00
Robert O'Callahan
522a58f4ec
Bug 505186. Don't add useless nsDisplayReflowCount items to display lists in debug builds. r=bzbarsky
2009-07-22 12:44:52 +12:00
Timothy Nikkel
6cea3d5dca
Bug 502424 - Window transparency does not work. r+sr=roc
2009-07-09 11:16:11 +02: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
Olli Pettay
6041f8abed
Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking
2009-06-30 10:56:40 +03:00
Olli Pettay
7e463f0741
Bug 482578, r=bz, sr=jonas
2009-06-28 23:04:35 +03:00
Robert O'Callahan
b345a70a9e
Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 2cd0b9d4bdfb47d8757efe0ca9983cbbcfca423c
2009-06-13 21:16:34 +12:00
Boris Zbarsky
03a827f6f5
Bug 498530. Don't try to remove array elements that might not be in the array. r+sr=smaug
2009-06-16 11:46:24 -07:00
Robert O'Callahan
338a814be0
Backed out changeset 69c6dbdfd179
2009-06-14 00:18:06 +12:00
Robert O'Callahan
9ffe56c833
Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 544ae2157803cf075a50d2a451c6179525ebbc36
2009-06-13 21:16:34 +12: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
Timothy Nikkel
647a1b6542
Bug 496020 - "nsCSSFrameConstructor::BeginUpdate is called when scripts are not blocked." r+sr=bzbarsky
2009-06-11 13:09:34 -04: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
Olli Pettay
f9fa7407e7
Bug 493251 - Header/navigation links on PG.com take two clicks to load, r+sr=jst
2009-05-18 12:17:45 +03: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
Boris Zbarsky
a63e049e91
Bug 492760. Don't try to do a best-effort scroll to never-been-laid-out frames. r+sr=roc
2009-05-14 21:40:28 -04:00
Boris Zbarsky
11f21755ed
Bug 488057. Be more careful when we unsuppress painting. r+sr=roc
2009-05-12 15:07:08 -04: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
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
Boris Zbarsky
d294c4b67f
Bug 491842. Check for suppressed scroll before doing the layout flush, so that we don't end up scrolling during the flush when scroll is suppressed. r+sr=dbaron
2009-05-09 22:57:53 -05: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
0d7d241faf
Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
...
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00
Boris Zbarsky
05780cc568
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Phil Ringnalda
621dae24da
Bug 489122 - MOZ_REFLOW_PERF not AC_DEFINED by --enable-reflow-perf since it's misspelled _PREF in configure.in, r+sr=roc
2009-05-03 18:35:33 -07: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
Neil Deakin
a6df0afb93
Bug 404798, assertions when root element is removed from xul document during inline script, r+sr=smaug
2009-04-22 08:55:54 -04:00
Olli Pettay
81884a8ad9
Bug 489224 - Printing doesn't print text field values, r+sr=roc
2009-04-22 12:35:45 +03: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
e5f6293681
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Dão Gottwald
ddb69df7b5
Backout bug 485275 (changeset 996c11579453) because of test failures
2009-04-18 10:53:27 +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
fcb79320f6
Bug 485631 followup. Only disable the dirty frae asserts under drawWindow if the flag to not flush was passed in. r+sr=roc
2009-04-09 12:43:15 -04:00
Robert O'Callahan
7b4d0810ce
Bug 459666. Guard assertion containing GetPrimaryFrameFor so it doesn't run at a bad time to be calling GetPrimaryFrameFor. Also, nsCSSFrameConstructor::PostRestyleEvent should check mPresShell->IsDestroying() when deciding whether to drop requests, and it should drop requests silently because it's perfectly safe and correct to do so. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 8bf16bbc46de1f420d529f8d0a60ae07f8f0ef81
2009-04-01 14:08:34 +13:00
Boris Zbarsky
8a5261a288
Bug 485631. Suppress dirty frame asserts while painting to a canvas. r+sr=roc
2009-03-30 11:33:25 -04:00
Olli Pettay
45080d5ed8
Bug 424377, r+sr=roc
2009-03-10 21:30:50 +02:00
Olli Pettay
468b832900
Bug 425265, r=roc, sr=bz
2009-03-08 21:01:02 +02:00
Olli Pettay
8e3d66727a
Bug 480767 - Closing 'Bookmark All Tabs' screws up focus, r+sr=jst
2009-03-03 22:20:11 +02:00
Olli Pettay
2219417624
Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst
2009-03-03 22:11:14 +02:00
Olli Pettay
cb57be346c
backout 333198
2009-03-02 22:21:46 +02:00
Olli Pettay
e6f01244a1
Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+
2009-02-26 14:00:30 -08:00
Robert O'Callahan
19082bf736
Bug 406646. Make sure to only search *visible* popups for mouse event targets. r=enndeakin
...
--HG--
extra : rebase_source : bd0825d6a6469a10dcdd9e4ae9e9c91dcbafbe99
2009-02-24 21:25:25 +13:00
Zack Weinberg
558a5863e2
Bug 478079 - Kill nsViewManager::DefaultRefresh, and move the cached canvas background to the pres shell; r+sr=roc
2009-02-23 02:10:23 +01:00
Zack Weinberg
1099a7c603
Bug 478784. Don't use the view manager's default background color for transparent widgets. r+sr=roc
...
--HG--
extra : rebase_source : 5dbaf9f2ecd8cff7213acec2e14d0a3b040c7c4b
2009-02-19 21:10:04 +13: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
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
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
Masayuki Nakano
68f9a6a266
Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc
2009-02-12 19:44:38 +09:00
Masayuki Nakano
789465492f
backing-out the patch for bug 442774
2009-02-12 18:54:02 +09:00
Masayuki Nakano
4d6c3072e5
Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.pettay, sr=roc
2009-02-12 16:02:49 +09:00
Masayuki Nakano
def135f71a
Backing out the patch of bug 442774. This might cause a timeout failure on test_keycodes.xul
2009-02-11 03:19:15 +09:00
Masayuki Nakano
4fa4a8c50d
Bug 442774 Wheel/touchpad scrolling gets stuck in frame, stop scrolling the web page as a whole r=Olli.Pettay, sr=roc
2009-02-10 20:17:37 +09:00
L. David Baron
0e1e58e70d
Correctly handle a style change reflow on a subtree that has placeholders with out of flows outside that subtree. (Bug 363247) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
Arpad Borsos
829f9f024a
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01: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
f8774a93ef
Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky
2009-01-29 12:39:18 -08:00
Zack Weinberg
5ec5e3b886
Bug 474201: always set the view manager's default background in nsCSSRendering::PaintBackground, use only the prescontext's default background in PresShell::Paint. r+sr=roc
...
--HG--
extra : rebase_source : 585e5e1803e98d25163fdcdf7f0aa758177e932c
2009-01-22 17:18:59 +13:00
Neil Deakin
bcc795fb9d
Bug 212750, one more fix for nsIntRect usage
2009-01-17 16:25:56 -05:00
Neil Deakin
f0c2f61672
Bug 212750, fix broken point usage
2009-01-17 16:14:18 -05:00
Neil Deakin
c8df9e6d4f
Bug 212750, position context menu for menus when the keyboard shortcut is used, also move code around so that the right targets are set for context menu key events, r=smaug,sr=roc
2009-01-17 15:50:00 -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
Olli Pettay
7bf054d872
Bug 472730, window.sizeToContent() causes hang & full CPU usage, due to extreme recursion, r+sr=dbaron
2009-01-14 22:42:25 +02: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
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
Olli Pettay
d30fae3581
Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron
2009-01-05 18:26:59 +02: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
Olli Pettay
28e3d7cf73
Bug 436965, r+sr=sicking
2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892
Back out bug 436965
2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e
Bug 436965, r+sr=sicking
2009-01-02 14:40:43 +02:00
L. David Baron
43923a2427
DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky
2008-12-29 10:07:36 -05:00
Olli Pettay
d766a4a00e
Bug 466057, r+sr=bz
2008-12-20 16:28:19 +02:00
Stuart Parmenter
91c3580bb5
bug 458373. Allow you to pass in a flag to drawWindow to show the caret. patch from roc. r=me
2008-12-12 02:50:31 -08: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
Olli Pettay
f8412fdedc
Bug 431082 - Crash [@ nsDocShell::DoChannelLoad], r+sr=bz
2008-12-13 22:30:02 +02:00
Zack Weinberg
942db4a483
Bug 467459: make sure PresShell::Paint() uses an opaque color for the backstop; r+sr=roc
2008-12-13 17:07:08 +01:00
Robert O'Callahan
a3a3951684
Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats
2008-12-12 21:34:43 +13:00
L. David Baron
39812fadae
Rebuild all style data when the user font set changes so that we recompute ex and ch units. (Bug 458878) r=jdaggett sr=bzbarsky a=blocking1.9.1+
2008-12-08 08:08:05 -08:00
Mats Palmgren
e79d638b8e
Make GetCurrentEventFrame() return null if the shell is being destroyed (don't call GetPrimaryFrameFor()). b=421839 r+sr=roc
2008-12-08 00:10:31 +01:00
L. David Baron
7fc92bad7f
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-07 13:58:07 -08:00
Neil Deakin
368d82a815
Bug 393575, change nsIMenuParent to nsMenuParent, r+sr=bz
...
--HG--
rename : layout/xul/base/src/nsIMenuParent.h => layout/xul/base/src/nsMenuParent.h
2008-12-05 11:37:31 -05:00
L. David Baron
90b976fe34
Backed out changeset 7b553bbed53d (bug 302561) due to chrome test crash.
2008-12-04 09:57:18 -08:00
L. David Baron
85dd73ebd3
Make the code to suppress infinite synthesized mouse move loops work again with asynchronous style changes. (Bug 302561) r+sr=bzbarsky,roc
2008-12-04 08:09:52 -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
Daniel Holbert
357fdecd33
(Undoing whitespace-only change)
2008-12-04 05:15:11 -08:00
Daniel Holbert
2059630793
Note: prev changeset (d5969f0d3fd9) was for Bug 466607 -- I forgot the bug # in the checkin comment. (I'm pushing _this_ whitespace-only changeset as a follow-up to get that bug # in there.)
2008-12-04 05:14:21 -08:00
Daniel Holbert
34af9c25e6
Use QI for type-safety check in StopMediaInstance/StartMediaInstance. r=chris.double sr=roc
2008-12-04 05:08:39 -08:00
Gavin Sharp
58c580b07d
Bug 462887: document ignoreScrollFrame argument in nsLayoutUtils, rename it to ignoreRootScrollFrame, r=roc, sr=bzbarsky, a=beltzner
2008-11-28 14:53:33 -05:00
L. David Baron
2aa2ccaca4
Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+
2008-11-25 15:22:38 -08:00
L. David Baron
927e7f0297
Back out 71032d21e8b1e6955baa996d9555624252700c6e due to mac startup failures.
2008-11-25 15:08:51 -08:00
L. David Baron
49d3fcc1ac
Rebuild the user font set when style sheets are enabled/disabled/added/removed, rules are modified/added/removed, or media changes change which style sheets apply. (Bug 457821) sr=bzbarsky r=jdaggett,bzbarsky a=blocking1.9.1+
2008-11-25 13:27:54 -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
L. David Baron
9b86daea26
Keep pres shell alive during ProcessRestyledFrames. (Bug 462392) r+sr=bzbarsky
2008-11-02 11:44:55 -08: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
Daniel
4b653f7ab0
Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; nsPresShell.cpp; r+sr=roc
2008-10-29 06:11:40 +01: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
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
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
09975e25e4
Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc
2008-10-28 00:47:19 -04:00
Gavin Sharp
7ed4660fab
Bug 459604: add an optional parameter to SendMouseEvent to ignore the scroll frame, r+sr=roc
2008-10-27 16:16:23 -04: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
Vladimir Vukicevic
e3c6205bcf
let's use the right #ifdef here so this actually works; mobile fix, r=stuart
2008-10-10 15:30:52 -07:00
Boris Zbarsky
d0177423c2
Bug 458637. Make sure to properly flag the XSLT result document as not being ready for layout until we StartLayout. r+sr=sicking
2008-10-10 13:44:43 -04: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
Neil Rashbrook
87def3185e
Bug 365467 Focus contollers initial window and element can get out of sync r+sr=jst
...
Reordering tests to see if that can make the change stick
--HG--
rename : browser/base/content/test/browser_autodiscovery.js => browser/base/content/test/browser_discovery.js
rename : browser/base/content/test/autodiscovery.html => browser/base/content/test/discovery.html
2008-10-10 10:36:41 +01:00
Vladimir Vukicevic
3b27944210
b=459150; avoid non-pixel-aligned clips to speed up mobile's DrawWindow usage; r=stuart
2008-10-09 14:49:15 -07:00
Brad Lassey
add313bab4
Bug 445988 - no focus rings around text input boxes in fennec p=tonikitoo r=roc sr=roc
2008-10-08 19:28:31 -04:00
Ted Mielczarek
ecd6b2666b
Backed out changeset 893b2c3b521f (Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst)
2008-10-08 12:33:52 -04:00
Neil Rashbrook
3d8ed29e1c
Bug 365467 Focus controller's initial window and element can get out of sync r+sr=jst
2008-10-08 13:24:58 +01:00
Gavin Sharp
31508f4ffc
Bug 454324: Handle error from SelectNode to fix crash when selection-less items are dragged (including, recently, tabs). r+sr=bzbarsky
2008-10-05 20:30:09 -07:00
L. David Baron
4c2a55f0ee
Backed out changeset 6f3797124c84: Relanding: Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc
2008-10-01 20:11:44 -07:00
L. David Baron
7c8c7d48e3
Back out bug 114169 (changeset 8110e3bae4bf) and change the test (changeset 8f53fcb8bde5) to todos, to see if it was repsonsible for the regression in bug 458065.
2008-10-01 10:36:54 -07:00
Jonathan Watt
ec710d7a39
Fire resize events every 200ms during resizing, not just 200ms after resizing stops. (Bug 114649) r+sr=roc
2008-09-29 15:57:38 -07:00
Boris Zbarsky
d674c8ca02
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1
Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions
2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921
Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst
2008-09-28 15:14:28 -04:00
Robert O'Callahan
279af36fc7
Backing out bug 448830
2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc
2008-09-28 20:38:34 +13:00
Robert O'Callahan
6a45b282aa
Backing out bug 448830
2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b
Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc
2008-09-26 10:42:19 +12:00
Arpad Borsos
d0e70a51bf
Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc
2008-09-20 15:42:03 +02:00