Commit Graph

163 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
c9c0a97163 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
waterson%netscape.com
854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
karnaze%netscape.com
748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
karnaze%netscape.com
5b097ca46e bug 103925 (3rd patch) - display changes in reflow parameters. sr=attinasi. 2001-11-27 01:45:46 +00:00
karnaze%netscape.com
436e1ac49e bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
157c017816 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
hyatt%netscape.com
0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dbaron%fas.harvard.edu
ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
karnaze%netscape.com
e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
hyatt%netscape.com
62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
bryner%netscape.com
c1b48b4601 Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt. 2001-08-18 07:25:52 +00:00
jgaunt%netscape.com
9f2f88aa48 fix for bug 94768
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
bryner%netscape.com
f108fef5b4 Bug 66617 - When tabbing between links on a page, the focus outline on the
previously focused link would not be redrawn if the tab caused the page to
scroll.  r=valeski, saari, sr=hyatt.
2001-08-10 23:50:05 +00:00
dbaron%fas.harvard.edu
3d51f4ce1a Split nsHTMLReflowMetrics into a separate file (nsHTMLReflowMetrics.h rather than nsIFrame.h). b=64023 r,sr in {waterson, attinasi} 2001-08-01 01:27:50 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
ftang%netscape.com
3e782eb254 fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
hyatt%netscape.com
b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
evaughan%netscape.com
d9378cb8f0 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
roc+%cs.cmu.edu
a7e55667d2 Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard 2001-04-24 01:01:16 +00:00
karnaze%netscape.com
a81a269978 table reflow coalescing, table reflow face lift. sr=attinasi 2001-03-13 06:38:59 +00:00
erik%netscape.com
06d55ad850 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:29:00 +00:00
rods%netscape.com
1c8f290f5d Don't paint blocks that shouldn't be painted when printing
Bug 67296 r=kmcclusk sr=attinasi
2001-03-08 02:46:44 +00:00
pierre%netscape.com
9af01acf22 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
rods%netscape.com
99666eed8c This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
7ecf530933 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre%netscape.com
62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
cmanske%netscape.com
f731cf305a Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser 2000-12-20 22:13:54 +00:00
leaf%mozilla.org
c7984c2caa backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske%netscape.com
5804015250 Change param in GetDataForTableSelection from PRInt16 to PRInt32 (fixing build bustage) 2000-12-20 03:23:32 +00:00
cmanske%netscape.com
d5dcb3691d Changed param from PRUint32 to PRInt16 in nsFrame::GetDataForTableSelection; enums for param moved from .h file to .idl file. Part of table selection work, b=57863, r=jfrancis, sr=kin 2000-12-20 01:36:55 +00:00
attinasi%netscape.com
d97aa7f2cb Changes to put style data into the layout regression data output. r=karnaze, a=waterson 2000-12-07 15:31:40 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
0c836a5683 more fixes for dbaron 2000-10-28 01:28:06 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
attinasi%netscape.com
1fd5ba1fd2 Added default implementation for frames to allow a frame to specify which frame provides its parent style context. Also reworked ReResolveStyleContext and VerifyStyleTree to allow the style context tree to diverge from the frame tree. b=45210 r=karnaze 2000-09-12 22:47:09 +00:00
pinkerton%netscape.com
fc367b8a1a making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250. 2000-08-14 22:28:41 +00:00
sfraser%netscape.com
9aa82a567b Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
pierre%netscape.com
5e553bbece 42864 ('user-select:none' should make children non-selectable) 2000-08-05 04:41:33 +00:00
waterson%netscape.com
4896ee6d33 Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana. 2000-07-28 22:29:28 +00:00
waterson%netscape.com
9bd4266798 Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu 2000-07-27 05:16:08 +00:00
mjudge%netscape.com
7317580268 46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call. 2000-07-26 11:31:12 +00:00
kin%netscape.com
1739a10bbd Part2 of fix for bug #39821: Drag and Drop interferes with selection
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.

    layout/base/public/nsIFrame.h
    layout/events/src/nsEventStateManager.cpp
    layout/html/base/src/nsFrame.h
    layout/html/base/src/nsFrame.cpp

r=buster@netscape.com,brade@netscape.com,cmanske@netscape.com   a=beppe@netscape.com
2000-05-31 03:20:02 +00:00
cmanske%netscape.com
c28f13972f Added row/column selection in tables: Bug 26833. r=kin, a=beppe 2000-05-31 00:07:58 +00:00
akkana%netscape.com
d39b10a680 Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection. 2000-05-16 22:48:28 +00:00
mjudge%netscape.com
24e9fbcab6 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out. 2000-05-04 08:35:42 +00:00
anthonyd%netscape.com
9a23850613 r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)
2000-04-30 18:56:26 +00:00
troy%netscape.com
6b04c3b5fa Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00