55 Commits

Author SHA1 Message Date
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
caillon%returnzero.com
c56a306976 Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@117209 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 20:18:42 +00:00
bzbarsky%mit.edu
e998568382 "More computed style property implementations". Bug 129843, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@116723 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 17:04:35 +00:00
bzbarsky%mit.edu
92cd4ef616 XBL expects computed -moz-binding to not have "url()" and to be empty
string for no binding.  Bug 128428 redux, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=shaver,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@116460 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 02:33:09 +00:00
bzbarsky%mit.edu
e74ceedc1d Implement directional, list, cursor properties. Bug 128428, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@116422 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 21:16:22 +00:00
bzbarsky%mit.edu
884cc3df92 Shrink nsROCSSPrimitiveValue and add support for CSS_NUMBER type. Bug
129469, r=caillon, sr=jst, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116158 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 19:04:15 +00:00
bzbarsky%mit.edu
6cd8bbc150 Implement getComputedStyle for text properties. Bug 126319, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi,
a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115682 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:44:41 +00:00
timeless%mac.com
c0e0ef41ce Bug 125778 Implement getComputedStyle() for {min|max}-{height|width} properties
patch by caillon@returnzero.com r=bzbarsky sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114819 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:54:15 +00:00
cbiesinger%web.de
ffe7bd2072 bug 125716 r=bzbarsky sr=attinasi patch by caillon@returnzero.com
Implement getComputedStyle() for 'overflow' property


git-svn-id: svn://10.0.0.236/trunk@114691 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 13:16:10 +00:00
bzbarsky%mit.edu
ed5639cb0b Make computed border-style and float be "none" by default. Bugs 120982
and 120965, patch by Christopher Aillon <caillon@returnzero.com>,
r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@112730 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 21:19:21 +00:00
bzbarsky%mit.edu
5c0d8738e5 computed list-style-image should be "none" if there is no image. Bug
120719, r=hixie, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@112651 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 04:22:59 +00:00
bzbarsky%mit.edu
b7de1b681f Implement computed position and clip, make computed style not round
values, fix font-style to say "normal" instead of "", and some random
cleanup.  Bugs 116032, 116033, 94080, 98052


git-svn-id: svn://10.0.0.236/trunk@111897 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 00:15:55 +00:00
bzbarsky%mit.edu
71baca7741 Fix assertions when getting computed -moz-outline-width and
-moz-marker-offset and enable these in Inspector.  Bug 114086, r=fabian,
sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111780 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 02:20:17 +00:00
rbs%maths.uq.edu.au
13b4696963 Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111752 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 00:04:35 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 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
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
glazman%netscape.com
d430c2f52d oops, forgot to remove variable in previous check-in; b=95062, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110888 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:21:01 +00:00
glazman%netscape.com
76e810cc78 computed style for text-decoration was always answering ""; b=95062, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110887 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:15:32 +00:00
bzbarsky%mit.edu
49ffcb2809 Re-enable inspector showing positioning values. Bug 113863, r=timeless,
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@109878 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:29:53 +00:00
bzbarsky%mit.edu
bcc3a4a7b2 Fix computed positioning style for static elements and computed
z-index.  Bug 109523, r=glazou, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@109861 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:15:54 +00:00
bzbarsky%mit.edu
d414acca70 Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst
git-svn-id: svn://10.0.0.236/trunk@109474 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:28:48 +00:00
alecf%netscape.com
bf4d9b0e6e first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake
git-svn-id: svn://10.0.0.236/trunk@109022 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:13:53 +00:00
bzbarsky%mit.edu
7d6358f8fc Fix getComputedStyle() position/size calculations. Bug 84599 and bug
94855, r=glazou, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107832 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 17:29:04 +00:00
jaggernaut%netscape.com
9e8f600926 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
pierre%netscape.com
e21200cd23 97052 "getComputedStyle returns default value for border width when there is no border". GetBorderWidthFor() now returns 0 if NS_STYLE_BORDER_STYLE_NONE. r=bzbarsky / sr=jst
git-svn-id: svn://10.0.0.236/trunk@105567 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:05:05 +00:00
glazman%netscape.com
6766836155 fixing erroneous DOM 2 name for bug 101925; rs=jst
git-svn-id: svn://10.0.0.236/trunk@104109 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 14:11:05 +00:00
glazman%netscape.com
3262227926 implements getComputedStyle() for float property + bad next-line argument indentation cleanup ; b=101925, r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@104092 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 07:39:41 +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
d015d63bf1 Make getComputedStyle remove the extra default font that we add to the end of the font-family list so it returns the original computed value. b=94078 r=hyatt sr=jst
git-svn-id: svn://10.0.0.236/trunk@102506 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 02:28:10 +00:00
glazman%netscape.com
99716e4ffe getComputedStyle answered for background-color #ffffff instead of transparent; b=97771, r=pierre, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102395 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 08:20:50 +00:00
harishd%netscape.com
065f184032 83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
84000 - Preserve NOFRAMES content - patch submitted by scoda@alias.it. r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.


git-svn-id: svn://10.0.0.236/trunk@100508 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 19:05:21 +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
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
jst%netscape.com
535c86019d scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
glazman%netscape.com
e8a9d2d00d ViewCSS.getComputedStyle() returns empty list; b=62697, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@94881 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 11:23:53 +00:00
harishd%netscape.com
79bb25c122 77746 - Remove style from the style stack on encountering the appropritate end tag.
78202 - Added text-decoration property for GetComputedStyle.
26347 - Anchor ( special element ) should be able to close phrasel elements
78140 - Putting back list-style-image support for getComputedStyle that got removed accidently.

r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@94319 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 03:29:09 +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
glazman%netscape.com
8ed00123b0 getComputedStyle was not implemented for text-align property; b=78709, r=harishd, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@93929 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 11:30:34 +00:00
harishd%netscape.com
0cf651600f 71942 - Intialize the ptr to fix the crash.
49942 - Should not include parent when absolutely positioned.
Added border color property.
r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@90800 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:08:48 +00:00
harishd%netscape.com
3d56080aec Correcting indentation.
git-svn-id: svn://10.0.0.236/trunk@89301 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 21:07:33 +00:00
harishd%netscape.com
8ce4c74473 Indendation got messed up...somehow! CORRECTING.
git-svn-id: svn://10.0.0.236/trunk@89300 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 21:03:08 +00:00
harishd%netscape.com
f755934606 69826 - Flush conten model to access named items
Fixed an assertion.
Added a few more properties for getComputedStyle and did some clean up.
r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@89299 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 20:47:06 +00:00
law%netscape.com
fd61bad6b7 Part of bug 57576; adding support for getting list-style-image; r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@88861 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:55:01 +00:00
harishd%netscape.com
51479e52fd Correcting an error.
r=heikki


git-svn-id: svn://10.0.0.236/trunk@88436 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:54:53 +00:00
harishd%netscape.com
29c29db267 Added more properties(font,background,padding,border,z-index..etc) for getComputedStyle().
r=heikki,sr=jst.


git-svn-id: svn://10.0.0.236/trunk@88434 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:44:19 +00:00
pierre%netscape.com
8944a57fe0 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.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +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
jst%netscape.com
6af64ec54b Fixing nsbeta2+ bug 39892. Adding support for getting the computed value of the 'behavior' property with getComputedStyle(). r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72155 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:06:36 +00:00