4624 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
c820f47543 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159417 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:02:53 +00:00
dbaron%dbaron.org
33a6ecdc76 Restore ReResolveMenusAndTrees code, which is needed for theme switching. b=226791 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159412 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 01:16:27 +00:00
dbaron%dbaron.org
9c58fc5ccf Move root element fixups to nsStyleContext so they happen before CalcDifference calls in style reresolution and we reframe less. b=245327 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159399 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-17 18:21:41 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4 Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
aaronleventhal%moonset.net
68db552d54 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
dbaron%dbaron.org
2ffe6397c4 Trim unneeded includes to speed up compilation. b=64023 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@159321 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 06:32:16 +00:00
bzbarsky%mit.edu
1b04542f5d Fix preshints in anonymous content some more (by moving all document sheet
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels).  Bug 234861,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@159283 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:30:30 +00:00
aaronleventhal%moonset.net
aac51e9f0b Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
dbaron%dbaron.org
27b14921d7 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159201 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:19:22 +00:00
aaronleventhal%moonset.net
c361ea9f16 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
smontagu%smontagu.org
b680f38310 Display subruns in a right-to-left text run in the correct order in XUL text. Bug 248029, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158839 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 06:49:10 +00:00
alex%croczilla.com
dedf4d2c31 Bug#245408: 'position' shouldn't apply to SVG elements other than outermost <svg/> element. SVG only - not part of default builds. r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@158752 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 06:45:51 +00:00
smontagu%smontagu.org
90236fac10 Improve the CHAR_IS_BIDI macro. Bug 240943, patch from an idea by Peter Kirk, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158733 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-04 10:51:33 +00:00
bmlk%gmx.de
081d8667b3 fix a crash in table pseudo frame handling, where colgroups need a special handling as they hold only columns and and can not be parents of other frames , bug 239294 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158716 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-03 09:42:51 +00:00
caillon%redhat.com
51be7e015f Bug 241507
Don't create new rendering contexts for each caret drawn on *nix platforms since there are no known issues with doing so.  If issues crop up, I will undo this change.
r/sr=jst/bryner


git-svn-id: svn://10.0.0.236/trunk@158583 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-29 19:12:19 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
neil%parkwaycc.co.uk
1ac48881d7 Bug 216101 Cleaing frame refs can leave caret fragments p=mnyromyr@tprac.de r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@158466 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 09:57:35 +00:00
dbaron%dbaron.org
580a260d87 Null check mViewManager. b=248343 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158439 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-24 21:56:29 +00:00
tor%cs.brown.edu
bc6db8e5fc Bug 246857 - implement <svg:defs>. r=afri. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@158374 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 18:14:04 +00:00
dbaron%dbaron.org
41ff3ad83f Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158287 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 04:32:52 +00:00
bryner%brianryner.com
c69233d235 oops, this wasn't supposed to go on the trunk. backing out.
git-svn-id: svn://10.0.0.236/trunk@158278 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:41:30 +00:00
bryner%brianryner.com
ea5334a7ce bringing branch changes forward
git-svn-id: svn://10.0.0.236/trunk@158277 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:35:56 +00:00
jshin%mailaps.org
5b569ba041 bug 245770 : add a pref. to control whether or not replace backslashes with Yen signs in Japanese documents (r=smontagu, sr=dbaron)
git-svn-id: svn://10.0.0.236/trunk@158245 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 10:32:27 +00:00
cbiesinger%web.de
e5b61970b9 bug 227313 patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net> r+sr=roc
remove unused code related to PresShell::ScrollFrameIntoView(nsIFrame*)


