1662 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
dbaron%fas.harvard.edu
9fffba3f2b Attempt to fix WS 5.0 bustage.
git-svn-id: svn://10.0.0.236/trunk@111459 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 20:07:13 +00:00
dbaron%fas.harvard.edu
025f414842 Get the visibility style struct to ensure that we check the 'direction' property and thus enable BIDI if necessary before beginning reflow. b=115921 r=smontagu sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111450 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 18:25:38 +00:00
dbaron%fas.harvard.edu
799b4588b8 Fix OS/2 bustage by undefining |index|.
git-svn-id: svn://10.0.0.236/trunk@111416 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 15:43:19 +00:00
bryner%netscape.com
87d7aa496f Initial checkin of XBL select widget (listbox) code (bug 112713).
Summary of changes:
- Removed old XBL form control cruft.
- Made nsOutlinerContentView accessible from content scripts.
- Created a new interface, nsIDOMNSXBLFormControl which exists to allow a
select element to have an outliner box object.
- Factored out nsChildIterator into its own file.
- Added support to the outliner content view for having option elements
directly inserted in the outliner.
- Cleaned up pixel/twip conversions in outliner.
- Added support for intrinsic width for outliner.

r=jag, sr=hyatt.  Note that the new select widget is NOT turned on by
default.


git-svn-id: svn://10.0.0.236/trunk@111407 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 07:17:10 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
hewitt%netscape.com
9eb5ae7fad 116198 - remove progressbar tag to simplify progressmeter, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110944 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:41:32 +00:00
pinkerton%netscape.com
a6c41bf09f Fix infinite loop when |shrinkage| goes below zero. Blocker for mach-o
build. r=dbaron/sr=blake. bug#116240


git-svn-id: svn://10.0.0.236/trunk@110904 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 18:02:43 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
mjudge%netscape.com
bc78c917f2 wrong name for module name. needed webbrwsr not webBrowser_core
git-svn-id: svn://10.0.0.236/trunk@110681 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 02:06:04 +00:00
mjudge%netscape.com
20a1185b2b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
git-svn-id: svn://10.0.0.236/trunk@110680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:29:49 +00:00
heikki%netscape.com
0fac54b986 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@110660 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 00:15:15 +00:00
hyatt%netscape.com
f9a19ba7cd Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
waterson%netscape.com
b6978c3e09 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com
d1529aed21 Remove timer from REQUIRES, the makefile.win edition
git-svn-id: svn://10.0.0.236/trunk@110586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
1140db62f4 Remove timer from REQUIRES. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@110585 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
bryner%netscape.com
ee1f501610 Factoring out ChildIterator to separate files so that the outliner code can use it. Not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@110570 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 09:13:48 +00:00
mkaply%us.ibm.com
b7dcb8f592 hack hack, wonderful hack
undef the index macro for VACPP
I guess this is a VACPP bug, we had to do this in js, but why name a function such a common macro?


git-svn-id: svn://10.0.0.236/trunk@110392 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 12:52:55 +00:00
bbaetz%cs.mcgill.ca
478af40f6f Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT


git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
hewitt%netscape.com
e950ac1c5c 113789 - -moz-border-colors doesn't recognize transparent, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110251 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:13:16 +00:00
dcone%netscape.com
ba0c0cbbea bug=96870 Add methods onto the nsIPresContext for setting and getting the background painting
boolean so printing can turn on and off backgrounds.  r=peterl sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110236 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:57:37 +00:00
dbaron%fas.harvard.edu
97e5cd4b32 Split ConstructFrameByTag into ConstructTextFrame and ConstructHTMLFrame to make it easier to reorganize frame construction by tag and by display type and to speed up text frame construction. b=109788 r=bryner sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110108 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 04:28:41 +00:00
dbaron%fas.harvard.edu
d3f3cc3a7b Remove nsDST and convert its users (PresShell::mSubShellMap, FrameManager::mPrimaryFrameMap, and FrameManager::PropertyList::mFrameValueMap) to PLDHash. Also convert FrameManager::mPlaceholderMap to PLDHash. Give image map area structures a pointer back to their image frame rather than (mis)using the primary frame map. Change API for changing placeholder map to reflect hash entry that accesses key through value by passing only the value and not the key. Give the root frame a proper mContent. b=110911 r=attinasi sr=brendan
git-svn-id: svn://10.0.0.236/trunk@109818 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 05:45:07 +00:00
dbaron%fas.harvard.edu
f346096920 Tweaking XP_MACOSX ifdefs in a few more places, including a fix for background image clipping. b=111795 r=pinkerton sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@109766 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 00:09:21 +00:00
hyatt%netscape.com
6c6f01e32e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988
git-svn-id: svn://10.0.0.236/trunk@109734 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 08:35:05 +00:00
hewitt%netscape.com
801573f381 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109677 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 22:32:49 +00:00
bryner%netscape.com
5905d6acc1 Forgot this file as part of 113082. (pre-emptively fixing bustage)
git-svn-id: svn://10.0.0.236/trunk@109476 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:46:56 +00:00
roc+%cs.cmu.edu
35e1d479ea Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@109458 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 14:31:45 +00:00
attinasi%netscape.com
3db4a0e9ac Checkin for Ulrich Drepper: cleanup of 'if' cascade in frame constructor for controls. b=99421 r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109370 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 20:43:35 +00:00
varga%utcru.sk
e0dc84b7d2 Fix for 97062.
Implement a content model view for <outliner>.
r=bryner sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@109326 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:41:55 +00:00
kin%netscape.com
0d6b36df4c Fix for bug 69398: {label,hr,br}:after {content: ":"} repeats creation of :
with mouse movement

