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

4432 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu c91a5ff88b 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 90369f8699 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 fcaa82359f 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 79a337c56b 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 04b19c480d 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 2981d39de1 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 ffb723d84a Fix assert. Bug 236921, r+sr=dbaron, a=chofmann 2004-03-31 03:13:54 +00:00
bzbarsky%mit.edu 809c099e33 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 ebb36d077c 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 bb52c80973 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 41c16857c2 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 8397ac8d8f 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 2ecaa27129 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 255960bb10 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 1ccb810e48 Remove unused includes. SVG only - not part of default build. 2004-03-09 09:53:40 +00:00
bmlk%gmx.de ea9e726b8b 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 134fed8856 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 4f498d0537 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 c7e522958e 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 991ce31fbe Bustage fix 2004-03-06 14:55:21 +00:00
roc+%cs.cmu.edu 143762ecfa Bug 235335. Additional changes. r+sr=bryner 2004-03-06 04:53:30 +00:00
roc+%cs.cmu.edu 8b6cbebaad Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner 2004-03-06 04:46:11 +00:00
bryner%brianryner.com ab4ac54b6f inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc. 2004-03-03 18:24:20 +00:00
darin%meer.net c380c59f65 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 4e74ed990f 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 72a54e4a5b Fixing runtime bustage from missing addref 2004-02-27 18:24:36 +00:00
bryner%brianryner.com ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu 476679f7f9 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 184b49fbb4 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 bcd5a3470e Fixing AIX bustage 2004-02-24 00:36:35 +00:00
bryner%brianryner.com 225298a99e 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 8e85f2ae12 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 5b6ae6e571 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 5f7a8b383e 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 7c84914071 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 3802922e91 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 44d7372cf8 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 1b99ebfbae 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 e073bfa038 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
dbaron%dbaron.org d1078e6485 Replaced elements should not support generated content. b=169334 r+sr=bzbarsky 2004-02-19 18:04:15 +00:00
neil%parkwaycc.co.uk eb9dd86bc5 checked in wrong file, sorry 2004-02-19 13:23:46 +00:00
neil%parkwaycc.co.uk bf3e577efc (on bsmedberg's advice) third time lucky? 2004-02-19 13:20:57 +00:00
bzbarsky%mit.edu 9513d305ed 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 d97dedc812 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
timeless%mozdev.org 4b56a45a39 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 817f6d4f30 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 64ad19a801 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 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
dbaron%dbaron.org d303de959b Remove NS_STYLE_BORDER_STYLE_BLANK. r+sr=bzbarsky 2004-02-11 04:34:12 +00:00
bzbarsky%mit.edu 7077fb69a1 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 4b1b971ac8 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 952d32ee39 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
alex.fritze%crocodile-clips.com 5c676d4a47 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 8b7d5f0145 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 cbc9e79487 col frames should not have child frames. bug 230138 r=dbaron sr=bzbarsky 2004-02-06 05:27:57 +00:00
bryner%brianryner.com 433c389ddf 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 474bdc807e 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 821786cb64 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 a8c0e31042 that doesn't seem to be the problem. restoring over last revision. 2004-02-03 20:07:39 +00:00
danm-moz%comcast.net 4af7136524 disabling last checkin in an attempt to pin down the Tp regression 2004-02-03 17:16:05 +00:00
bzbarsky%mit.edu e792da8eeb 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 96fd84fe48 set event being handled in the EventStateManager. bug 197919 r=bryner,jst 2004-02-03 02:23:08 +00:00
bryner%brianryner.com 4f69ec2c2e 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 a5975523b9 bug 232731 : misc cleanup in printing code 2004-02-01 12:10:57 +00:00
bryner%brianryner.com 42adb9f1be 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 d262adc092 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 08f53379c4 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 fe7960ecb6 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 ee86ab45fb 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 1d022f0bcd 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 bc74f0b352 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 88734d1060 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 ce1edc1dc9 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 de731a8671 Reduce randomness in indentation and line wrapping. Whitespace changes only. 2004-01-22 21:58:28 +00:00
dbaron%dbaron.org f3af1a7aef Fix two problems with display fixups. b=231787 r+sr=bzbarsky 2004-01-22 21:34:04 +00:00
bryner%brianryner.com 23ecb8ff4e 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 ef5c330583 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 0fa1c23cee 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 a75063695e Doh. Fixing bustage. 2004-01-18 15:20:00 +00:00
peterv%propagandism.org 8f4e566b42 Miscellaneous cleanup. r/sr=jst. 2004-01-18 14:53:32 +00:00
peterv%propagandism.org db653ec4e3 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 4c4b23d5fe 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 379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
caillon%returnzero.com 619d905d92 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 c63fa8e7ea 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 6e0bbb9e6a 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 6a1e5b77ff Make <noscript> inline when displayed. Bug 230616, r+sr=dbaron 2004-01-16 03:05:00 +00:00
caillon%returnzero.com 3b526b4352 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 61d72a988d Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
dbaron%dbaron.org d33950dfac 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 9c4c615847 Remove NS_FRAME_HAS_LOADED_IMAGES state bit. b=201076 r+sr=bzbarsky 2004-01-13 01:18:51 +00:00
bryner%brianryner.com 2bddef83ba 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 d33dc031f2 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 99665b6c2c 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 1bffaa3cce 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 9348803726 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 c000ae86e8 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 523cad9f9b Fix warnings about uninitialized 'result' in nsFrameTraversal. r+sr=brendan 2004-01-09 21:45:24 +00:00
roc+%cs.cmu.edu 3bfe589ac4 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 e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00