git-svn-id: svn://10.0.0.236/trunk@158114 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 14:54:56 +00:00
roc+%cs.cmu.edu
897c2495e8 Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158083 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 02:08:19 +00:00
dbaron%dbaron.org
b3b0bcf362 Make WipeContainingBlock walk up further when the containing block is the block part of an inline that contains a block. b=244454 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@158041 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 18:51:17 +00:00
roc+%cs.cmu.edu
f8fdf5f9c2 Bug 245297. Add basic style system support for columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158023 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 11:57:37 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bryner%brianryner.com
1df9753a77 Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@157620 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 23:53:59 +00:00
dbaron%dbaron.org
264614a454 Remove TestSpaceManager from the build. (Fixing bustage the easy way.)
git-svn-id: svn://10.0.0.236/trunk@157606 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 20:12:01 +00:00
aaronleventhal%moonset.net
05e1ff96e7 Bug 239914. When OS high contrast or another accessible theme is used, automatically follow it in chrome and content. r=bsmedberg, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@157605 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 19:34:55 +00:00
dbaron%dbaron.org
2c97c45164 Move clearing from nsBlockBandData to nsSpaceManager so that 'clear' works even when the floats to be cleared don't overlap the block's border-box. b=148994 Patch by Blake Kaplan <mrbkap@rice.edu>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@157603 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 19:18:30 +00:00
bzbarsky%mit.edu
291ccad0c4 Check that the generated content URL is non-null (which can happen when it's an
invalid URI).  Bug 244490, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@157555 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 01:16:25 +00:00
jim_nance%yahoo.com
3f4820cc7f Fix bug #242044 - Reduce number of allocations by nsSpaceManager::PushState
git-svn-id: svn://10.0.0.236/trunk@157468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-06 18:45:02 +00:00
cbiesinger%web.de
ff1bd6473d bug 196380
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@157435 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 17:57:00 +00:00
neil%parkwaycc.co.uk
bc6971b8a2 Bug 245024 Fix crash in print preview by blocking click events r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@157414 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-04 22:06:05 +00:00
smontagu%smontagu.org
d1a1c12261 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@157214 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 06:20:16 +00:00
bzbarsky%mit.edu
2ce7c13354 When scrolling to form controls on focus, make sure to flush out pending
reflows first.  Bug 245133, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157195 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 20:56:55 +00:00
sspitzer%mozilla.org
6115060022 bullet proofing (wall paper) fix for top crasher bug #243294
now we just assert, instead of crash. see bug #245055 about the real problem.

Crash [@ nsCaret::GetViewForRendering] when printing a schedule from www.matkahuolto.info

r/sr=roc


git-svn-id: svn://10.0.0.236/trunk@157103 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-29 19:57:00 +00:00
bzbarsky%mit.edu
3972cb4509 Make sure to flush out content and style updates when calling sizeToContent.
Bug 244235, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157056 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 16:03:09 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
bryner%brianryner.com
bdc8de8a39 fix typo in bug number
git-svn-id: svn://10.0.0.236/trunk@156972 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-26 18:32:26 +00:00
smontagu%smontagu.org
280b8ea34e Fix flipping of Arabic text when pasted to clipboard. Bug 197375, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156797 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-23 09:15:23 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
neil%parkwaycc.co.uk
d17dbf1869 Bug 240542 Fix crash when inserting a listitem whose parent isn't a listbox r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@156687 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 08:39:39 +00:00
aaronleventhal%moonset.net
c7ce2f4da0 Bug 242799. Fix touchpad scrolling but keep support for screen reader behavior based on class names. r=ere, sr=roc
git-svn-id: svn://10.0.0.236/trunk@156625 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-20 03:14:41 +00:00
smontagu%smontagu.org
f91e2604fc Update bidi data tables to Unicode 4.0.1 and add surrogate handling. Bug 240943, r=jshin, sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@156524 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 11:01:49 +00:00
bzbarsky%mit.edu
e26ec45382 Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@156491 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu
5bdc8bc3af Fix bustage, accidental checkin of work in progress :-(
git-svn-id: svn://10.0.0.236/trunk@156466 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 17:16:17 +00:00
roc+%cs.cmu.edu
92e59ef827 Backing out 233441.
git-svn-id: svn://10.0.0.236/trunk@156464 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 16:29:13 +00:00