195 Commits

Author SHA1 Message Date
cbiesinger%web.de
8b51a21663 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
git-svn-id: svn://10.0.0.236/trunk@136507 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:09:23 +00:00
caillon%returnzero.com
4e9b13ef00 Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
30879d2c9e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
dbaron%fas.harvard.edu
e8f31961d7 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin
git-svn-id: svn://10.0.0.236/trunk@133655 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 15:17:07 +00:00
bzbarsky%mit.edu
8e9f040f59 Make GetImportantRule and GetISupportsValue return already_AddRefed.
Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131534 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:59:43 +00:00
caillon%returnzero.com
0f7366d6d0 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
roc+%cs.cmu.edu
c6bb83f66a Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
650a42831e Remove unused Equals and HashValue methods (methods that were once on nsIStyleRule). b=163058 r=hyatt sr=kin
git-svn-id: svn://10.0.0.236/trunk@127715 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 19:40:23 +00:00
dbaron%fas.harvard.edu
e8821b1085 Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +00:00
dbaron%fas.harvard.edu
23762bb47e Remove unused method nsIStyleRule::GetStrength. b=162492 r=kin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127259 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 13:16:35 +00:00
dbaron%fas.harvard.edu
e58a8cf95b Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768
git-svn-id: svn://10.0.0.236/trunk@127250 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:34:39 +00:00
seawood%netscape.com
bfd788cd4d Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski


git-svn-id: svn://10.0.0.236/trunk@117612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:02:39 +00:00
attinasi%netscape.com
dbe40cd4b1 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@117496 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu
b447eec349 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +00:00
bzbarsky%mit.edu
121c744834 Make RemoveProperty notify the doc. Bug 131397, r=dbaron, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116810 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:09:15 +00:00
karnaze%netscape.com
009e7ede52 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
blythe%netscape.com
bc94a17a37 Fix bug 120422
r=dbaron,rs=hyatt
Do not delete ref counted object.


git-svn-id: svn://10.0.0.236/trunk@112706 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 18:28:25 +00:00
bzbarsky%mit.edu
ad1fb22926 Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
dbaron%fas.harvard.edu
764654ae65 Fix inspector link errors by adding a method on nsICSSStyleRule that forwards GetValue to nsCSSDeclaration.
git-svn-id: svn://10.0.0.236/trunk@112260 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 01:34:47 +00:00
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
brade%netscape.com
39059cb173 remove unused statics kCSSBreaksSID and kCSSPageSID for gain of 32 bytes (bug 117927; r/sr=jst,darin)
git-svn-id: svn://10.0.0.236/trunk@111815 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:08:36 +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
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
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
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
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
b7714209d4 Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105813 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:02:39 +00:00
bzbarsky%mit.edu
c17db72087 Last checkin was r=pierre, sr=jst
git-svn-id: svn://10.0.0.236/trunk@105770 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu
ee4bb498aa Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815


git-svn-id: svn://10.0.0.236/trunk@105769 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 13:50:30 +00:00
dbaron%fas.harvard.edu
1382ac90eb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +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
hewitt%netscape.com
f15e8fc2e2 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103733 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:17:00 +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
bzbarsky%mit.edu
75407cbbca Implement the parentRule property of CSS rules. Bug 37470, r=pierre,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@103197 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 14:16:34 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
hyatt%netscape.com
d5f1d5af70 Fix for 71471. r=blake, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@100159 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 00:09:27 +00:00
jst%netscape.com
21ce7f8ced Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99476 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 07:48:12 +00:00
dbaron%fas.harvard.edu
ee486fee11 Fix BiDi regression from style system landing by correcting implementation of 'unicode-bidi' to be a non-inherited property, correctly mapping attributes to it, splitting text frames with both strong RTL and LTR characters, and stripping BiDi control characters. Code by me and lkemmel@il.ibm.com r=simon@softel.co.il sr=hyatt b=83958
git-svn-id: svn://10.0.0.236/trunk@98239 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 03:15:58 +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
ftang%netscape.com
4cc3945877 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable


git-svn-id: svn://10.0.0.236/trunk@95132 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 13:40:08 +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
pierre%netscape.com
287fc1dc9e 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@93798 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 13:20:48 +00:00
pierre%netscape.com
0583c197e4 78541 Typos in nsCSSStyleRule.cpp. Fix by sfraser, r=valeski.
git-svn-id: svn://10.0.0.236/trunk@93779 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 07:39:57 +00:00
pierre%netscape.com
dd850a3666 14448 'border' property not resetting 'border-color' to initial value. tested=dbaron/hixie
git-svn-id: svn://10.0.0.236/trunk@93636 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:31:31 +00:00
mjudge%netscape.com
0c91e5ea8d needed PR_MIN and MAX bustage
git-svn-id: svn://10.0.0.236/trunk@92621 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 00:33:23 +00:00