1126 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
22cd821e27 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@221651 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 23:43:50 +00:00
roc+%cs.cmu.edu
132dc14b65 Bug 372729. Layout scrollbars before onload fires. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@221506 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 01:37:06 +00:00
Olli.Pettay%helsinki.fi
20e1f263f1 Bug 372797, Convert ScrollFrameIntoView users to use ScrollContentIntoView, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@221453 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 19:08:36 +00:00
bzbarsky%mit.edu
1646da9ee6 Back out bug 267833 to test performance effect.
git-svn-id: svn://10.0.0.236/trunk@221409 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu
dc7b70aa9c Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me


git-svn-id: svn://10.0.0.236/trunk@221404 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 19:36:36 +00:00
Olli.Pettay%helsinki.fi
9d63e840ba Bug 372665 – Crash [@ PresShell::ScrollFrameIntoView] when focusing br during pageload. (Adding ScrollContentIntoView), r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@221380 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-06 09:53:56 +00:00
roc+%cs.cmu.edu
f6ae161325 Bug 363253. Move scrollframe attribute-setting out of reflow to a post-reflow callback. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@221296 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 01:39:53 +00:00
mats.palmgren%bredband.net
13a41c5b63 Avoid creating multiple entries for a frame in mDirtyRoots. b=366320 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@220792 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 02:29:52 +00:00
roc+%cs.cmu.edu
a059a387a0 Bug 354491. Fix the display of the event target frame in layout debugging to not use views and not crash. r=mats,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@220594 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 20:22:19 +00:00
asqueella%gmail.com
11bad405e3 bug 257868 - remove the nsIPresShell::SetAnonymousContentFor() API, make the frames store strong refs to the anonymous content instead. Decomtaminate nsIAnonymousContentCreator.
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220517 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 17:34:09 +00:00
sharparrow1%yahoo.com
b77c8515bc Bug 370492: Stop using views for event.PageX/Y, event.layerX/Y, image.x/y. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220508 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 10:43:12 +00:00
sharparrow1%yahoo.com
36ce4195bc Bug 370642: remove use of views in layout/inspector. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@220501 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 04:44:21 +00:00
jonas%sicking.cc
7b8af22092 Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
git-svn-id: svn://10.0.0.236/trunk@220435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 23:02:08 +00:00
bzbarsky%mit.edu
7367447946 Revoke pending reflow events before tearing down the frame tree. Bug 347662,
r+sr=roc.


