bzbarsky%mit.edu
53c329523d
Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
...
to it. Bug 313343, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
bzbarsky%mit.edu
cfd25f13dd
Flush out content updates before messing with the frame tree. Bug 313516, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@183015 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 22:32:13 +00:00
bzbarsky%mit.edu
6eeafc1262
Fix restarting of plugins when restoring from bfcache. Bug 313669, r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@182943 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 01:32:14 +00:00
bryner%brianryner.com
1cd340798f
Stop plugins correctly when storing a page into session history (bug 311791). Patch by bzbarsky, r+sr=me.
...
git-svn-id: svn://10.0.0.236/trunk@182768 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-22 03:27:22 +00:00
aaronleventhal%moonset.net
0a8e42929a
Bug 307172. Focus never returns when a link having focus is hidden. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@180872 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 17:55:12 +00:00
ginn.chen%sun.com
5e70529bc8
Bug 255411 "Use my colors" preference makes popup/hover frames have transparent background
...
r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180852 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 08:08:09 +00:00
dbaron%dbaron.org
43d56f3379
Remove now-unused CantRenderReplacedElement. b=309065 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@180773 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 21:54:54 +00:00
roc+%cs.cmu.edu
aeacb4d477
Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
...
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
26af641d58
Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
...
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds. Bug 11011, r=biesi and roc, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
dbaron%dbaron.org
2fc88be4c0
Do not skip PostHandleEvent for synthesized mouse moves. b=20022 Thanks to Neil for finding the problem. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@180354 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 06:04:25 +00:00
roc+%cs.cmu.edu
906863a0f9
Bug 280987. Remove aPresContext from nsIFrameDebug::List. r+sr=roc, patch by Vidar Braut Harr.
...
git-svn-id: svn://10.0.0.236/trunk@179728 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 21:34:50 +00:00
bzbarsky%mit.edu
907298f065
Don't condition selection on whether we're in a chrome docshell; explicitly
...
disable selection for <label> and <description> as needed. Bug 306262, r=neil,
sr=roc
git-svn-id: svn://10.0.0.236/trunk@179679 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 03:37:15 +00:00
roc+%cs.cmu.edu
394810d3af
Bug 305944. Fix handling of event clipping regression. r+sr=roc, patch by Eli Friedman
...
git-svn-id: svn://10.0.0.236/trunk@179444 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 23:06:39 +00:00
smfr%smfr.org
c3be847acf
Fix bug 208601: DocumentViewerImpl::GetCanGetContents() was incorrectly returning false for text fields, because it was looking at the document's selection, rather than the text field selection. Fix by exposing nsIPresShell::GetSelectionForCopy(), and calling that. This fixes the Services menu in Camino to work in text fields. r/sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@179200 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 15:19:13 +00:00
neil%parkwaycc.co.uk
1e99a3c217
Frame processing needs to happen before bubbling system event group handlers in order to fix bug 300227 and thus properly fix bug 298894 r=jst sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@179192 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 13:41:11 +00:00
bzbarsky%mit.edu
ce902f28ab
Removing comment that refers to code that is now gone.
...
git-svn-id: svn://10.0.0.236/trunk@179183 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 03:37:12 +00:00
bzbarsky%mit.edu
525a6b3082
Cache the event queue service in nsContentUtils instead of having every single
...
presshell caching it. Bug 305689, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@178852 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 21:01:51 +00:00
bzbarsky%mit.edu
d7497a616e
Go back to having UnblockOnload firing onload sync in cases where it's safe.
...
Attempting to address Tp fallout from bug 294114, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@178750 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:24:30 +00:00
roc+%cs.cmu.edu
a65887afc9
Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@178746 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 22:26:10 +00:00
roc+%cs.cmu.edu
5525e0f045
Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
...
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu
b327d4361b
Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
...
instead. Bug 294114, r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178656 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 01:29:02 +00:00
bzbarsky%mit.edu
d1afb179ba
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
79d7d9246b
follow-up to bug 303725, don't try to get a weak reference to a weak reference. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@178628 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 19:46:25 +00:00
bryner%brianryner.com
760b97437e
Attempting to fix crashes in RetargetEventToParent (bug 303725). Leave a weak container pointer so that events targetted to cached pres shells can be sent up to the parent, and don't crash if this fails. r=aaronl, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@178582 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 01:55:34 +00:00
mats.palmgren%bredband.net
2750874396
Erase caret if needed when content is removed. b=304383 r=mrbkap sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@178577 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 00:25:20 +00:00
roc+%cs.cmu.edu
c0375ee6b6
Bug 289377, cleanup nsCSSFrameConstructor a tad. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@177891 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 21:35:58 +00:00
jst%mozilla.jstenback.com
a9f668bc25
Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
bryner%brianryner.com
6dd6993f13
don't leak all of the pres shells. bug 78510, r=jst/brendan
...
git-svn-id: svn://10.0.0.236/trunk@177537 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 03:59:04 +00:00
mats.palmgren%bredband.net
cfa8f92f51
Don't use a Frame pointer to remember where we last painted the caret, instead use Content+offset+hint. b=296464 r=mrbkap sr=roc a=cbeard
...
git-svn-id: svn://10.0.0.236/trunk@177536 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 03:44:16 +00:00
roc+%cs.cmu.edu
a4e5443b20
Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there.
...
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
bryner%brianryner.com
d1232f1869
Fix fastback regression where IsZombieDocument could return false even if we are in a zombie document. Bug 301804, r=aaronl, sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@177185 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 20:01:52 +00:00
jst%mozilla.jstenback.com
792744ce69
Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
timeless%mozdev.org
786bcf4000
Bug 300572 FF11a2 Crash in [@ js_SetSlotThreadSafe] with new Shockwave Flash beta 8.0 b434
...
r=jst sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@176321 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 12:36:55 +00:00
bryner%brianryner.com
01d4a2db78
Make sure we unsuppress painting for subframes on fastback. Bug 292890, r+sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@176244 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 17:07:40 +00:00
aaronleventhal%moonset.net
40b6366b17
Bug 300642. Fix regression from fastback that broke page loading in screen readers. r+sr=bryner, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176121 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 02:35:19 +00:00
bzbarsky%mit.edu
2e83e0e621
Don't post or process reflow events after the presshell started destroying.
...
Bug 293651, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@175760 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 17:10:40 +00:00
bryner%brianryner.com
35fcd14778
Use PresShell::UnsuppressPainting instead of just an invalidate, to make sure the content area receives focus if needed. Bug 295931, r+sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@175477 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 07:12:02 +00:00
bryner%brianryner.com
579f24fd9d
Fix crash when using fastback to go to pages that use SVG in an <object> tag, and bulletproof a little bit. Bug 299153, r+sr=dbaron, a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@175421 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 20:58:33 +00:00
aaronleventhal%moonset.net
d0301a1bd7
Bug 290352. Fix show/hide events, and anything dependent on those such as DHTML sub sub menus, alerts and progress bars. r=louie.zhao, sr=bz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174409 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 13:57:27 +00:00
bzbarsky%mit.edu
6bb181f495
Protect against sizeToContent being called on windows with no content a bit.
...
Bug 293781, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@173384 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 19:47:38 +00:00
bzbarsky%mit.edu
2e6c4b317a
Fix bug 293588 -- make sure to not store form data in the wrong session history
...
entry. r+sr=bryner, a=brendan
git-svn-id: svn://10.0.0.236/trunk@173350 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 20:53:33 +00:00
bryner%brianryner.com
189a661d09
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
aaronleventhal%moonset.net
eb9e22a026
Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172977 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 03:46:51 +00:00
masayuki%d-toybox.com
03d259c108
bug 292263 ATOK's Moji Palette that is like software keyboard doesn't work. r=timeless, sr=neil, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@172878 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 18:30:23 +00:00
jst%mozilla.jstenback.com
ebed1ee784
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
3d63df3114
Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172244 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 22:41:52 +00:00
bzbarsky%mit.edu
46d9cf3192
Don't copy/paste code to cast to placeholder frames all over the place; use a
...
utility method instead. Bug 276954, r+sr=roc, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172225 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 15:30:35 +00:00
smfr%smfr.org
419c9e101b
Fix bug 289022: every other click in a text field unfocusses it, so you can't type. Fixed by retargeting keyboard events to a parent view, if their target view has no frame. r=roc, sr=dbaron, a=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@172062 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 04:35:13 +00:00
aaronleventhal%moonset.net
dca00c4561
Bug 280154. Cannot arrow past first entry in help sidebar panels. r=Neil, sr=bz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@172044 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 20:25:49 +00:00
kyle.yuan%sun.com
0159c15d9e
Bug 268513 overflow:scroll causes memory growth
...
r/sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@171873 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 23:50:40 +00:00