340 Commits

Author SHA1 Message Date
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
dcone%netscape.com
8944f478a1 b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
git-svn-id: svn://10.0.0.236/trunk@114597 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:48:12 +00:00
rods%netscape.com
ccd0e3e698 Fixes the problem where PrintPreview is getting multiple Initial reflows
and includes a minor optimization when resizing the view during box layout
Bug 118968 r=attinasi sr=hyatt a=brendan


git-svn-id: svn://10.0.0.236/trunk@112569 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:53:02 +00:00
brade%netscape.com
5639df86ad remove unused statics kWidgetCID, kScrollingViewCID, kViewCID saving 48 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111692 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:38:01 +00:00
dcone%netscape.com
9fbb0ab01d bug = 117072. r=rods sr=attinasi. set the paintbackground to true before paint. Fixes paint preview.
git-svn-id: svn://10.0.0.236/trunk@111571 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 14:58:52 +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
sfraser%netscape.com
d35e1fa18c Fix for bug 115162 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110496 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:13:08 +00:00
karnaze%netscape.com
65fe290a5b bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
dbaron%fas.harvard.edu
8b3489a026 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


git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
waterson%netscape.com
6a8ba73bf2 Bug 73235. Don't add scrollbar's width to MES. r=attinasi, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103973 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 20:53:21 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
hewitt%netscape.com
64041e826c 93193 - cleaning up after align/pack xul box model changes, r=blake, sr=hyatt, 90741 - replacing box with hbox/vbox (from andersma@luther.edu), r=hewitt, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@100349 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 06:21:59 +00:00
bratell%lysator.liu.se
4ae0c150dd Bug 91669 - use AppendInt instead of sprintf to convert from number to nsString. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@100198 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 12:12:53 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
timeless%mac.com
f36e2887f3 Bugzilla Bug 80634 Program received signal SIGSEGV, Segmentation fault.
Bullet-proofing patch + ASSERT. rs=shaver


git-svn-id: svn://10.0.0.236/trunk@94927 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 03:12:08 +00:00
roc+%cs.cmu.edu
9a09592520 Fix calculation of scrollbar widths for laying out fixed-position frames. Also make sure that the fixed frames are reflowed if scrollbar widths change. Fix for bug 5195. r=evaughan,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@92482 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 01:45:38 +00:00
erik%netscape.com
4b577b6b22 bug 75040; author=simon@softel.co.il; r=evaughan; sr=erik; diffs from IBM
bidi project (e.g. Arabic, Hebrew)


git-svn-id: svn://10.0.0.236/trunk@92012 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 23:04:11 +00:00
disttsc%bart.nl
f69c0e7cd8 bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc
git-svn-id: svn://10.0.0.236/trunk@90514 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 11:17:17 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
evaughan%netscape.com
fb2845a33e Fix for bug #51780
-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@78893 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-12 20:19:11 +00:00
dbaron%fas.harvard.edu
3b9c9e465a Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00
hyatt%netscape.com
efb91e3b36 Put scrollbars back in tex tareas.
git-svn-id: svn://10.0.0.236/trunk@75659 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 20:48:22 +00:00
hyatt%netscape.com
7517933b86 Fix for 42451.
git-svn-id: svn://10.0.0.236/trunk@75536 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:42:36 +00:00
hyatt%netscape.com
f48041dfac Missed files. Fixs bustage.
git-svn-id: svn://10.0.0.236/trunk@74897 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 06:57:32 +00:00
hyatt%netscape.com
c23002ba84 Fix for 43467. r=bryner
git-svn-id: svn://10.0.0.236/trunk@74192 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:00:59 +00:00
evaughan%netscape.com
bd0857d1fe Fixed body resizing bug #35681
-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@73848 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:24:06 +00:00
hyatt%netscape.com
d931111497 Tree/grid work. Bug #30511. r=danm.
git-svn-id: svn://10.0.0.236/trunk@71632 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:14:11 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
evaughan%netscape.com
a0451e24a4 Fixed bug that crashed when menus are used with native scrollbars.
git-svn-id: svn://10.0.0.236/trunk@70279 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:45:44 +00:00
evaughan%netscape.com
cd4a9a369b 1) Scrolling menus
2) many bug fixes
3) box debuging flags


git-svn-id: svn://10.0.0.236/trunk@69737 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:12:31 +00:00
mjudge%netscape.com
66f161ec56 adding method to remove scrollbars
git-svn-id: svn://10.0.0.236/trunk@69593 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:00:53 +00:00
jst%netscape.com
0f0b4d6367 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
evaughan%netscape.com
a3c13c8739 Made gfx scrollframe store maxelement size for gfxlist controls.
git-svn-id: svn://10.0.0.236/trunk@67827 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 02:28:41 +00:00
evaughan%netscape.com
0fc64ebc07 Fixed merge error. Added rods performance code back in.
git-svn-id: svn://10.0.0.236/trunk@67262 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:01:57 +00:00
evaughan%netscape.com
ff486e57f1 1) StyleChange coelescing
2) Warning fixes
3) Table fixes


git-svn-id: svn://10.0.0.236/trunk@67099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:10:48 +00:00
rods%netscape.com
fbf8aca833 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +00:00
evaughan%netscape.com
faa007901c 1) Bug fixes.
2) Changed to fix rods text control
3) Added new Grid widget


git-svn-id: svn://10.0.0.236/trunk@65239 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:19:00 +00:00