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
roc+%cs.cmu.edu
91eaac234c
Bug 171802. Make sure views are initialized with the right properties! r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@130921 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 21:45:33 +00:00
roc+%cs.cmu.edu
e25496d35f
Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
jkeiser%netscape.com
bbbc1f29b9
Fix crash on fixed position selects (Rick.Ju@sun.com's patch, bug 166750), r=dbaron@fas.harvard.edu, sr=kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@130551 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 23:51:23 +00:00
jkeiser%netscape.com
c5b034aaae
Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@130511 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 07:41:53 +00:00
karnaze%netscape.com
57d7acbbf5
bug 167915 - remove 2nd patch of bug 138725 and install the 1st. sr=kin, r=jkeiser.
...
git-svn-id: svn://10.0.0.236/trunk@130421 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 13:56:40 +00:00
bryner%netscape.com
7de2339127
Fix regression where select dropdowns would not draw on Linux if native theme support was enabled (bug 170672). Only call WidgetStateChanged() if the theme claims to support the widget in question; fix an incorrect frame being passed to WidgetStateChanged. r=hewitt, sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@130416 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 10:07:40 +00:00
hyatt%netscape.com
231ada71e5
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
...
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
roc+%cs.cmu.edu
992d8265ec
Bug 153907. Give IFRAMEs their correct content-parent even though they construct their views in the wrong order. r=jkeiser,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@129858 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 01:17:02 +00:00
jkeiser%netscape.com
5128c55e14
Backing out fix to bug 162572 to see if it fixes btek pageload numbers
...
git-svn-id: svn://10.0.0.236/trunk@129738 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 19:45:59 +00:00
jkeiser%netscape.com
758bd51d55
Allow nsHTMLValue to store embedded nulls (bug 162572), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@129681 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 06:19:27 +00:00
karnaze%netscape.com
e5afbfa65b
bug 139524 - handle style of col's with spans. sr=kin, r=bernd
...
git-svn-id: svn://10.0.0.236/trunk@129634 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 03:45:10 +00:00
bzbarsky%mit.edu
2539b61b98
Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@129411 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 20:33:11 +00:00
alecf%netscape.com
35855739dd
fix for bug 163736 - consolidate gfx2 into gfx, and remove the gfx2 DLL from the build.
...
r=pavlov, sr=rbs
includes creating a new "Shared" library which shares gfx code between all platforms
git-svn-id: svn://10.0.0.236/trunk@129305 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 04:43:31 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
alecf%netscape.com
e14adce270
oops, extra methods
...
part of bug 163736, again not part of build
git-svn-id: svn://10.0.0.236/trunk@128907 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 21:16:04 +00:00
alecf%netscape.com
1e3d6fc907
move these over from gfx in preparation for gfx2 destruction (bug 163736)
...
not part of build just yet
git-svn-id: svn://10.0.0.236/trunk@128888 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 18:18:40 +00:00
caillon%returnzero.com
a9ec620790
Bug 45557 - Rounded transparent borders are not transparent.
...
r=bzbarsky sr=jag
git-svn-id: svn://10.0.0.236/trunk@128529 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 06:39:34 +00:00
jkeiser%netscape.com
00f9a12d62
Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@128436 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au
4e8a1e0dc7
Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
...
left a file out, and the tree turned red....
git-svn-id: svn://10.0.0.236/trunk@128332 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com
958a25b600
Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@128330 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 08:19:43 +00:00
roc+%cs.cmu.edu
c6bb83f66a
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
3c91110102
Fix XUL style attribute change regression by making |#ifdef MOZ_SVG| code the default, but moved elsewhere. b=163481 r=bbaetz sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@127813 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 00:01:30 +00:00
dbaron%fas.harvard.edu
5ae251ef21
Correctly process a framechange hint on the root element to prevent crashes. Prevent selects from triggering style reresolution before they're added to the document, and prevent a little bit more reresolution that's a performance hit. b=143862 r=bzbarsky, jkeiser sr=jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@127628 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:35:09 +00:00
dbaron%fas.harvard.edu
8ec55d91d3
Make PopupSet registration on the root box frame done by the popupset and add unregistration when the popupset goes away to fix crashes from dangling pointers. b=156719 (and 136513) r=bryner sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@127625 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:29:29 +00:00
dcone%netscape.com
99d5eac239
b=148598 r=mcclusky,sr=kin Speed up scrolling
...
git-svn-id: svn://10.0.0.236/trunk@127550 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-18 00:46:00 +00:00
rbs%maths.uq.edu.au
a0fbf5f0ca
Merge mi/ms/mtext in a single token class and make mo inherit from the token class. The merge allows centralizing the special treatment needed for their child text frames that are non-MathML, b=162412, r=roc+moz, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@127492 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 21:36:31 +00:00
dbaron%fas.harvard.edu
de6516960e
Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@127460 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:29:20 +00:00
bzbarsky%mit.edu
dd8a124fb9
Fix crash; we may have a #text node. Bug 159359, r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@127339 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 02:28:54 +00:00
bzbarsky%mit.edu
d47090aca6
Fix crash bug 159359, patch by leon.zhang@sun.com, r=jkeiser, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@127209 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 23:33:58 +00:00