git-svn-id: svn://10.0.0.236/trunk@220042 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 04:46:57 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
smontagu%smontagu.org
bb62298042 Remove unused method BidiStyleChangeReflow(). Bug 369338, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219488 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 10:48:27 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
d17d88f579 Fix bustage merging 367442 and 366956.
git-svn-id: svn://10.0.0.236/trunk@218941 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:10:28 +00:00
dbaron%dbaron.org
07b53e788d Reflow reflow roots and the child of SVG foreignObject with an unconstrained height to avoid triggering page/column breaking. b=366956 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218880 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:01:07 +00:00
roc+%cs.cmu.edu
1534bcd542 Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@218782 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 02:58:55 +00:00
dbaron%dbaron.org
927d56bf63 Make PushStackMemory never fail to simplify callers, and deCOMtaminate the stack memory API. b=366866 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218565 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:53:47 +00:00
roc+%cs.cmu.edu
d641d76b28 Bug 366001. Remove old reflow batching API, it's not effective or needed. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@218554 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 22:28:33 +00:00
dbaron%dbaron.org
5e37eb9b0f Fix potentially uninitialized nsresult return value, regression from deCOMtamination patch. b=330305 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218493 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 05:16:13 +00:00
bzbarsky%mit.edu
8c351facb0 Implement the proposed Web Apps 1.0 API for changing the selected style sheet
set, querying the available sets, etc.  Bug 200930, r=sicking, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218215 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 19:32:31 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
Olli.Pettay%helsinki.fi
aec65575d1 Bug 336574, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216997 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 00:23:39 +00:00
neil%parkwaycc.co.uk
df888d713e Bug 363444 Small objects sometimes incorrectly scrolled into view r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@216954 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 20:43:59 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
25c459209d Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
Olli.Pettay%helsinki.fi
174edaba72 Bug 360731, Back and Forward buttons on mouse no longer work, also Bug 330938, r=emaijala, sr=roc
git-svn-id: svn://10.0.0.236/trunk@216247 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 11:09:53 +00:00
roc+%cs.cmu.edu
6b01227e23 Bug 324963. Keep a list of active popups to help us dispatch mouse events to them ... moving handling of 'always on top' popups towards a view-less world. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@216116 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 23:09:13 +00:00
sayrer%gmail.com
1173d9db39 bug 361005. remove nsCRT::strdup from layout. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@215393 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-17 01:49:06 +00:00
Olli.Pettay%helsinki.fi
08df7735f7 Consolidate NS_MOUSE_***_UP/DOWN/CLICK/DBLCLICK events, r=jst,roc,josh,sergei_d,emaijala,mkaply
git-svn-id: svn://10.0.0.236/trunk@215370 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 21:35:39 +00:00
bzbarsky%mit.edu
0f9db8680c When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
Bug 360524, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215223 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 21:27:44 +00:00
mrbkap%gmail.com
10f4e54168 Add an API on the presshell for invalidating the caret if it isn't currently
contained entirely in its frame. Use it in the editor where we remove the
caret's frame out from under it without properly notifying it (due to selection
batching). bug 335065, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@214842 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:35:36 +00:00
cvshook%sicking.cc
78a449be36 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@214666 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 21:51:01 +00:00
bzbarsky%mit.edu
7c049349fc When retargeting events to a parent presshell, do not lose our focus. Bug
305939, patch by Oliver Yeoh <oliver_yeoh@hotmail.com>, r=mats, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@214211 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-27 00:01:19 +00:00
cvshook%sicking.cc
5b1363f0be Kill nsGeneratedContentIterator and related classes and code since it's not used. r/sr=dbaron b=357957
git-svn-id: svn://10.0.0.236/trunk@214128 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-25 20:24:00 +00:00
mats.palmgren%bredband.net
a09a6b3762 Remove dead code. b=355617 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@213287 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-07 08:34:53 +00:00
Olli.Pettay%helsinki.fi
30383f2b4b Bug 346521, Crash [@ PresShell::ReflowEvent::Run] when clicking on close window link in popup window with embedded video, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212421 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-26 22:29:59 +00:00
neil%parkwaycc.co.uk
74cd7ccc2b Bug 70798 Ability to have transparent background on <popup>s r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209326 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 08:50:43 +00:00
bzbarsky%mit.edu
a07cb5caa8 Just make all document mutation observers get notified through the binding
manager, to resolve issues with them depending on insertion points.  Bug 348573
follow, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@208874 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 03:17:45 +00:00
bzbarsky%mit.edu
4e288d05f2 Retarget key events to the parent presshell if we have no root content. Bug
303260, r=mats, sr=roc


git-svn-id: svn://10.0.0.236/trunk@208595 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 02:04:16 +00:00
jruderman%hmc.edu
c0c3b74958 Bug 334514, FrameArena::~FrameArena should assert that it's empty. r=sr=roc. If you see the new assertion, "Some frame destructors were not called", please file a security-sensitive bug (blocking bug 334514) and/or fix it :)
git-svn-id: svn://10.0.0.236/trunk@208498 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-26 04:22:24 +00:00
mrbkap%gmail.com
e186daab25 Update the caret's position and size after reflows. bug 334609, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208144 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-23 02:06:39 +00:00
mrbkap%gmail.com
19c307e777 Invalidate the caret's position while we can still figure out which continuing frame we are in. bug 336637, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@207773 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 20:58:31 +00:00
bzbarsky%mit.edu
dad790ea9c Make it possible for document observers who need to worry about XBL to observe
the binding manager and make presshell do that.  Bug 348573, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@207498 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 22:41:58 +00:00
uriber%gmail.com
bf3c2a0692 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206807 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 05:14:52 +00:00
jag%tty.nl
aa42b18cfe Expand tab introduced in previous checkin. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@203603 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 01:34:31 +00:00
sspitzer%mozilla.org
f460a1f699 fix for bug #342439: printing certain urls (google groups and maps) from print preview shows the style/meta tags on paper. thanks to bz for the fix. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@203594 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 00:29:26 +00:00