Commit Graph

2190 Commits

Author SHA1 Message Date
attinasi@netscape.com
04335c106c Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894 2002-01-14 22:05:26 +00:00
dbaron@fas.harvard.edu
2757494bd9 Make sure backgrounds are painted correctly by using the correct background to set up information on the view. b=119462 r=pierre sr=hyatt 2002-01-14 15:00:30 +00:00
bzbarsky@mit.edu
920b59e464 Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst. 2002-01-13 04:03:52 +00:00
hewitt@netscape.com
77b8bdf68d 70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt 2002-01-12 01:18:10 +00:00
dbaron@fas.harvard.edu
e537522240 Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson 2002-01-11 20:10:46 +00:00
brade@netscape.com
e7b0931b95 remove unused statics kHTMLImageElementCID and kIStyleFrameConstructionIID saving 32 bytes (bug 117927; rs=glazou) 2002-01-09 15:45:50 +00:00
dbaron@fas.harvard.edu
edc54e6926 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 2002-01-07 23:46:07 +00:00
dbaron@fas.harvard.edu
e1d6ecafaa Attempt to fix WS 5.0 bustage. 2002-01-06 20:07:13 +00:00
dbaron@fas.harvard.edu
ee7a0c3127 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 2002-01-06 18:25:38 +00:00
bryner@netscape.com
2e1743aab5 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.
2002-01-05 07:17:10 +00:00
timeless@mac.com
c16538ef81 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
hewitt@netscape.com
782ef15326 116198 - remove progressbar tag to simplify progressmeter, r=ben, sr=hyatt 2001-12-21 01:41:32 +00:00
heikki@netscape.com
bff81cf528 Fixing build bustage. 2001-12-18 00:15:15 +00:00
hyatt@netscape.com
389657361a Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
waterson@netscape.com
d05e65aea2 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
jaggernaut@netscape.com
0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
mkaply@us.ibm.com
3bc483763c 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?
2001-12-12 12:52:55 +00:00
bbaetz@cs.mcgill.ca
2e820371f0 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
2001-12-12 07:59:31 +00:00
dbaron@fas.harvard.edu
4fa6450214 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 2001-12-09 04:28:41 +00:00
dbaron@fas.harvard.edu
4aab8757b3 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 2001-12-06 05:45:07 +00:00
hewitt@netscape.com
1b684af221 93839 - tooltiptext should work without specifying tooltip, r=pinkerton, sr=hyatt 2001-12-04 22:32:49 +00:00
bryner@netscape.com
17e3e1e2fc Forgot this file as part of 113082. (pre-emptively fixing bustage) 2001-12-02 00:46:56 +00:00
roc+@cs.cmu.edu
5b7457dc0e Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
attinasi@netscape.com
a2c1b7e272 Checkin for Ulrich Drepper: cleanup of 'if' cascade in frame constructor for controls. b=99421 r=rods sr=attinasi 2001-11-30 20:43:35 +00:00
varga@utcru.sk
1d63de26c2 Fix for 97062.
Implement a content model view for <outliner>.
r=bryner sr=hyatt
2001-11-30 04:41:55 +00:00
kin@netscape.com
b720dbfbe2 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
2001-11-29 22:53:03 +00:00
attinasi@netscape.com
55221739c0 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 2001-11-29 00:56:43 +00:00
dbaron@fas.harvard.edu
b6935e13ce 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 2001-11-28 04:57:31 +00:00
dbaron@fas.harvard.edu
2507c79cf4 Backing out most of my checkin for bug 109788. b=111710 2001-11-24 23:28:45 +00:00
roc+@cs.cmu.edu
2196e347f9 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
dbaron@fas.harvard.edu
0438bea566 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 2001-11-23 04:52:24 +00:00
dbaron@fas.harvard.edu
3ea4a3589b 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 2001-11-22 21:44:34 +00:00
roc+@cs.cmu.edu
644b8cfc16 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
kin@netscape.com
00a4569ec7 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
2001-11-21 14:24:59 +00:00
timeless@mac.com
74848c768e 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
2001-11-19 06:45:00 +00:00
kin@netscape.com
3647386628 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
2001-11-14 23:55:44 +00:00
attinasi@netscape.com
355d4dfc00 Export GetAltTextfor as static member fcn. b=102281 r=kmcclusk sr=waerson 2001-11-07 04:32:25 +00:00
rods@netscape.com
ec84f6df1b 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
2001-11-03 14:59:39 +00:00
jst@netscape.com
af4947ee24 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 2001-11-02 07:40:01 +00:00
hyatt@netscape.com
967b804b1f Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson 2001-11-02 01:53:13 +00:00
karnaze@netscape.com
0c19e014cb bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov 2001-11-01 15:31:13 +00:00
dbaron@fas.harvard.edu
e6c442d8be Additional cleanup after bug 56117: prevent :first-letter from leading to style resolution on text nodes and stop all style resolution for placeholder frames (formerly :placeholder-frame pseudo-element) and for text following a :first-line pseudo-element (formerly :-moz-letter-frame pseudo-element). b=107534 r=waterson, attinasi sr=hyatt 2001-10-31 02:53:47 +00:00
dbaron@fas.harvard.edu
6b4c727ec3 Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi 2001-10-30 06:02:05 +00:00
evaughan@netscape.com
ede9c716a1 turning on grid
-r bryner -sr hyatt
2001-10-29 20:20:36 +00:00
seawood@netscape.com
74b22d1a32 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
hyatt@netscape.com
3bc745993d Fix for 106212, make ContentAppended work right with XBL insertion points. r=brendan, sr=waterson 2001-10-25 07:31:18 +00:00
attinasi@netscape.com
58f0ce718f Fixed crash when positioned applet has to show the alt text. b=99776 r=dbaron sr=hyatt 2001-10-24 06:13:10 +00:00
hyatt@netscape.com
f89422ce49 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
bzbarsky@mit.edu
acf70aedb1 Make setting body.style.background invalidate the whole canvas so the
background is repainted correctly. r=kmcclusk@netscape.com, sr=attinasi
2001-10-23 22:08:30 +00:00
jaggernaut@netscape.com
9168581312 Bug 89998: move nsTitledBoxFrame.cpp to nsGroupBoxFrame.cpp (and the classnames in it) as the final step in this XUL 1.0 bug. r=jag,FrodoB. 2001-10-21 08:35:34 +00:00