79 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
caillon%returnzero.com
36934e0693 use nsCOMArray instead of nsISupportsArray. r+sr=bzbarsky b=188600
git-svn-id: svn://10.0.0.236/trunk@136195 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-11 10:28:37 +00:00
dbaron%dbaron.org
5ed2c45c4b Correctly report 'transparent' for -moz-border-*-colors. b=188465 r=caillon sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136168 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 19:49:24 +00:00
dbaron%dbaron.org
d931976920 Report 'transparent' border color correctly. b=188465 r=caillon sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136161 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 15:55:27 +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
bzbarsky%mit.edu
b936f80095 Margin/padding computations need to flush the reflow queue. Bug 173354,
r=caillon, sr=heikki, a=asa.


git-svn-id: svn://10.0.0.236/trunk@132066 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 03:38:52 +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
dbaron%fas.harvard.edu
a8ebb4c9a5 Attempt to fix mach-o bustage. b=172207
git-svn-id: svn://10.0.0.236/trunk@131382 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:58:32 +00:00
caillon%returnzero.com
ea24d37b22 More footprint work; Axing the large switch statement in GetPropertyCSSValue()
bug 172207 r=bzbarsky sr=alecf


git-svn-id: svn://10.0.0.236/trunk@131356 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 01:53:31 +00:00
caillon%returnzero.com
6476611c63 Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
r=dbaron sr=alecf


git-svn-id: svn://10.0.0.236/trunk@131084 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 19:41:42 +00:00
dbaron%fas.harvard.edu
6bf02d19fa Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227
git-svn-id: svn://10.0.0.236/trunk@130798 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:46:56 +00:00
caillon%returnzero.com
36e93f89dd Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst


git-svn-id: svn://10.0.0.236/trunk@130500 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 03:46:50 +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
jst%netscape.com
33a6176ec5 Whitespace cleanup, no code changes. r/sr/a=me!
git-svn-id: svn://10.0.0.236/trunk@129023 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 01:48:39 +00:00
caillon%returnzero.com
e66f7c706d Remove an unneeded check: unsigned ints are always >= 0.
Bug 166364; r=sicking; sr=jst


git-svn-id: svn://10.0.0.236/trunk@128791 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 02:15:35 +00:00
caillon%returnzero.com
d17b0d8424 * Implement CSSValueLists and computed -moz-border-{side}-colors
* Get the computed -moz-binding directly from the style context which is faster than getComputedStyle
* Speed up computed style by not QI'ing so much
* Cache the computed style object so we don't keep re-alloc'ing memory for it.
* Shrink ROCSSPrimitiveValue.
* Don't get computed style of non-existant properties.
* Use nsSize instead of nsRect when we only care about height and width
* Other random code cleanup of computed style

Bug 155525
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@124754 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-08 07:11:59 +00:00
caillon%returnzero.com
6584856e59 Bug 153044. Computed style implementation for some -moz-border-radius properties.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@123776 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 06:42:21 +00:00
bzbarsky%mit.edu
0985b9ce27 make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121183 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:05:25 +00:00
caillon%returnzero.com
5681d9fb51 139343, zapping build warnings from computed style. r=bzbarsky,sr=jst
git-svn-id: svn://10.0.0.236/trunk@119972 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 18:10:14 +00:00
caillon%returnzero.com
55ddf331b7 Bug 113273. Implement computed style for '-moz-appearance', '-moz-box-*', '-moz-float-edge', and '-moz-user-*'. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@119490 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 14:30:57 +00:00
caillon%returnzero.com
10ff83b247 Bug 137297. Alphabetize computed style's queryableProperties list. r=bzbarsky, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@119231 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 14:30:58 +00:00
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +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
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