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
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
dbaron%dbaron.org
d1078e6485
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
2004-02-19 18:04:15 +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
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
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
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
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
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
sicking%bigfoot.com
1152b3d656
More bug 195350 work: Make html use new nsAttrAndChildArray class.
...
r=caillon sr=jst
2004-01-26 19:22:05 +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
peterv%propagandism.org
8f4e566b42
Miscellaneous cleanup. r/sr=jst.
2004-01-18 14:53:32 +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
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
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
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
bryner%brianryner.com
e65d2d2fe5
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
bryner%brianryner.com
d572bc76cf
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
dfe3513814
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
dbaron%dbaron.org
a012b34247
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
8ab11f1a38
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
4183787fa9
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
bzbarsky%mit.edu
625796c41e
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
30d7e97120
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
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bzbarsky%mit.edu
3e12d6bae8
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
bryner%brianryner.com
605cc06382
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
bde936f884
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
d521946094
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
189bbda3e5
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
8bc8454c15
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
uid502
2b19fe5b64
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
3de4dc91e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
uid502
7eecd9a0ef
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
dbaron%dbaron.org
5cce92dc2a
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
5037b2a4a2
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
uid502
d0615f9350
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
bryner%brianryner.com
9d11b3c424
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
caillon%returnzero.com
3092768ca0
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
6bf3f88997
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
05ebd8bdc1
Backing out last checkin, since a= is needed.
2003-08-09 22:19:49 +00:00
bzbarsky%mit.edu
ea62a4c557
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
rbs%maths.uq.edu.au
408bf58f3f
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
627a4c5b6d
Fixing bustage
2003-07-30 09:09:30 +00:00
caillon%returnzero.com
a9e2dece76
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
e2e733b5de
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
dbaron%dbaron.org
005dd95167
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
mkaply%us.ibm.com
58431f5d65
rs=leaf
...
Remove XP_OS2_VACPP from the tree
2003-07-21 18:53:43 +00:00
dbradley%netscape.com
3b53e1dd6c
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
b69b2abd98
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
2d7ed90a69
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu
b471a3d41f
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
9cb380a7ff
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
d85698fd40
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
timeless%mozdev.org
9cbc1cb569
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
281e80fc6b
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
roc+%cs.cmu.edu
c98e21aba3
Ongoing deCOMtamination. r+sr=dbaron
2003-07-05 15:04:34 +00:00
roc+%cs.cmu.edu
fce6448474
Ongoing deCOMtamination. r+sr=dbaron
2003-07-05 14:36:03 +00:00
dbaron%dbaron.org
45a4e99656
Fix mats's review comment as well. b=210873 r+sr=bzbarsky
2003-06-30 21:55:35 +00:00
dbaron%dbaron.org
7737491efe
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
jst%netscape.com
abefba9053
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
2003-06-24 21:43:01 +00:00
bsmedberg%covad.net
1a9cab373f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
dbaron%dbaron.org
b15c56da39
Fixing DEBUG-only bustage.
2003-06-20 01:05:04 +00:00
dbaron%dbaron.org
e1e798d3f8
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
4afcaa0e69
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
dbaron%dbaron.org
2b59f901f7
Handle state and attribute changes on elements without frames more efficiently, and keep the undisplayed map up to date. b=209733 r+sr=bzbarsky
2003-06-18 21:54:51 +00:00
dbaron%dbaron.org
fe7914e2c9
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
2003-06-18 01:59:57 +00:00
caillon%returnzero.com
2df173e9c8
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org
9fd34ec767
Remove code that is not needed anymore (due to bug 141054) since the primary frame always contains the :before and :after frames. b=208870 r+sr=bzbarsky
2003-06-10 22:11:16 +00:00
seawood%netscape.com
97649bab86
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
2003-06-10 21:18:27 +00:00
scott%scott-macgregor.org
380ff13568
Bug #201891 --> lazily instantiate CSSFrameConstructor::gXBLService in order to break a weird cycle
...
with the component manager that can cause two instances of the xbl service to be created.
r/sr=dbaron
2003-06-03 04:23:56 +00:00
dbaron%dbaron.org
1bc80bcc0c
Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc
2003-06-01 20:18:53 +00:00
jaggernaut%netscape.com
756d8ef907
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
2003-05-30 00:21:01 +00:00
smontagu%netscape.com
62b4d0e97f
Fix rounding issue in DrawTile() and remove a bogus assertion. Bug 194791, Author=paper@animecity.nu, r=smontagu, sr=roc+moz
2003-05-29 23:29:37 +00:00
roc+%cs.cmu.edu
c26402a7ca
Bug 206156. When we find a block inside an inline, reparent any views inside the new anonymous block and trailing inlines if the initial inline run had a view. r+sr=dbaron,a=asa
2003-05-22 01:40:16 +00:00
dbaron%dbaron.org
62ed6c115b
Make ContentInserted handle appending after an inline that was split because it contains a block. b=141019 Based on patch by kin@netscape.com. r+sr=roc a=asa
2003-05-20 20:49:27 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
de72fd6d40
Oops, wrong tree. Backing out.
2003-05-15 03:36:05 +00:00
dbaron%dbaron.org
9029e25c56
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:32:08 +00:00
dbaron%dbaron.org
f132e9126f
Remove some code left over from old native form controls. b=205575 r+sr=roc a=asa
2003-05-14 22:36:33 +00:00
roc+%cs.cmu.edu
f601bd510e
Bug 199897. Fix regression by being smarter about how we clip border painting to the dirty rect. r=bernd,sr=dbaron,a=asa
2003-05-14 00:44:38 +00:00
bzbarsky%mit.edu
0b19a3bbf0
Pass the content parent frame to ConstructTableFrame so the view that's created
...
goes in the right place in the z-ordering. Bug 203086, r+sr=roc, a=asa
2003-04-26 01:08:35 +00:00
jst%netscape.com
8f24979ea4
Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com
2003-04-22 21:57:25 +00:00