72 Commits

Author SHA1 Message Date
blythe%netscape.com
8f002dba27 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@112202 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:43:37 +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
bzbarsky%mit.edu
c180e28886 Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106217 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:34:20 +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
dougt%netscape.com
1f7520e927 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
bzbarsky%mit.edu
316ec70207 Make setting element.style.foo just parse the value instead of creating
a property:value pair and parsing that.  Speeds up setting of
element.style.top by about 5%.  Bug 99797, r=attinasi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@104060 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:38:36 +00:00
rbs%maths.uq.edu.au
1797500207 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103966 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:33:58 +00:00
gerv%gerv.net
ed9b258739 License changes, take 2. Bug 98089. mozilla/content/.
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
dbaron%fas.harvard.edu
f25532bcbf Allow declarations in style attribute to be surrounded by braces in quirks mode. Rename ParseDeclarations to ParseStyleAttribute since that's what it does. b=99554 r=hixie,glazman sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103044 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:59:30 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
jaggernaut%netscape.com
9985dcc528 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls.
git-svn-id: svn://10.0.0.236/trunk@102802 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 12:48:23 +00:00
bzbarsky%mit.edu
bafa24e23a Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar.  So ParseRule() has to return an array of
rules, not just a rule.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102406 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 13:14:35 +00:00
bzbarsky%mit.edu
0f2651a119 Fix the nsIDOMMediaList interface to have the right properties. Make
media rules implement nsIDOMCSSMediaRule.  Fix insertRule() to be able
to insert into the middle of a rule list.  Fix issues with stylesheets
not getting dirtied when media lists are modified.  bug 93977,
r=pierre, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102234 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:00:18 +00:00
bzbarsky%mit.edu
8cca381b47 Making import rules implement the nsIDOMCSSImportRule interface. Bug 90290, r=pierre, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100358 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 21:19:53 +00:00
hyatt%netscape.com
6206b55be6 Fix for 90081, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99897 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 06:33:06 +00:00
hyatt%netscape.com
d2e6a382ec More hot 90081 action. Needed to tweak it a little to avoid crash.
git-svn-id: svn://10.0.0.236/trunk@99541 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 23:25:16 +00:00
hyatt%netscape.com
02fae71136 Fix for 90081, r/sr=waterson,attinasi
git-svn-id: svn://10.0.0.236/trunk@99536 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 22:48:35 +00:00
waterson%netscape.com
eaaf7f4149 Bug 87229. Replace giant switch statements with bit-ops and jump tables where appropriate. r=attinasi, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@98315 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:42:46 +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
peterv%netscape.com
b5b28ccdae Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95596 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 13:01:41 +00:00
peterv%netscape.com
f74c7ea12a Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
jst%netscape.com
9d299d36ce Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
heikki%netscape.com
71d5a4d22d Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@88896 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:41:16 +00:00
Peter.VanderBeken%pandora.be
bad04a33a1 Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87368 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 17:51:42 +00:00
heikki%netscape.com
b23ac2426f Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87353 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:10:13 +00:00
hyatt%netscape.com
8244a8912e Fix for 67739. r=pierre,attinasi sr=ben
git-svn-id: svn://10.0.0.236/trunk@87131 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:24:47 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
attinasi%netscape.com
3da8003982 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:45:06 +00:00
jst%netscape.com
4e40fded47 WIP for getComputedStyle().
git-svn-id: svn://10.0.0.236/trunk@69714 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:33:27 +00:00
jst%netscape.com
b15a5bb348 New files needed for getComputedStyle(). Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@68182 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:07:33 +00:00
jst%netscape.com
09a726c20d WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:00 +00:00
pierre%netscape.com
8be7e09c16 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node.
git-svn-id: svn://10.0.0.236/trunk@67510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:02:12 +00:00
attinasi%netscape.com
3c5099c351 Added support for @charset in external stylesheets, as well as support for charset being set byt HTML document for parsing HTML style attributes in other charsets. r=ftang b=2870,28500
git-svn-id: svn://10.0.0.236/trunk@66894 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 02:01:40 +00:00
braddr%puremagic.com
2ecf22f141 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan


git-svn-id: svn://10.0.0.236/trunk@66111 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:23:57 +00:00
vidur%netscape.com
6eb67e93bd For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre.
git-svn-id: svn://10.0.0.236/trunk@55251 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:27:14 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
peterl%netscape.com
d1916dab07 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy


git-svn-id: svn://10.0.0.236/trunk@50193 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 03:09:31 +00:00
peterl%netscape.com
934815e84f added first-node pseudo class (extension)
git-svn-id: svn://10.0.0.236/trunk@46896 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 00:08:30 +00:00
kmcclusk%netscape.com
9e4c341c69 Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.


git-svn-id: svn://10.0.0.236/trunk@42998 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:57 +00:00
peterl%netscape.com
405ed08aff moved dummy option pseudo to layout atoms
added root pseudo


git-svn-id: svn://10.0.0.236/trunk@42681 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:16:07 +00:00
rods%netscape.com
ca0b40cbe7 Added :-moz-dummy-option is used for empty select tags
git-svn-id: svn://10.0.0.236/trunk@42447 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:00:54 +00:00
peterl%netscape.com
e27190d7a1 use preprocessor to generate atom code
git-svn-id: svn://10.0.0.236/trunk@39944 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:24:47 +00:00
peterl%netscape.com
7ac7ac6b56 hooked up quirk mode
git-svn-id: svn://10.0.0.236/trunk@38546 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:28:04 +00:00
waterson%netscape.com
ab52924916 Add GetIID().
git-svn-id: svn://10.0.0.236/trunk@37537 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 19:47:42 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
peterl%netscape.com
64aa772a58 added default namespace id
git-svn-id: svn://10.0.0.236/trunk@35393 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:18:37 +00:00
peterl%netscape.com
da190bcd66 added default namespace ID to loading
git-svn-id: svn://10.0.0.236/trunk@35392 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:18:23 +00:00
peterl%netscape.com
bf9b5f28c1 Cleanup API
Added support for other rule types
Added namespace support


git-svn-id: svn://10.0.0.236/trunk@34563 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:22:13 +00:00
peterl%netscape.com
4d95b1fb3d added modified test to api
git-svn-id: svn://10.0.0.236/trunk@33469 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:55:02 +00:00
peterl%netscape.com
e487e20991 added Clearmedia
git-svn-id: svn://10.0.0.236/trunk@32808 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:51:42 +00:00