Modified RemoveGeneratedContentFrameSiblings() to handle the case where
the :after frame is in a continuing frame for the primary frame's parent.

r=dbaron@fas.harvard.edu  sr=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109259 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:53:03 +00:00
attinasi%netscape.com
7451e69bbe Fixed a problem where changes to inline-style were not causing the correct clearing of the style system's cached rules. b=97874 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@109159 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:56:43 +00:00
dbaron%fas.harvard.edu
0e1a7a0ed0 Correct computation of containing block for absolutely positioned elements added dynamically within fixed positioned elements or for which the containing block's element is scrollable. b=111849, 91060 r=waterson sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109108 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 04:57:31 +00:00
dcone%netscape.com
2b974aef37 Put in a check so backgrounds are not printed. This is temporary until 96870 is fixed. r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109000 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 14:50:35 +00:00
dbaron%fas.harvard.edu
859b0ce867 Backing out most of my checkin for bug 109788. b=111710
git-svn-id: svn://10.0.0.236/trunk@108863 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 23:28:45 +00:00
roc+%cs.cmu.edu
fce7355cf6 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out.
git-svn-id: svn://10.0.0.236/trunk@108850 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-24 05:37:25 +00:00
dbaron%fas.harvard.edu
fcad73a0e2 Split ConstructFrameByTag into ConstructTextFrame and ConstructHTMLFrame to make it easier to reorganize frame construction by tag and by display type. b=109788 r=hyatt rs=waterson
git-svn-id: svn://10.0.0.236/trunk@108831 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-23 04:52:24 +00:00
dbaron%fas.harvard.edu
f7ef596567 Fix leak of popup frames (that fans out into leaking entire XUL documents) by creating nsIAnonymousContentCreator anonymous content for the doc element frame before creating frames for the real content children, which should only affect popupsets. b=109671 r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@108822 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 21:44:34 +00:00
roc+%cs.cmu.edu
5d13b4f0c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108796 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 05:26:32 +00:00
kin%netscape.com
fd1f07fa3a Fix for bug #71979: <br><hr> inside link displays additional hr upon each mouseover
Modified FindFrameWithContent() to skip over sibling :before pseudo frames when
looking for the primary frame for non-splittable-element aContent.

r=dbaron@fas.harvard.edu   sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@108697 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 14:24:59 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
timeless%mac.com
7b921259da Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
kin%netscape.com
c853bf4c4b Fix for bug 96455: hr has duplicate lineboxes in frame tree
- Move code in HaveFirstLetter*() methods to a more generic method
    HasPseudoStyle() to expand it's use, and make those methods call it.

  - Added static method RemoveGeneratedContentFrameSiblings(), which
    is now called from ContentRemoved(), to remove any sibling :before
    and :after frames for a given frame.

r=attinasi@netscape.com (also looked at by rbs@maths.uq.edu.au)
sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@108105 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 23:55:44 +00:00
attinasi%netscape.com
0ed5164758 Export GetAltTextfor as static member fcn. b=102281 r=kmcclusk sr=waerson
git-svn-id: svn://10.0.0.236/trunk@107561 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 04:32:25 +00:00
rods%netscape.com
1100db8190 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
seawood%netscape.com
76780820f4 Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696


git-svn-id: svn://10.0.0.236/trunk@107199 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 03:29:05 +00:00
jst%netscape.com
81bf1f1956 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
hyatt%netscape.com
3646e122c1 Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107033 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 01:53:13 +00:00