bzbarsky%mit.edu
aeec221864
When appending frames to a block after a <br>, just put them into a new line
...
right away instead of waiting for reflow to come about and fix it up. This
speeds up things that append nodes including <br> to a block one at a time
(e.g. editor or content scripts) Bug 240291, r+sr=dbaron
2004-04-13 01:45:57 +00:00
bzbarsky%mit.edu
4cf1ca9c6a
Fix dirty reflows of bullets to deal with an empty first line (whitespace
...
followed by block) in the parent block. Bug 206602, r+sr=dbaron
2004-04-13 01:38:10 +00:00
bryner%brianryner.com
62c142565c
More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
2004-04-13 00:28:44 +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
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
jst%mozilla.jstenback.com
ea21d2ad3b
Fixing bug 238449. Make plugins not get mozilla context menus again. r+sr=dbaron@dbaron.org, a=asa@mozilla.org
2004-04-10 00:25:01 +00:00
bzbarsky%mit.edu
e241461844
Don't do a O(N) walk over all lines when painting floats, since we already have
...
a nice sorted list of floats about. Bug 52005, r+sr=dbaron, a=brendan
2004-04-09 21:08:09 +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
bzbarsky%mit.edu
46389cab0e
Don't look for the primary frame unless we have to on broken images. Bug
...
239262, r+sr=dbaron, a=chofmann
2004-04-02 03:07:39 +00:00
bzbarsky%mit.edu
e7dc23de9e
Make sure to not end up with a bogus padding when we have a list-style-image.
...
Bug 187419, r+sr=dbaron, a=chofmann
2004-04-01 19:48:55 +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
roc+%cs.cmu.edu
08ae63344b
Bug 236910. Elements that clip their backgrounds do not present a uniform background. r+sr=dbaron,a=choffman
2004-03-28 21:05:29 +00:00
roc+%cs.cmu.edu
e2d07edc32
Bug 235558. We don't really want to consider computed maximum widths after all. r+sr=dbaron,a=asa
2004-03-27 02:44:26 +00:00
roc+%cs.cmu.edu
40e1789628
Bug 231264. Set IFRAME minimum width properly. r+sr=dbaron,a=choffman
2004-03-21 22:34:58 +00:00
roc+%cs.cmu.edu
a233d97228
Bug 237343. Adjust inline frame PerFrameData mCombinedArea to account for width increase due to justification.
2004-03-16 06:58:01 +00:00
bzbarsky%mit.edu
058ca4a9d9
Clear the line cursor when child frames are added or removed. Bug 236947,
...
r+sr=roc, a=chofmann
2004-03-14 18:19:24 +00:00
roc+%cs.cmu.edu
f864976aa7
Bug 235558. Make scrollframes take CSS max-width/max-height into account when they compute their preferred size (by reflowing their scrolled block to width max-width, if appropriate). r+sr=dbaron,a=choffman
2004-03-13 02:51:16 +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
ef22b5a340
Bug 232838. Remove unnecessary assertions on minsizes that we don't use. r+sr=dbaron, a=choffman
2004-03-12 03:35:53 +00:00
roc+%cs.cmu.edu
693c921022
Bug 232838. Properly relayout scrollbars if we need to hide one because there's no room. Prefer to hide the horizontal scrollbar if we have to choose between them. r+sr=dbaron,a=choffman
2004-03-10 23:52:01 +00:00
dbaron%dbaron.org
0c56075a10
Backing out my checkin from yesterday. b=199673
2004-03-10 17:13:39 +00:00
bzbarsky%mit.edu
1758f2dc93
Make text-decorations deal with percentage padding. Bug 236175, patch by Hideo
...
Saito <saito@densan.co.jp>, r=bzbarsky, sr=dbaron
2004-03-10 04:43:59 +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
roc+%cs.cmu.edu
cc35f7abe2
Fixing bustage, hopefully, THIS TIME
2004-03-07 19:23:53 +00:00
roc+%cs.cmu.edu
00cbe56060
Fixing bustage, hopefully
2004-03-07 18:50:11 +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
sicking%bigfoot.com
1775c22dcc
Bug 236620: kill nsIContent::CanContainChildren
...
r/sr=jst
2004-03-06 00:22:03 +00:00
bryner%brianryner.com
6252896efc
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
scott%scott-macgregor.org
0b1e4709b0
Back out Bug #132561 until we can figure out how to fix the regression it causes in HTML composer with spaces
...
(See Bug #235223 ).
a=brendan
2004-03-02 01:23:13 +00:00
cbiesinger%web.de
a61e8eb6ad
Bug 188288 caret movement erratic with CTL enabled
...
patch by prabhat.hegde@sun.com r=roland.mainz@nrubsig.org sr=roc
2004-03-01 21:36:35 +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
roc+%cs.cmu.edu
602e5214cc
Bug 235778. Overflow area of relatively positioned inlines must be preserved by line layout. r+sr=dbaron
2004-02-28 02:55:58 +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
a7b7608dce
Make sure to pass <embed> attributes to plugins in the source order. Bug
...
234675, r=peterlubczynski, sr=jst
2004-02-24 02:44:33 +00:00
bzbarsky%mit.edu
0d599f1613
Apply the bug 200568 fix to types derived from the "data" attribute too. Bug
...
235053, r=biesi, sr=jst
2004-02-23 22:41:15 +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
sicking%bigfoot.com
580557c74f
Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
...
r=bryner sr=jst
2004-02-20 19:00:43 +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
bzbarsky%mit.edu
6aa7f4095d
Fix comment. Bug 132561, r+sr=dbaron
2004-02-19 22:16:00 +00:00
bzbarsky%mit.edu
78eb384ef2
Trim whitespace that comes right before a <br> when trimming whitespace. Bug
...
132561, r+sr=dbaron
2004-02-19 22:12:38 +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
38c9278afa
(on bsmedberg's advice) third time lucky?
2004-02-19 13:20:57 +00:00
neil%parkwaycc.co.uk
5e72149f91
Trying to fix bustage again...
2004-02-19 12:38:16 +00:00
neil%parkwaycc.co.uk
bef12f2077
Trying to fix beast build bustage
2004-02-19 12:12:06 +00:00
neil%parkwaycc.co.uk
142c40e9fc
Bug 232321 Make layout.word_select.stop_at_punctuation work as a user preference r/sr=bz
2004-02-19 11:10:31 +00:00
bzbarsky%mit.edu
2379629a94
Fix bug 231280 (printing not honoring OS date format). Patch by Constantine
...
A. Murenin <cnst.bmo@bugmail.mojo.ru>, r=jshin, sr=roc, a=chofmann
2004-02-16 05:31:25 +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
sicking%bigfoot.com
7055ef1c83
Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
...
r=caillon sr=jst
2004-02-11 00:38:12 +00:00
cbiesinger%web.de
ae74be13cc
move debug-only function into #ifdef DEBUG. r+sr=bzbarsky
2004-02-10 23:06:23 +00:00
cbiesinger%web.de
57eed0eb39
Bug 233587 small nsImageFrame cleanup - use nsILink to get a link href.
...
r+sr=bzbarsky
2004-02-10 16:57:00 +00:00
jst%mozilla.jstenback.com
8b6dc1c3ca
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2004-02-09 22:48:53 +00:00
cbiesinger%web.de
b09d6185e2
fixing bustage
2004-02-09 17:52:48 +00:00
cbiesinger%web.de
333697ba05
Bug 233457 nsObjectFrame cleanup
...
r+sr=bz
2004-02-09 17:33:45 +00:00
dbaron%dbaron.org
f916d83bd2
Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky
2004-02-09 06:55:14 +00:00
dbaron%dbaron.org
39b026b882
A little cleanup. b=229654 r+sr=bzbarsky
2004-02-09 05:22:58 +00:00
dbaron%dbaron.org
48bec8625f
Don't handle auto margins when the container has an unconstrained width. (This still doesn't handle max-width computation with a constrained reflow.) b=229654 r+sr=bzbarsky
2004-02-09 05:22:23 +00:00
bzbarsky%mit.edu
ab4c59230c
Collapse trailing whitespace even if there is a placeholder after it. Bug
...
233451, r+sr=dbaron
2004-02-09 01:01:06 +00:00
dbaron%dbaron.org
ff282e6bbf
Get rid of empty damage rect warning; better to check at callee than caller. Add const to fix DEBUG-only warnings about string constants being used as non-const. b=233292 r+sr=roc
2004-02-06 23:11:46 +00:00
dbaron%dbaron.org
88943112b5
Change the way we handle auto margins on blocks with outer width (excluding auto margins) wider than their containing block. Use rules equivalent to overconstraint handling (margins non-auto) so that we depend on 'direction' rather than on which margins are 'auto'. b=185411 r=roc sr=bzbarsky
2004-02-04 05:18:37 +00:00
dbaron%dbaron.org
ab80dc5e92
Clean up code related to broken / loading image icons and make it observe pref changes. b=180620 r+sr=bzbarsky
2004-02-03 20:30:02 +00:00
dbaron%dbaron.org
7d60004a4a
Uncomment a call to SetColor that is needed. b=181336 r+sr=bzbarsky
2004-02-03 18:27:11 +00:00
dbaron%dbaron.org
5eae4fdb0e
Allow PushLines to push the first line. b=185357 r+sr=roc
2004-02-03 18:19:42 +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
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
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
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
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
jst%mozilla.jstenback.com
1804c4910c
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bsmedberg%covad.net
34cd8e8bdf
Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
2004-01-28 23:45:17 +00:00
dbaron%dbaron.org
78533f969d
Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv
2004-01-28 21:04:33 +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
dbaron%dbaron.org
4e0cf28b3b
Clean up ComputeShrinkwrapMargins. b=217369 r+sr=bzbarsky
2004-01-27 06:46:33 +00:00
dbaron%dbaron.org
56c8632c94
Fix a bunch of errors in incremental computation of maximum width and max-element-size that were causing incremental reflow bugs. b=39683, 217369 r+sr=roc
2004-01-27 05:47:55 +00:00
dbaron%dbaron.org
7c05365522
Change name of variable so this code makes sense.
2004-01-24 20:21:32 +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
cbiesinger%web.de
b63dcc236e
Bug 231372
...
GetCombinedArea could be faster/better
make it return an nsRect as return value instead of out parameter.
r=dbaron sr=bzbarsky
2004-01-22 15:06:25 +00:00
dbaron%dbaron.org
dc0006a0b3
Use |const|. DEBUG-only.
2004-01-21 23:08:51 +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
roc+%cs.cmu.edu
2e6244f1d5
Bug 229052. Treat pre-formatted newlines like BRs, preserving the break type in nsBlockFrame::ReflowInlineFrame. r+sr=dbaron
2004-01-18 19:35:19 +00:00
bzbarsky%mit.edu
ae458f9668
Back out accidentally committed code. Bug 230852, r+sr=roc
2004-01-18 18:20:57 +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
b73f7d8861
Miscellaneous cleanup. r/sr=jst.
2004-01-18 10:45:26 +00:00
peterv%propagandism.org
512c8d9a90
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
2004-01-18 10:22:22 +00:00
dbaron%dbaron.org
b1081d3fc5
Remove unneeded casts and extra shadowing variable.
2004-01-18 07:13:40 +00:00
dbaron%dbaron.org
38f954b2d2
Fix elements with max-width overlapping floats due to initial incorrect position by reflow state. b=52916 Patch by Chris Waterson. r=dbaron sr=bzbarsky
2004-01-18 06:06:13 +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
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
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
bryner%brianryner.com
d9d8ab7259
attempting to fix HP-UX/AIX/IRIX bustage (bug 228378)
2004-01-11 00:24:37 +00:00
roc+%cs.cmu.edu
6bf24a63ff
Bug 228378. Clean up nsRegion. patch by Dainis Jonitis. r+sr=roc
2004-01-10 16:18:36 +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
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
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
bzbarsky%mit.edu
ae77eda410
Make sure to not compute negative widths for blocks. Bug 230249, r+sr=dbaron
2004-01-08 03:38:25 +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
caillon%returnzero.com
d76a4d1dd0
Bug 226375
...
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers. Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +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
bzbarsky%mit.edu
ddf144b152
Fix restoration of horizontal scroll state. Bug 226534, r+sr=roc
2004-01-05 23:56:00 +00:00
bzbarsky%mit.edu
b6e15b0ec7
Calculate the relative offsets after we've done whatever corrections we need to
...
do to the CB height (eg in quirks mode). Bug 226954, r+sr=dbaron
2004-01-05 23:48:57 +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
timeless%mozdev.org
5f05bf96d3
Bug 226597 nsObjectFrame.cpp Warning: String literal converted to char* in initialization.
...
r=roc sr=roc
2003-12-21 04:04:09 +00:00
neil%parkwaycc.co.uk
96a7cc96e1
Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron
2003-12-20 18:09:21 +00:00
bmlk%gmx.de
4cb432b168
show reflow targets in reflow logs bug 218961 r/sr=bzbarsky
2003-12-20 12:04:31 +00:00
dbaron%dbaron.org
a395bb2ba9
Fix percentage widths on inlines within inlines. b=97695 r+sr=roc
2003-12-19 05:41:35 +00:00
dbaron%dbaron.org
f9a8c0c54a
Account for 1 twip width of BR when computing the size of textareas. b=228752 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=brendan
2003-12-18 06:06:00 +00:00
jshin%mailaps.org
5bd0e61c8c
bug 224337 : fix misalgined accesss in pre-composed CCMap (on RISC architectures) : r/sr=brendan, a=dbaron
2003-12-15 00:32:16 +00:00
roc+%cs.cmu.edu
736398d953
Bug 227458. Make scrollports without scrollbars NOT use a native widget; they probably won't be scrolled anyway. r+sr=bz,a=dbaron
2003-12-10 03:43:39 +00:00
dbaron%dbaron.org
c3bfb1772c
Fix incremental reflow bugs by being consistent about max-element-width for percentage widths whether or not the reflow is an unconstrained width (as initial always is when we care about max-element-width) or constrained width (as some incremental reflows are). b=215857 r=bernd sr=bzbarsky a=brendan
2003-11-24 19:48:25 +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
bzbarsky%mit.edu
433acb316d
Fix printing of plugins in absolutely positioned divs to use the right
...
coordinates. Bug 225832, r+sr=roc
2003-11-19 02:00:51 +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
neil%parkwaycc.co.uk
a3190de6ed
Bug 225952 nsObjectFrame.cpp abuses nsXPIDLCString r/sr=bz
2003-11-17 19:26:24 +00:00
dbaron%dbaron.org
29a96e0c92
Turn DetermineFrameType into InitFrameType. b=225911 r+sr=bzbarsky
2003-11-17 00:35:17 +00:00
dbaron%dbaron.org
086798da83
Remove unneeded mIsTable member variable. r+sr=bzbarsky b=225902
2003-11-16 21:12:17 +00:00
dbaron%dbaron.org
00f16e975d
Add comments connecting two quirks.
2003-11-16 18:49:00 +00:00
bzbarsky%mit.edu
54e4d504ae
Be a little smarter about handling the mess that is broken images. Only look
...
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload. Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +00:00
blizzard%redhat.com
ae7e45ba8b
Bug #225357 . Plugins that specify coordinates that exceed maximum X coordinates cause X errors. Limit the size of plugins on this platform to the maximum size for X windows. r=bz, sr=roc
2003-11-13 16:33:52 +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
dbaron%dbaron.org
9dc25463a9
Removed unused LineIsEmpty function.
2003-11-11 19:25:49 +00:00
dbaron%dbaron.org
03417606bf
Remove BRS_NOWRAP. b=191699 r+sr=roc
2003-11-11 19:24:01 +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
bzbarsky%mit.edu
2d17fe0d1d
Bail out early if we have no area to invalidate anyway. Bug 224871, r+sr=roc
2003-11-07 03:00:30 +00:00
bzbarsky%mit.edu
6e09c27e06
Only paint the image if its computed width or height is nonzero. Otherwise, we
...
may divide by zero when computing the transform matrix. Bug 221975, r+sr=roc
2003-11-06 16:03:34 +00:00
bryner%brianryner.com
5784af7a5b
Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst.
2003-11-05 05:17:07 +00:00
tor%cs.brown.edu
285f7bddcc
Bug 224628 - backout part of 212366 so that scrolling=no works. r+sr=roc
2003-11-04 15:50:09 +00:00
uid502
f60aa658cf
Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
2003-11-01 22:34:59 +00:00
peter%propagandism.org
816b00b6cc
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
2003-11-01 10:57:41 +00:00
uid502
e07dc7ad7e
Bug 212366. Make nsFrameInnerFrame be a moz-anonymous-box pseudoelement. This stops style on an IFRAME from being applied to both the outerframe and the innerframe. r+sr=dbaron
2003-11-01 01:34:06 +00:00
uid502
50383ff50a
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bzbarsky%mit.edu
1c3e6f3548
Fix regression bug 223394 -- percent-height replaced inlines that only have
...
auto-height ancestors should get intrinsic height instead of 0, even in quirks
mode. r+sr=roc, a=asa
2003-10-24 07:31:50 +00:00
bzbarsky%mit.edu
e21a5aa43b
Fix crash bug 223064. Patch by mats.palmgren@bredband.net (Mats Palmgren), r+sr=bzbarsky
2003-10-22 07:01:35 +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
caillon%returnzero.com
de3d3fbf61
Re-land patch for bug 83536, merging principal objects.
...
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
89dafd0d19
Remove limiting of the quirk containing block search to only one level. Bug
...
222730, also fixes bug 88035, r+sr=dbaron
2003-10-18 20:22:22 +00:00
bzbarsky%mit.edu
f9544503f0
Line up the hypothetical box for positioned frames with the _top_ of the line
...
box if there is nothing in the line before the positioned frame's placeholder.
When that happens, it means that the positioned frame's content actually came
before whatever content lives in the line box and thus the frame should not be
lined up with the line box's bottom. Bug 94468, r+sr=roc
2003-10-18 08:04:37 +00:00
bzbarsky%mit.edu
ee8a913c40
Undoing last change now that I have perf data.
2003-10-18 07:13:30 +00:00
bzbarsky%mit.edu
3e20badab0
Test performance impact of not limiting to the first level now that bug 222730
...
is fixed. r=dbaron
2003-10-18 06:08:39 +00:00