9682 Commits

Author SHA1 Message Date
karnaze%netscape.com
971e0c5824 bug 183274 - bernd's patch to fix some typos and wrong max value. sr=bzbarsky, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@134713 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 20:20:53 +00:00
karnaze%netscape.com
bf52326163 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@134698 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 16:35:23 +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
bzbarsky%mit.edu
c3731640d3 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.


git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
bernd.mielke%snafu.de
41c72d5fee dont consider the outer table frame twice for a selection, bug 182449, r=karnaze sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134666 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:22:32 +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
2644fbd1b6 Remove unneeded stubs for code to support Navigator 4.x-only suppress attribute. b=182554 r=biesi (who noticed the problem) sr=peterv
git-svn-id: svn://10.0.0.236/trunk@134581 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 23:02:31 +00:00
cbiesinger%web.de
537c0be9c1 removing unused function Area::ToHTML. r=peterv sr=dbaron. no bug.
git-svn-id: svn://10.0.0.236/trunk@134578 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 22:18:01 +00:00
dbaron%fas.harvard.edu
d77395a3b9 Fix margin collapsing of margins other than the first child's top margin out of the top of a block. b=44242, 18206 r=roc (mostly)
git-svn-id: svn://10.0.0.236/trunk@134576 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 19:29:28 +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
bzbarsky%mit.edu
0258e6972f Fix crash if a site overrides one of our "magic" rules. Make some of the rules
!important, make nsViewportFrame a containing block no matter what the CSS
says. Bug 181692, r=karnaze, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@134425 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 23:40:58 +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
sicking%bigfoot.com
db4678c2f2 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@134395 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 08:33:30 +00:00
katakai%japan.sun.com
93fd9af3b9 bug 167866
code clean up
clean up comment line codes for nsPresShell.cpp
r=akkana,sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@134389 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 04:58:40 +00:00
bernd.mielke%snafu.de
d89ffec36a Initialize text-indent at the table boundary, this cuts inheritance of text-indent inside tables. plus removal of a conflicting border specification bug 140682 r=hixie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134366 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 17:56:44 +00:00
rods%netscape.com
bde4c45748 more tests
git-svn-id: svn://10.0.0.236/trunk@134343 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 22:46:10 +00:00
rods%netscape.com
fb3365eacd more tests
git-svn-id: svn://10.0.0.236/trunk@134342 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 22:39:51 +00:00
jfrancis%netscape.com
0d9a9af955 fix for 142855: cf_html paste functioanlity. r=brade, cmanske; sr=kin
git-svn-id: svn://10.0.0.236/trunk@134301 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 03:24:29 +00:00
karnaze%netscape.com
1432927ab9 bug 91491 - Invalidate the correct area when there is a caption. Invalidate max of area before reflow and area after. sr=kin, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@134267 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 15:28:02 +00:00
dbaron%fas.harvard.edu
10dd68c42b Correct my incorrect comments relating to combined area, and explain what combined area is for. Comment changes only. b=172896
git-svn-id: svn://10.0.0.236/trunk@134264 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 15:20:20 +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
jkeiser%netscape.com
61c84d1fa9 Make textareas and inputs restore again (bug 179330), r=bryner@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@134217 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:19:45 +00:00
bzbarsky%mit.edu
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
dbaron%fas.harvard.edu
7bfdf9ceaf Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134104 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:21:57 +00:00
bzbarsky%mit.edu
d4ea0fd2db <button> should be a containing block. Bug 180301, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134072 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 03:39:44 +00:00
bzbarsky%mit.edu
462e73c79e <button> should not have preformatted whitespace. Bug 55285, r=jkeiser, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@134071 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 03:34: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
peterlubczynski%netscape.com
9979a08e6e Fixing bug 173938 with a hack for full-page plugins to be destroyed before the frame. r=av sr=jst
git-svn-id: svn://10.0.0.236/trunk@134037 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 07:48:10 +00:00
dbaron%fas.harvard.edu
a0f469c2b2 Remove nsLineBox::RemoveFloatersFromSpaceManager, and use nsSpaceManager::PushState and nsSpaceManager::PopState instead. b=177342 r=roc sr=kin
git-svn-id: svn://10.0.0.236/trunk@134007 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:51:25 +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
timeless%mozdev.org
99731b5e88 Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@133999 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 05:16:49 +00:00
bzbarsky%mit.edu
263a259da7 Fix regression in rendering buttons that people manually size to less
than desired size.  Bug 180085, r=jkeiser, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@133980 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 19:32:49 +00:00
bernd.mielke%snafu.de
819231c5be enable static caption-side testcases for layout regression tests, not part of any build
git-svn-id: svn://10.0.0.236/trunk@133969 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 11:01:59 +00:00
bernd.mielke%snafu.de
0a20459e7c Adding debug code to absolute containing blocks, the debug code will be invoked from the command line by
set GECKO_BLOCK_DEBUG_FLAGS=reflow bug 145592, r=bz, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@133967 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 10:41:10 +00:00
bryner%netscape.com
e42bf44e7d Fixing topcrash bug 179548 (crash when closing tab via mouse gesture) by null checking the event target frame before dispatching the event the second time, since the first dispatch can nuke the frame. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@133871 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 00:59:28 +00:00
bzbarsky%mit.edu
b2477e984f Fire onScroll after the scrolling has happened. Bug 179857, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@133842 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 20:00:13 +00:00
bzbarsky%mit.edu
b8bbf7470c Fix regression bug 179896; need to use the cached ascent in this case
too.  r=jkeiser, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@133779 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 22:34:09 +00:00
bernd.mielke%snafu.de
5c14c1baea change default height of empty table cells to 1px in quirks mode and 0px in standards mode + some CallQueryInterface cleanup, bug 16012 r=karnaze sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@133752 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 15:38:48 +00:00
bzbarsky%mit.edu
f76cceac51 Not sure why this didn't get properly checked in with the rest... Bug
167236, r=jkeiser, sr=roc+moz, moa=rods


git-svn-id: svn://10.0.0.236/trunk@133736 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 07:50:34 +00:00
cmanske%netscape.com
d6cc98279b Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133703 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu
87e0051c3e Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods


git-svn-id: svn://10.0.0.236/trunk@133674 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:17:51 +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
e98396416a Fix ScrollFrameIntoView if we have nested views with the child bigger
than the parent.  Bug 143815, r=roc+moz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@133622 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 04:38:28 +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
bzbarsky%mit.edu
2e99df36cd Fix ReplaceChild() on positioned inlines to delegate to
nsAbsoluteContainingBlock.h.  Bug 176915, r=dbaron, sr=rbs


git-svn-id: svn://10.0.0.236/trunk@133620 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 03:30:13 +00:00
bzbarsky%mit.edu
54f34022d8 Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@133497 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 18:33:37 +00:00
bryner%netscape.com
b345c67a0c Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +00:00