bzbarsky%mit.edu
b993aac32b
Make sure all caller have to pass in the "ignore 'print backgrounds'
...
preference" boolean. Make block/inline _not_ ignore that pref. Bug 191574,
r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@137266 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-01 23:54:32 +00:00
timeless%mozdev.org
f104e2ff56
Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]
...
patch by bsmedberg@covad.net r=roc+moz, sr=roc+moz, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@137216 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 21:31:48 +00:00
karnaze%netscape.com
8ece4a7c7a
bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@136686 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 18:04:34 +00:00
rbs%maths.uq.edu.au
534041f379
In certain dynamic updates, frames scheduled to be reprocessed could be destroyed in a ripple effect. Since this was a root problem, the patch fixes the crasher bugs 123049, 133219 154797 187671 187890, r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@136649 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 01:07:03 +00:00
karnaze%netscape.com
23adc41944
Added AdjustAbsoluteContainingBlock to get the first-in-flow of a positioned inline frame in galley mode as the absolute containing block. sr=bzbarsky, r=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@136638 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 18:58:59 +00:00
caillon%returnzero.com
b9398c95d8
189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136615 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 02:36:04 +00:00
caillon%returnzero.com
9eac0ede5b
Fix build bustage. OS/2 and Sun Workshop won't do implicit type conversions (like .get() on an nsCOMPtr) while trying to match a template.
...
See also revision 3.188 of this file.
git-svn-id: svn://10.0.0.236/trunk@136508 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:16:36 +00:00
caillon%returnzero.com
4e9b13ef00
Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
...
r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00
dbaron%dbaron.org
d88b1da3bc
Fix misplaced closing } from patch in bug 188734. b=189292
...
git-svn-id: svn://10.0.0.236/trunk@136413 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 13:59:52 +00:00
bzbarsky%mit.edu
291ec6eb41
Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@136402 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 02:59:04 +00:00
dbaron%dbaron.org
eeb782e6c5
Fix ContentStatesChanged so it correctly handles combinations of two elements where one is changing from 'display:none' to needing frames. b=188734 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@136277 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 01:29:34 +00:00
bernd.mielke%snafu.de
1b0deca181
fix the color code to make tables in quirks mode on white background to look outset bug 14090 r/sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@136215 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-12 12:11:05 +00:00
bryner%netscape.com
6278746fdf
Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
c278517282
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
bzbarsky%mit.edu
8d092fcca8
ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
...
126072, r=dbaron, sr=roc+moz. Also fixes bug 141259 (incorrect warnings about
style tree integrity).
git-svn-id: svn://10.0.0.236/trunk@135852 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 05:05:17 +00:00
bzbarsky%mit.edu
ddf6bf65b0
Change the algorithm used to darken text when printing a tad to produce better
...
results. Bug 141232, r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135851 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 04:52:27 +00:00
bernd.mielke%snafu.de
01e1c41113
fix an uninitialized warning, bug 155539 patch by karnaze@netscape.com r=alexsavulov sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@135845 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-04 10:49:50 +00:00
caillon%returnzero.com
6fa69e00be
186752 - Need one more null check, this time before CallQueryInterface. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@135660 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 00:03:33 +00:00
caillon%returnzero.com
0aaf7ffe86
Bug 186752 - Crash during background painting when there is no scrollable frame. Add a null check.
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@135650 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-27 07:32:17 +00:00
caillon%returnzero.com
bd02488338
Bug 46814 - Fixed attachment background images should not be positioned underneath scrollbars, when positioning on a side which has scrollbars.
...
r=dbaron sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@135597 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-23 22:08:04 +00:00
cbiesinger%web.de
54ceae4528
186158 r+sr=dbaron unused function TileImage in nsCSSRendering.cpp
...
git-svn-id: svn://10.0.0.236/trunk@135544 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 10:33:38 +00:00
jkeiser%netscape.com
ac42e42ba8
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@135468 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:38:09 +00:00
dbaron%fas.harvard.edu
721fd4b402
Don't set NS_BLOCK_SPACE_MGR and NS_BLOCK_WRAP_SIZE on relatively positioned blocks, by default. Use |ConstructBlock| for them rather than duplicating it, slightly incorrectly. b=180711 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@135259 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:13:17 +00:00
caillon%returnzero.com
8a1bf17a45
Re-landing these because I don't believe this are responsible for the Txul spike.
...
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
d751688cb9
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
...
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
caillon%returnzero.com
6b60a8affb
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
roc+%cs.cmu.edu
2d32b81421
Checking in bug 90099 again since it seems tnot to have caused Tp regression. Make sure table cells and other odd frames are given views if they need them. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@134892 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 14:22:11 +00:00
roc+%cs.cmu.edu
6895913433
backing out fix to 90099 to check Tp effect
...
git-svn-id: svn://10.0.0.236/trunk@134874 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 02:24:35 +00:00
roc+%cs.cmu.edu
a3507947d9
Bug 90099. Make sure table cells and other odd frames are given views if they need them. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@134860 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 22:26:47 +00:00
karnaze%netscape.com
ca5804764b
bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser.
...
git-svn-id: svn://10.0.0.236/trunk@134696 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 16:02:42 +00:00
peterv%netscape.com
d103a96ada
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
dbaron%fas.harvard.edu
bbf1cff0b4
Back out previous checkin. b=180711
...
git-svn-id: svn://10.0.0.236/trunk@134575 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:15:27 +00:00
dbaron%fas.harvard.edu
782bef8d5f
Don't use default parameters for NS_NewAreaFrame. Make relatively positioned frames not use NS_BLOCK_WRAP_SIZE and NS_BLOCK_SPACE_MGR. b=180711 r=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@134574 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:12:16 +00:00
sicking%bigfoot.com
6f8753e832
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
kin%netscape.com
e3b69667f5
Fix for bug #176251 (Problems with nsContentIterator PRE traversal)
...
content/base/public/nsIContentIterator.h
content/base/src/nsContentIterator.cpp
content/base/src/nsGeneratedIterator.cpp
content/build/nsContentCID.h
content/build/nsContentModule.cpp
embedding/components/find/src/nsFind.cpp
layout/html/style/src/nsFrameContentIterator.cpp
- Removed MakePre() and MakePost() from the nsIContentIterator interface.
- Traversal must now be specified at time of creation.
- Fixed nsContentIterator Init() methods so that they correctly calculate
mFirst and mLast.
- Modified PositionAt() to check if the node is in the traversal range.
r=jfrancis@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134263 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 15:07:49 +00:00
karnaze%netscape.com
46b83bd196
bug 178855 - don't support fixed, absolute, floating tables that are the root content. sr=bzbarsky, r=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@134045 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 16:02:43 +00:00
dbaron%fas.harvard.edu
8fa2ad5646
Fix typos in my previous checkin noticed by bzbarsky. b=147887
...
git-svn-id: svn://10.0.0.236/trunk@134043 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 15:21:14 +00:00
dbaron%fas.harvard.edu
307f43b5a1
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
...
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
karnaze%netscape.com
40cb00ae72
bug 119786 - don't consider a caption and row group frame to be siblings (caption and row group content are siblings). sr=kin, r=bernd.
...
git-svn-id: svn://10.0.0.236/trunk@133657 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 15:55:39 +00:00
dbaron%fas.harvard.edu
71b85664e2
Move the body background repainting hack from the reflow case to the framechange case, since roc's style hint processing changes make it no longer needed in the reflow case, but it's always been needed for the framechange case. b=175131 r=roc sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@133652 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 11:17:55 +00:00
bzbarsky%mit.edu
dd6256cb73
ApplyRenderingChangeToTree should walk {ib} "special siblings". Bug
...
146409, r=dbaron, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@133621 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 04:21:33 +00:00
alecf%netscape.com
b548b7bdf9
prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories
...
sr=peterv/jst, r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@133318 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 21:23:09 +00:00
bzbarsky%mit.edu
75e86ee39c
ReframeContainingBlock needs to work on <body> and such too. Bug 74951,
...
r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@133083 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:26:52 +00:00
timeless%mac.com
2a8d75a3c0
Bug 77716 Scrollbar is loading asynchronously! - Trunk [@ nsCSSFrameConstructor::ConstructDocElementFrame] [@ .__ptr_glue - nsCSSFrameConstructor::ContentInserted]
...
patch by hyatt r=jag,dbaron sr=bz, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@132435 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 03:11:53 +00:00
seawood%netscape.com
f9eb727003
Define WIN32_LEAN_AND_MEAN globally for win32 builds.
...
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu
b63bfb40bf
Make sure tr/td/tbody/etc elements with display:none end up in the
...
undisplayed content map. Bug 151883, r=karnaze, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@132057 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 03:06:03 +00:00
bzbarsky%mit.edu
6a7cda2ae1
Fix build bustage. OS/2 and Sun Workshop won't do implicit type
...
conversions (like .get() on an nsCOMPtr) while trying to match a
template, apparently... r=cls
git-svn-id: svn://10.0.0.236/trunk@131573 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 04:51:59 +00:00
bzbarsky%mit.edu
a70a392a2c
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
caillon%returnzero.com
0f7366d6d0
Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
...
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3. Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
bryner%netscape.com
6e21d6290d
Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls.
...
git-svn-id: svn://10.0.0.236/trunk@131219 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 02:49:02 +00:00