Граф коммитов

4725 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 73dd88cdb0 Restore ReResolveMenusAndTrees code, which is needed for theme switching. b=226791 r+sr=bzbarsky 2004-07-18 01:16:27 +00:00
dbaron%dbaron.org 51709ea6ab Move root element fixups to nsStyleContext so they happen before CalcDifference calls in style reresolution and we reframe less. b=245327 r+sr=bzbarsky 2004-07-17 18:21:41 +00:00
jst%mozilla.jstenback.com 693923a31f Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
aaronleventhal%moonset.net 1ebd6baf37 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 2004-07-16 16:56:21 +00:00
dbaron%dbaron.org a2d532dbdc Trim unneeded includes to speed up compilation. b=64023 r+sr=jst 2004-07-16 06:32:16 +00:00
bzbarsky%mit.edu 3cf776f03e 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
2004-07-15 20:30:30 +00:00
aaronleventhal%moonset.net ccbc55e0d0 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
dbaron%dbaron.org 796d62cc38 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky 2004-07-14 22:19:22 +00:00
aaronleventhal%moonset.net 78fcf72fc2 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 2004-07-14 21:58:34 +00:00
smontagu%smontagu.org 1525e48879 Display subruns in a right-to-left text run in the correct order in XUL text. Bug 248029, r+sr=roc 2004-07-07 06:49:10 +00:00
alex%croczilla.com afffff7463 Bug#245408: 'position' shouldn't apply to SVG elements other than outermost <svg/> element. SVG only - not part of default builds. r/sr=dbaron. 2004-07-05 06:45:51 +00:00
smontagu%smontagu.org fc1896ade7 Improve the CHAR_IS_BIDI macro. Bug 240943, patch from an idea by Peter Kirk, r+sr=roc 2004-07-04 10:51:33 +00:00
bmlk%gmx.de f3ec0b75bb 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 2004-07-03 09:42:51 +00:00
caillon%redhat.com ae5e2bdd51 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
2004-06-29 19:12:19 +00:00
peterv%propagandism.org c6758de122 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
neil%parkwaycc.co.uk a01946be7b Bug 216101 Cleaing frame refs can leave caret fragments p=mnyromyr@tprac.de r/sr=roc 2004-06-25 09:57:35 +00:00
dbaron%dbaron.org c262acf5fc Null check mViewManager. b=248343 r+sr=roc 2004-06-24 21:56:29 +00:00
tor%cs.brown.edu 02b09ac411 Bug 246857 - implement <svg:defs>. r=afri. Not in default build. 2004-06-23 18:14:04 +00:00
dbaron%dbaron.org 0ec49fbb44 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 2004-06-22 04:32:52 +00:00
bryner%brianryner.com 55d74e870b oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner%brianryner.com 8cfeadc0a0 bringing branch changes forward 2004-06-21 23:35:56 +00:00
jshin%mailaps.org ee4756c8be bug 245770 : add a pref. to control whether or not replace backslashes with Yen signs in Japanese documents (r=smontagu, sr=dbaron) 2004-06-21 10:32:27 +00:00
cbiesinger%web.de 9a38cbd61b bug 227313 patch by Ludovic Hirlimann <qa-mozilla@hirlimann.net> r+sr=roc
remove unused code related to PresShell::ScrollFrameIntoView(nsIFrame*)
2004-06-18 14:54:56 +00:00
roc+%cs.cmu.edu 51183ee40b Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron 2004-06-18 02:08:19 +00:00
dbaron%dbaron.org e15ee7474f 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 2004-06-17 18:51:17 +00:00
roc+%cs.cmu.edu 616920fb6e Bug 245297. Add basic style system support for columns. r+sr=dbaron 2004-06-17 11:57:37 +00:00
roc+%cs.cmu.edu 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bryner%brianryner.com 4451888110 Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron. 2004-06-08 23:53:59 +00:00
dbaron%dbaron.org 907898a713 Remove TestSpaceManager from the build. (Fixing bustage the easy way.) 2004-06-08 20:12:01 +00:00
aaronleventhal%moonset.net b129a05b0f Bug 239914. When OS high contrast or another accessible theme is used, automatically follow it in chrome and content. r=bsmedberg, sr=bryner 2004-06-08 19:34:55 +00:00
dbaron%dbaron.org fccd797e87 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 2004-06-08 19:18:30 +00:00
bzbarsky%mit.edu dd87aab226 Check that the generated content URL is non-null (which can happen when it's an
invalid URI).  Bug 244490, r+sr=dbaron
2004-06-08 01:16:25 +00:00
jim_nance%yahoo.com dbdb7cf917 Fix bug #242044 - Reduce number of allocations by nsSpaceManager::PushState 2004-06-06 18:45:02 +00:00
cbiesinger%web.de 589ae07662 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
2004-06-05 17:57:00 +00:00
neil%parkwaycc.co.uk a4c3a9de51 Bug 245024 Fix crash in print preview by blocking click events r/sr=jst 2004-06-04 22:06:05 +00:00
smontagu%smontagu.org c9791928b9 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
bzbarsky%mit.edu 1d0de3c7ca When scrolling to form controls on focus, make sure to flush out pending
reflows first.  Bug 245133, r+sr=jst
2004-05-31 20:56:55 +00:00
sspitzer%mozilla.org 11ed77ad8f 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
2004-05-29 19:57:00 +00:00
bzbarsky%mit.edu 201cd5d791 Make sure to flush out content and style updates when calling sizeToContent.
Bug 244235, r+sr=jst
2004-05-28 16:03:09 +00:00
bzbarsky%mit.edu 27b140b534 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
bryner%brianryner.com 441c269ffb fix typo in bug number 2004-05-26 18:32:26 +00:00
smontagu%smontagu.org 950422f8f1 Fix flipping of Arabic text when pasted to clipboard. Bug 197375, r+sr=bzbarsky 2004-05-23 09:15:23 +00:00
roc+%cs.cmu.edu b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
neil%parkwaycc.co.uk 3e29414edb Bug 240542 Fix crash when inserting a listitem whose parent isn't a listbox r/sr=bz 2004-05-21 08:39:39 +00:00
aaronleventhal%moonset.net 273397a135 Bug 242799. Fix touchpad scrolling but keep support for screen reader behavior based on class names. r=ere, sr=roc 2004-05-20 03:14:41 +00:00
smontagu%smontagu.org b6b7cf8808 Update bidi data tables to Unicode 4.0.1 and add surrogate handling. Bug 240943, r=jshin, sr=rbs. 2004-05-18 11:01:49 +00:00
bzbarsky%mit.edu e4f86cf527 Remove nsIViewManager::GetWidgetForView; move callers over to
nsIView::GetNearestWidget.  Part of bug 243723, r+sr=roc
2004-05-18 01:13:45 +00:00
roc+%cs.cmu.edu e8a6d8ed78 Fix bustage, accidental checkin of work in progress :-( 2004-05-17 17:16:17 +00:00
roc+%cs.cmu.edu f1f89a9129 Backing out 233441. 2004-05-17 16:29:13 +00:00
bzbarsky%mit.edu 6493622dba Make sure to use the right parent style context (null) when reresolving style
for a root node with an XBL binding that includes scoped stylesheets.  Bug
243019, r+sr=roc
2004-05-15 05:11:53 +00:00
smontagu%smontagu.org 53c61c0201 Update the table of Bidi character categories to Unicode 4.0.1: partial patch to Bug 240943 to match the 1.7 branch checkin. r=jshin, rs=blizzard. 2004-05-08 20:40:58 +00:00
jst%mozilla.jstenback.com d247d3f525 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
bzbarsky%mit.edu e9c402d3ef Make table cell frame construction handle errors from children without
crashing.  Bug 237760, r+sr=roc
2004-05-07 19:45:41 +00:00
aaronleventhal%moonset.net a935600f4c Bug 242790. Tabbing, accessibility and other things broken because GetSubDocumentFor regressed. r=bryner, sr=jst 2004-05-07 11:57:10 +00:00
roc+%cs.cmu.edu e508d2a0ad Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
caillon%redhat.com d592c269c0 Remove '-moz-resizer' from the style system.
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
roc+%cs.cmu.edu f72582951e Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared 2004-05-05 02:41:19 +00:00
roc+%cs.cmu.edu 3074e7edc0 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared 2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu 8d9033c380 Bug 230417. When a placeholder frame lands in a block's overflowList, put its out of flow frame in a new child list, overflowOutOfFlowsList 2004-05-05 02:30:33 +00:00
bzbarsky%mit.edu 07f8d63578 Subtract out the reflow hint from aMinChange when re-resolving out-of-flow
kids, in case they're not our descendants and need a reflow.  Bug 170644,
r+sr=dbaron
2004-05-05 00:34:22 +00:00
bzbarsky%mit.edu 481f45cbdd Make sure to not finish the reflow command hash till we've cancelled all
commands on shutdown.  Bug 242602, r+sr=dbaron
2004-05-04 21:59:56 +00:00
aaronleventhal%moonset.net 0d75ee958b Use win32 window class name corresponding to UI/content/general/hidden. r=ere, sr=roc 2004-05-04 12:39:42 +00:00
bryner%brianryner.com f9f55ca33e deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
bzbarsky%mit.edu 212e6f6ad1 Minor tweak to hashkey calculation. Bug 240934. 2004-05-02 19:56:06 +00:00
bzbarsky%mit.edu eef70c4d28 Switch AlreadyInQueue to use a hashtable (which is maintained sorta in parallel
with the reflow command list) instead of walking the array each time.  Bug
240934, r=roc, sr=brendan
2004-05-02 18:07:12 +00:00
bryner%brianryner.com 7927c18306 Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst. 2004-04-30 23:55:16 +00:00
roc+%cs.cmu.edu 54444d6aae Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron 2004-04-30 13:23:43 +00:00
jst%mozilla.jstenback.com 259f2b11a4 Fixing build warning. 2004-04-30 04:11:02 +00:00
jst%mozilla.jstenback.com 59e02310d6 This was apparently not the reason for the Tp hit, re-landing (bug 240543). 2004-04-30 04:06:30 +00:00
jst%mozilla.jstenback.com 61b5f5e0bc Backing out the nsPresContext changes in my last checkin to see if that's what caused the increase in Tp. 2004-04-30 03:10:29 +00:00
jst%mozilla.jstenback.com ca74706604 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
roc+%cs.cmu.edu 1c438fcb5e Bug 226439. Some small conversion to use EqualsLiteral to see effect on code size, r+sr=dbaron. Additionally, some comments to clarify that EqualsLiteral is only for actual literals, and to properly credit Corey Kosak who showed me the template trick. Also re-enabled the template for MSVC++ 7.1, which can apparently handle it. 2004-04-28 17:48:02 +00:00
dbaron%dbaron.org 85b2863fe7 Fix leak of content on all key and IME events. b=241591 r+sr=bryner 2004-04-26 23:19:50 +00:00
neil%parkwaycc.co.uk 5ac7273e52 Bug 241151 nsSpringFrame was a useless subclass of nsLeafBoxFrame r/sr=roc 2004-04-24 21:27:11 +00:00
bzbarsky%mit.edu 74c687f2ca Change mCBReflowState to mean the containing block of _this_ reflow state
instead of the containing block of kids.  Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations).  Bug 135082,
r+sr=dbaron
2004-04-24 17:56:23 +00:00
roc+%cs.cmu.edu fe8d2b30ea Bug 234851. Minor performance optimization to make sure we only try overflow propagation for HTML BODY elements, not BODY elements from any XML namespace. r+sr=bzbarsky 2004-04-24 17:02:34 +00:00
bzbarsky%mit.edu 3d5caf1cf3 When we push a pseudo cell frame, the block inside it needs to become the float
containing block.  Otherwise, floats inside this cellframe get very confused.
Bug 233094 and various dependencies, r+sr=dbaron
2004-04-24 16:00:46 +00:00
tor%cs.brown.edu 30915451be Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 16:13:26 +00:00
tor%cs.brown.edu 44fbbcc21b Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv%gerv.net 85ce8c146b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu 6fa1005b53 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:55:11 +00:00
gerv%gerv.net 6635d16530 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
tor%cs.brown.edu bd2796f514 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
gerv%gerv.net 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
dbaron%dbaron.org 108aa789ff Forgot to initialize mQuotesDirty in constructor. b=24861 rs=tor 2004-04-16 19:06:51 +00:00
dveditz%cruzio.com d27a8470ac bug 240449 infinite loop tickled by some skins, r=bsmedberg, sr=dbaron, a=brendan 2004-04-14 08:19:27 +00:00
roc+%cs.cmu.edu bef12baf70 Fix a few warnings. Patch by gautheri, r+sr=roc 2004-04-13 03:13:46 +00:00
roc+%cs.cmu.edu 96e75233d2 Fix build bustage 2004-04-13 03:04:05 +00:00
roc+%cs.cmu.edu 93ceed6057 Bug 237091. Remove unnecessary WindowOffset and RootWidget functionality from the view manager. r+sr=dbaron 2004-04-13 03:03:18 +00:00
roc+%cs.cmu.edu 3377c67eb5 Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron 2004-04-13 02:56:03 +00:00
bryner%brianryner.com 62c142565c More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
bzbarsky%mit.edu fe2c70e53f Make sure to null out mStyleSet if Init() fails, since the caller will delete
it in that case.  Bug 240240, r+sr=bryner
2004-04-13 00:27:29 +00:00
sicking%bigfoot.com 6ce4fac4be Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
bzbarsky%mit.edu 7305fc5758 Don't clobber 'pseudoTag' with random atoms from other style contexts; we need
it later on.  Bug 231166, r+sr=dbaron
2004-04-12 22:42:50 +00:00
dbaron%dbaron.org 21a5e14d4e Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky 2004-04-12 21:54:45 +00:00
dbaron%dbaron.org b2e0bd26a0 Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861 2004-04-12 21:53:22 +00:00
cbiesinger%web.de 8d14e41cc6 bug 236707 ARABIC COMMA's Joining Class is wrong
patch by Behnam Esfahbod <behnam@esfahbod.info> r=smontagu sr=rbs a=mkaply
2004-04-10 14:21:41 +00:00
bzbarsky%mit.edu ed4f4c2758 Change the way regression tests get the framestate to make it possible to mask
out irrelevant state bits as needed.  Apply this to NS_BLOCK_HAS_LINE_CURSOR.
Bug 237955, r+sr=roc, a=dbaron
2004-04-04 01:48:16 +00:00
dbaron%dbaron.org 0deab59d62 Fix crashes by making CreateContinuingFrame able to deal with a frame that already has a next-in-flow. b=140948 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=chofmann 2004-04-02 00:09:57 +00:00
bzbarsky%mit.edu c5ca106f7b Fix assert. Bug 236921, r+sr=dbaron, a=chofmann 2004-03-31 03:13:54 +00:00
bzbarsky%mit.edu 79a2f3c0ec Fix bug 236921. This makes the root node's style context have no parent, makes
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root.  r=caillon, sr=dbaron, a=asa
2004-03-29 16:00:38 +00:00
bryner%brianryner.com c41d9fdd13 Fix following an image map link by pressing enter. Bug 214373, r+sr=jst, a=asa. 2004-03-22 18:13:11 +00:00
bryner%brianryner.com 49fb65d5f2 Make GetFrameProperty return NS_IFRAME_MGR_PROP_NOT_THERE when the property is not found (instead of NS_ERROR_FAILURE). Fixes bug 236590. r+sr=dbaron, a=chofmann 2004-03-21 05:22:46 +00:00
dbaron%dbaron.org f92415768a DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu 0651f4e7ae Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
dbaron%dbaron.org fc8f3eda8e In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky 2004-03-10 00:28:17 +00:00
bsmedberg%covad.net b107850633 Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz 2004-03-09 19:59:09 +00:00
alex.fritze%crocodile-clips.com 641215855d Remove unused includes. SVG only - not part of default build. 2004-03-09 09:53:40 +00:00
bmlk%gmx.de b149d43c9a implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron 2004-03-09 06:48:35 +00:00
bzbarsky%mit.edu 684f965503 Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron
2004-03-09 03:57:51 +00:00
bzbarsky%mit.edu a42a95319c Make sure to fire XBL constructors on bindings attached to display:none nodes.
Bug 188496, r+sr=dbaron
2004-03-07 20:33:56 +00:00
roc+%cs.cmu.edu d162445909 Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky 2004-03-07 18:04:24 +00:00
roc+%cs.cmu.edu b06016c66d Bustage fix 2004-03-06 14:55:21 +00:00
roc+%cs.cmu.edu 1313df0dfa Bug 235335. Additional changes. r+sr=bryner 2004-03-06 04:53:30 +00:00
roc+%cs.cmu.edu 3367d05d49 Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner 2004-03-06 04:46:11 +00:00
bryner%brianryner.com 6252896efc inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
darin%meer.net 1d2d419885 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
chanial%noos.fr 40dbde989a Bug 235187: nsContextMenuInfo shouldn't use low-level API and remove presContext FindFrameBackground.
r=ccarlen, sr=bz
(file not used by the xul apps)
2004-02-28 02:00:23 +00:00
bryner%brianryner.com 70b6682c31 Fixing runtime bustage from missing addref 2004-02-27 18:24:36 +00:00
bryner%brianryner.com d6b0d386ee deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu 1996189441 Position fixed backgrounds with respect to the viewport, not "nearest
scrollframe or viewport".  Bug 235768, r+sr=roc
2004-02-27 05:40:16 +00:00
bryner%brianryner.com 3d7b5f106d Try to fix some crashes from calling PresShell methods after Destroy() has called. Bug 235395, r+sr=roc. 2004-02-25 09:10:06 +00:00
bryner%brianryner.com 4b17555763 Fixing AIX bustage 2004-02-24 00:36:35 +00:00
bryner%brianryner.com 745944525d Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
roc+%cs.cmu.edu 985cc47697 Bug 180931. If we move a frame temporarily during reflow, we'd better invalidate the whole overflow area because invalidates may have been issued at the temporary position. 2004-02-22 03:31:30 +00:00
dbaron%dbaron.org 8b81db7e6f Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst 2004-02-20 21:38:31 +00:00
bryner%brianryner.com 41c3b9355c Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
roc+%cs.cmu.edu 7dfdbffda0 Bug 230697. Extend MOZ_FORCE_PAINT_AFTER_ONLOAD so that CSS background image loads delay firing of the onload event. r+sr=bz 2004-02-20 06:00:35 +00:00
bzbarsky%mit.edu af7fa0750d Remove bogus method that makes backgrounds on the canvas unhappy. Bug 219302,
r+sr=roc
2004-02-20 00:39:09 +00:00
bzbarsky%mit.edu 3529b572e5 Make fieldset splitting work so fieldsets taller than a page print. Bug
234015, r+sr=dbaron
2004-02-19 22:00:52 +00:00
tor%cs.brown.edu e4f437d0e6 Bug 234752 - Print code returns NS_OK in cases where it should return
an error.  Patch by roland.mainz@nrubsig.org, r+sr=roc.
2004-02-19 21:58:40 +00:00
cbiesinger%web.de bb8f20a832 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
dbaron%dbaron.org 0168550440 Replaced elements should not support generated content. b=169334 r+sr=bzbarsky 2004-02-19 18:04:15 +00:00
neil%parkwaycc.co.uk 7eda476db2 checked in wrong file, sorry 2004-02-19 13:23:46 +00:00
neil%parkwaycc.co.uk 38c9278afa (on bsmedberg's advice) third time lucky? 2004-02-19 13:20:57 +00:00
bzbarsky%mit.edu d6fb75b9c7 Make sure to retarget events when they leave native anonymous content. Also
make sure that native anonymous content is marked so (this way clicking on a
url()-created image in :before won't have an <img> node as a target).  Bug
233286, r+sr=bryner, a=dveditz
2004-02-15 04:45:18 +00:00
dbaron%dbaron.org d78e8a45b5 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
timeless%mozdev.org 633ac2bcf3 1.148 <jst@mozilla.jstenback.com> 09 Jan 2004 15:54
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission.
Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
Fix MOZ_TIMELINE r+sr=bz
Not part of the build
2004-02-13 22:19:50 +00:00
bzbarsky%mit.edu 09e79ec17b Fix bug 232798 -- make sure to set the link handler on the prescontext to null
when destroying the document viewer.  r+sr=jst
2004-02-11 06:48:37 +00:00
jst%mozilla.jstenback.com 6ca4c1a78e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bryner%brianryner.com b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
dbaron%dbaron.org bca84fc946 Remove NS_STYLE_BORDER_STYLE_BLANK. r+sr=bzbarsky 2004-02-11 04:34:12 +00:00
bzbarsky%mit.edu 20bef6960b Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
by pushing the relevant helpers up to nsGenericElement..  Remove referrer code
in nsSVGDocument, since nsDocument handles that.  Bug 233370,
r=alex@croczilla.com, sr=jst
2004-02-09 20:48:20 +00:00
dbaron%dbaron.org b46b98913f Make sure proper computed values for root element display fixups end up in the style data so that other code looking at the style data doesn't break. b=233480 r+sr=bzbarsky 2004-02-09 06:56:24 +00:00
dbaron%dbaron.org f916d83bd2 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
alex.fritze%crocodile-clips.com 910659d1c9 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
dbaron%dbaron.org 9677d991aa Synthesized mouse moves shouldn't fire DOM mousemove events. b=20022 r=roc sr=bryner 2004-02-06 23:10:32 +00:00
bmlk%gmx.de 7c3a3287f0 col frames should not have child frames. bug 230138 r=dbaron sr=bzbarsky 2004-02-06 05:27:57 +00:00
bryner%brianryner.com d4f13c3ba7 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
dbaron%dbaron.org 1992d6919c Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky 2004-02-04 06:10:56 +00:00
dbaron%dbaron.org b506c7e4d8 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=roc sr=bryner 2004-02-04 00:11:59 +00:00
danm-moz%comcast.net e5582e74d7 that doesn't seem to be the problem. restoring over last revision. 2004-02-03 20:07:39 +00:00
danm-moz%comcast.net db0c085744 disabling last checkin in an attempt to pin down the Tp regression 2004-02-03 17:16:05 +00:00
bzbarsky%mit.edu dd6f7b54ab Remove code that munges block widths inside table cells. Bug 232754,
r+sr=dbaron
2004-02-03 16:49:38 +00:00
danm-moz%comcast.net db28192dd4 set event being handled in the EventStateManager. bug 197919 r=bryner,jst 2004-02-03 02:23:08 +00:00
bryner%brianryner.com 05a0e4f624 Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
hpradhan%hotpop.com 75bee2c1db bug 232731 : misc cleanup in printing code 2004-02-01 12:10:57 +00:00
bryner%brianryner.com f67839e02e More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
bzbarsky%mit.edu 050b3e66c1 Make sure file control frames always have a space manager. Bug 232017, r+sr=dbaron 2004-02-01 04:07:17 +00:00
bryner%brianryner.com 0ea3c127ae Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
bzbarsky%mit.edu 198fe5168a Fix XBL extension of XHTML namespaced nodes. Bug 176606, patch by hyatt,
r=jst, sr=bzbarsky
2004-01-31 19:09:47 +00:00
roc+%cs.cmu.edu a2c6a75e31 Bug 109772. Some nsIView deCOMtamination. Fixed the API for GetNeearestWidget to be sensible. r+sr=dbaron 2004-01-30 03:20:41 +00:00
dbaron%dbaron.org 4d2ec27f4f Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r+sr=jst 2004-01-29 01:45:34 +00:00
bryner%brianryner.com fd6fed0d82 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
bzbarsky%mit.edu 1100669bd5 Remove the broken nsAttributeContent and just use regular textnodes to
implement attr() content.  Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
jst%mozilla.jstenback.com d62aed44c4 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
dbaron%dbaron.org e9b273e221 Reduce randomness in indentation and line wrapping. Whitespace changes only. 2004-01-22 21:58:28 +00:00
dbaron%dbaron.org b3ce2d47b0 Fix two problems with display fixups. b=231787 r+sr=bzbarsky 2004-01-22 21:34:04 +00:00
bryner%brianryner.com 93f6dc27e6 DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +00:00
bryner%brianryner.com 290494e26b Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +00:00
dbaron%dbaron.org b7b681aeb3 Process queued-up events after all types of reflow so we don't leak things referenced by the queues. b=231278 r=bzbarsky sr=roc 2004-01-21 04:15:00 +00:00
peterv%propagandism.org 56cd85f402 Doh. Fixing bustage. 2004-01-18 15:20:00 +00:00
peterv%propagandism.org 53f2f735a9 Miscellaneous cleanup. r/sr=jst. 2004-01-18 14:53:32 +00:00
peterv%propagandism.org 172440f1a9 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 14:52:21 +00:00
cbiesinger%web.de 00f1d09b7d Bug 176637 Custom link colors not rendered correctly
patch by durbacher@gmx.de (Andreas Kunz) r=dbaron sr=bz
2004-01-18 14:44:43 +00:00
peterv%propagandism.org b73f7d8861 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
caillon%returnzero.com 652f6388a7 Bug 230976.
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
2004-01-18 02:42:27 +00:00
dbaron%dbaron.org d22503bb59 Refactor code that calls ComputeStyleChangeFor and handles the result. b=231027 r+sr=bzbarsky 2004-01-17 22:43:14 +00:00
tor%cs.brown.edu 40912d05d5 Bug 113561 - handle tiling of images where the frame is smaller
than the container.  r=pavlov, sr=bryner
2004-01-16 23:28:51 +00:00
bzbarsky%mit.edu 302784ff96 Make <noscript> inline when displayed. Bug 230616, r+sr=dbaron 2004-01-16 03:05:00 +00:00
caillon%returnzero.com a3db938038 Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron 2004-01-15 22:06:39 +00:00
dbaron%dbaron.org 95c1a4e503 Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
dbaron%dbaron.org f0a3a7da49 Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky 2004-01-14 01:36:35 +00:00
dbaron%dbaron.org c6a9d7f43d Remove NS_FRAME_HAS_LOADED_IMAGES state bit. b=201076 r+sr=bzbarsky 2004-01-13 01:18:51 +00:00
bryner%brianryner.com a135ce4d60 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
bryner%brianryner.com 378b0bba29 Revert nsAutoPtr usage here at least until we better understand the bloat. Bug 64116, sr=bzbarsky. 2004-01-11 09:34:07 +00:00
dbaron%dbaron.org 1a8048a611 Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky 2004-01-11 04:29:09 +00:00
dbaron%dbaron.org ab99d0eabc Ignore incremental reflows targeted inside a reflow root if the reflow root's parent has not yet been reflowed. (This could probably be made more general, but it's enough to fix the bug in question.) b=228156 r=roc sr=bzbarsky 2004-01-10 19:12:23 +00:00
roc+%cs.cmu.edu 4ce233447a Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
jst%mozilla.jstenback.com 4ab234b8be General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu 19b72aba25 Fix warnings about uninitialized 'result' in nsFrameTraversal. r+sr=brendan 2004-01-09 21:45:24 +00:00
roc+%cs.cmu.edu c70c9c9de3 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu 2a50602bc0 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com 80973ebd8f fixing debug bustage 2004-01-08 21:10:33 +00:00
bryner%brianryner.com 83f9b1e537 Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bzbarsky%mit.edu d37d9a3e5f Setting .src should reset image animations; don't animate images no one is
looking at.  Bug 210001, r=pavlov, sr=jst
2004-01-08 18:29:28 +00:00
dbaron%dbaron.org cf89e72259 Back out some incorrrect changes I just made. b=230270, 230339 r=bryner 2004-01-07 22:38:09 +00:00
bryner%brianryner.com 9c81944cb6 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
dbaron%dbaron.org 86711e63ce Fix leaks of mCurrentEventContent. A few other little pieces of cleanup. b=230270 r+sr=bryner 2004-01-07 22:18:37 +00:00
alecf%flett.org 4d9ff98fcf fix for bug 209679 - remove reflow observer junk - r/sr=dbaron 2004-01-07 17:47:25 +00:00
bzbarsky%mit.edu 51ae8865ab Make AdjustComputedWidth/Height take a boolean that tells it whether to account
for box-sizing; sometimes we don't want to.  Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
bryner%brianryner.com 73561d1e28 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bryner%brianryner.com 5aeafaa8a6 deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
bryner%brianryner.com 7264501b7b Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
scott%scott-macgregor.org 5381098212 Bug #226325 --> Back out the fix for Bug #98564 as this opened us up to a regression where trailing stationary caret remnant left after backspace.
a=asa for 1.6b
2003-12-03 20:32:47 +00:00
neil%parkwaycc.co.uk 249afcb520 Bug 225885 nsPresShell::DoCopy does not work for embedding p=marco@gnome.org r=bz sr=bryner a=dbaron 2003-11-26 10:23:03 +00:00
dbaron%dbaron.org cd013628a9 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
roc+%cs.cmu.edu 1e75e9884d Bug 30579. Add a skinnable 'scrollcorner' element to fill in the gap when there are two scrollbars. r+sr=bryner,a=asa 2003-11-21 10:45:24 +00:00
jst%mozilla.jstenback.com 6380d7fd12 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
dbaron%dbaron.org 29a96e0c92 Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky 2003-11-17 00:35:17 +00:00
scott%scott-macgregor.org 9a7c8f026b Bug #98564 --> caret overlaps the last character in textfield (if positioned after the last char).
Patch written by kin.


r=smontagu
sr=sfraser
2003-11-16 07:08:55 +00:00
bzbarsky%mit.edu 8b1b76c827 Clarify when ReParentStyleContext should be called and remove more bogus style
parentage warnings.  Bug 217225, r+sr=dbaron
2003-11-13 04:31:04 +00:00
bzbarsky%mit.edu e455d8c51e Fix some bogus style parentage warnings. Bug 224867, r+sr=dbaron 2003-11-13 04:11:38 +00:00
dbaron%dbaron.org 41009e2202 Comment was backwards (thanks bz). b=191699 2003-11-10 23:55:53 +00:00
dbaron%dbaron.org c3c15dce0c Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc 2003-11-10 23:36:06 +00:00
hpradhan%hotpop.com 4fcc50d839 bug 218297 : disabled property of input elements is not stored in history
r=jkeiser sr=jst
2003-11-10 05:52:29 +00:00
timeless%mozdev.org 12b256b648 Bug 225120 Remove compiler warnings
patch by arne.anka@stupido.com r=dbaron sr=bz
2003-11-09 22:51:28 +00:00
bzbarsky%mit.edu 748d4881c1 Fix crash in DoCleanupFrameReferences. Bug 224091, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky, sr=dbaron
2003-11-05 04:40:52 +00:00
timeless%mozdev.org fd97de95f0 Bug 224018 unused variables gDumpFileNameCnt, gDumpLOFileNameCnt in nsDocumentViewer.cpp
r=jst sr=jst
2003-11-03 13:17:00 +00:00
uid502 50383ff50a Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
bzbarsky%mit.edu b2fd69c202 Fix hang bug 218512. We don't want to be putting a frame into a framelist
twice, since that gives us a nice loop in the frame tree.  r+sr+a=dbaron
2003-10-27 05:58:23 +00:00
timeless%mozdev.org b00d54137b MOZ_TIMELINE - Bug 222134 2003-10-23 10:23:30 +00:00
bryner%brianryner.com a0e219b348 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu e28badb6a7 Fix crash when an SVG <foreignobject> suddenly needs a space manager. Bug
220165, r=alex@croczilla.com, sr=roc
2003-10-18 03:19:33 +00:00
uid502 2909a7b2e1 Bug 222468. Make nsLayoutUtils::CompareTreePosition work even if the aCommonAncestor parameter is not, in fact, a common ancestor. 2003-10-17 14:10:02 +00:00
uid502 b83221b617 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky 2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu ad85b8e859 More bug 214969 -- HTML nodes lie about their namespace, so check the
document's case-sensitivity instead.  r+sr=tor
2003-10-15 05:54:46 +00:00
bzbarsky%mit.edu 8fcc59fcaf Only propagate the body background to the canvas in HTML documents; don't do it
for XHTML.   Bug 214969, r+sr=dbaron
2003-10-15 02:48:25 +00:00
bzbarsky%mit.edu 92ccceaf8d Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
uid502 c612494d00 Bug 217604. Ensure out-of-flow frames are ordered in content order. Ensure views are maintained in frame/content order. 2003-10-15 00:49:03 +00:00
dbaron%dbaron.org 1d30c68632 Remove reflow callbacks from the list as they are processed, to avoid crashes when reentering HandlePostedReflowCallbacks. b=220126 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=roc 2003-10-14 23:29:07 +00:00
dbaron%dbaron.org fb5dcec631 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
uid502 512587f8ca Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron 2003-10-11 12:00:05 +00:00
bzbarsky%mit.edu f7143a2333 Make sure to notify document observers even about content that gets added to
the document before StartLayout().  Block those notifications from getting
passed on to the frame constructor before StartLayout(), though.  Bug 220930,
r=peterv, sr=jst
2003-10-11 00:27:45 +00:00
bzbarsky%mit.edu 87d0de6aa6 Don't scroll anchors entirely out of view when we click on them. Bug 195905,
r+sr=dbaron
2003-10-10 02:35:05 +00:00
bzbarsky%mit.edu ca7587571d Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
darin%meer.net 325b3c6de7 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
bzbarsky%mit.edu 8801e97e8f Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
dbaron%dbaron.org 19a12727ec Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
jst%mozilla.jstenback.com 8aa7b563d2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bryner%brianryner.com 983bfe41ff If we're in the middle of printing when window.close() is called, then defer closing the window until printing completes. This avoids tearing down the presentation while the print engine is still using it. Bug 172921, r=jkeiser, sr=dbaron. 2003-09-26 21:45:15 +00:00
bzbarsky%mit.edu a5e1d728b9 Make userContent.css come after the prefs sheet in the user sheet list (so that
rules in userContent.css can override prefs).  Bug 215668, r+sr=dbaron
2003-09-24 19:03:06 +00:00
uid502 6bed557bd4 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
uid502 c02b615f54 Bug 217201. Make nsTextControlFrame::InitEditor() happen outside of reflow, to prevent content notification flushes and reentrancy. r+rs=dbaron 2003-09-19 15:20:00 +00:00
mkaply%us.ibm.com f1b7838133 #210269
r=dbaron, sr=dbaron
Checkin for roc - bandaid fix for nsXULElement pageload crash
2003-09-14 12:07:11 +00:00
bryner%brianryner.com 86ad399c4f Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
bryner%brianryner.com 7f4af2e0f9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
bryner%brianryner.com 8381768d80 Stopping event propagation in the default event group should not stop it for the system event group. Bug 216237, r=caillon, sr=jst, a=mkaply. 2003-08-15 21:35:13 +00:00
caillon%returnzero.com f0956e4a03 214844 relatively positioned block w/ overflow:auto should be absolute pos. containing block
Patch by Mats Palmgren <mats.palmgren@bredband.net>
r+sr=dbaron@dbaron.org
a=asa@mozilla.org
2003-08-15 04:43:09 +00:00
caillon%returnzero.com 09a2602239 Bug 215842 - JavaScript resets fieldset absolute positioning.
Patch by Boris Zbarsky <bzbarsky@mit.edu>
r+sr=dbaron@dbaron.org
a=asa@mozilla.org
2003-08-15 00:04:40 +00:00
bzbarsky%mit.edu d6be751e5c Backing out last checkin, since a= is needed. 2003-08-09 22:19:49 +00:00
bzbarsky%mit.edu 4b24b1519c Fix bug 214844 -- rel pos blocks with overflow set should be containing blocks
for abs pos elements.  Patch by mats.palmgren@bredband.net (Mats Palmgren),
r+sr=dbaron
2003-08-09 21:41:39 +00:00
roc+%cs.cmu.edu 50878e792b Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
rbs%maths.uq.edu.au 472114bb58 Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron 2003-08-05 02:07:14 +00:00
caillon%returnzero.com 7e9f601322 Fixing bustage 2003-07-30 09:09:30 +00:00
caillon%returnzero.com 422dde1351 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu 1c89273d3a DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
dbaron%dbaron.org 8a46c38bee Ensure that NS_FRAME_HAS_CHILD_WITH_VIEW is set correctly when something has a view and is inside a float inside the block part of a block-inside-inline split. b=213781 r+sr=bzbarsky 2003-07-25 22:04:00 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
smontagu%netscape.com f165e1286f Use a hashtable instead of searching an array, to make RemoveBidiContinuation() not be O(n^2). Bug 212827, r+sr=bzbarsky. 2003-07-24 18:33:50 +00:00
aaronl%netscape.com 62cf551995 Bug 192729. Tabs that are still loading or have error block all keyboard shortcuts. r=bryner, sr=roc+moz 2003-07-24 08:48:59 +00:00
brade%netscape.com 5e9420f33f patch from mjudge to maintainselection; r/sr=dbaron, bug=56401 2003-07-21 19:51:34 +00:00
mkaply%us.ibm.com fe196669d6 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-21 18:53:43 +00:00
jaggernaut%netscape.com f008bc2bad Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com 024a2adbb2 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:40:43 +00:00
caillon%returnzero.com 01645eaf4b Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
dbradley%netscape.com 90ae82072a Bug 179089 - crash in selection stuff loading a newsgroup message [@JS_GetPrivate] (Refactors and address release of null pointer). r=caillon, sr=jst 2003-07-14 14:28:59 +00:00
bzbarsky%mit.edu a33f58cdd0 Backing out part of patch for bug 211128, since it regressed all sorts of
XBL-ish stuff.  r=stuff-is-broken sr=jag for the backout.
2003-07-14 05:35:09 +00:00
jaggernaut%netscape.com 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu 4188bb3102 Remove redundant #include. 2003-07-12 18:10:51 +00:00
dbaron%dbaron.org dd1e351344 Add inline accessors for frame manager. b=208190 r+sr=roc 2003-07-12 00:48:16 +00:00
dbaron%dbaron.org 8d3a929b49 Make GetStateBits const. b=208190 r+sr=roc 2003-07-12 00:46:52 +00:00
bzbarsky%mit.edu f6bc1233c8 Make it possible for overflow:auto/overflow:scroll frames to have
::before/::after content.  Bug 212145, r+sr=roc+moz
2003-07-11 23:19:12 +00:00
bzbarsky%mit.edu 9fad3e7dfe Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00
dbaron%dbaron.org 92b921aca3 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
smontagu%netscape.com 081b55688a Fix typo which caused Bidi caret movement regression. Bug 212372, r+sr=roc+moz 2003-07-11 21:00:26 +00:00
rbs%maths.uq.edu.au b5e2cec742 Stop animated images with Esc key or Stop button, b=70030, r=akkana, sr=jst 2003-07-11 20:19:34 +00:00
timeless%mozdev.org 150a2cb2fb Bug 212346 nsCSSFrameConstructor.cpp:4182: warning: unused variable `class nsIView * listView'
r=bz sr=bz
2003-07-11 20:07:21 +00:00
caillon%returnzero.com dfbf862a46 Fixing compiler warnings. "Comparison is always false due to limited range of data type". No bug.
r+sr=bzbarsky@mit.edu
2003-07-09 06:42:14 +00:00
bzbarsky%mit.edu fd6654ba6d Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
roc+%cs.cmu.edu fd9155e0a0 Ongoing deCOMtamination. r+sr=dbaron 2003-07-05 15:04:34 +00:00
roc+%cs.cmu.edu 8045367459 Ongoing deCOMtamination. r+sr=dbaron 2003-07-05 14:36:03 +00:00
bzbarsky%mit.edu 874126b90f Don't bother reresolving style when empty stylesheets get added (eg from empty
<style> elements).  Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected.  Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
caillon%returnzero.com 9ae39b6952 Fixing member re-ordering warnings. r+sr=jst@netscape.com; No bug. 2003-07-03 23:33:36 +00:00
roc+%cs.cmu.edu 6739b8a3b5 Ongoing deCOMtamination. r+sr=dbaron 2003-07-02 10:30:00 +00:00
dbaron%dbaron.org 670aa826c4 Fix mats's review comment as well. b=210873 r+sr=bzbarsky 2003-06-30 21:55:35 +00:00
dbaron%dbaron.org 07f22277da Ensure relatively positioned floats act as containing block for absolutely positioned elements by using (and adding a parameter to) nsCSSFrameConstructor::ConstructBlock. Remove ProcessBlockChildren, which no longer needs to be separate from ProcessChildren. b=210873 r+sr=bzbarsky 2003-06-30 21:48:07 +00:00
roc+%cs.cmu.edu c335a13e1b Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
dbaron%dbaron.org 7318257470 Remove comment made obsolete by previous checkin. 2003-06-29 23:39:54 +00:00
roc+%cs.cmu.edu 55a49cd4d6 Ongoing deCOMtamination. r+sr=dbaron 2003-06-29 03:43:05 +00:00
jkeiser%netscape.com 63f24a78b5 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2003-06-26 06:10:03 +00:00
roc+%cs.cmu.edu 43d2fd1764 Fix nsIFrame::GetWindow to not add a ref. Should fix a leak I introduced. r+sr=dbaron 2003-06-25 22:55:27 +00:00
rbs%maths.uq.edu.au 677dc71376 Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky 2003-06-25 01:14:25 +00:00
jst%netscape.com e7966722ca Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org 2003-06-24 01:46:50 +00:00
bsmedberg%covad.net a77fdd7bd4 Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
roc+%cs.cmu.edu a740f51c3f Bustage fix; add a virtual GetAncestorWithViewExternal which can be called outside gklayout 2003-06-21 18:57:14 +00:00
roc+%cs.cmu.edu c7a5d89929 Bug 190735. DeCOMtaminating nsIFrame and removing aPresContext parameters, in particular, the methods GetParent, GetContent, GetRect, GetOrigin, GetSize, SetRect, MoveTo, SizeTo, GetNextSibling, GetFrameState, SetFrameState, GetView, GetViewExternal, SetView, GetClosestView, GetParentWithView, AreAncestorViewsVisible, and GetWindow. For now we have compatibility wrappers, but soon we'll go through and change all the clients to use the new functions. r+sr=dbaron 2003-06-21 17:06:05 +00:00
caillon%returnzero.com 36a00e95c1 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
dbaron%dbaron.org 9b1d1eed2b Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc 2003-06-20 01:22:44 +00:00
dbaron%dbaron.org 0e69051967 Fixing DEBUG-only bustage. 2003-06-20 01:05:04 +00:00