dbaron@dbaron.org
f98e358469
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
bryner@netscape.com
4486f8d13d
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
bryner@netscape.com
ba58162e96
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
cbiesinger@web.de
21333134c5
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
2003-01-17 12:09:23 +00:00
caillon@returnzero.com
1169b8baa0
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
2003-01-17 09:33:52 +00:00
caillon@returnzero.com
09c769db0a
use nsCOMArray instead of nsISupportsArray. r+sr=bzbarsky b=188600
2003-01-11 10:28:37 +00:00
dbaron@dbaron.org
de2ef0e385
Correctly report 'transparent' for -moz-border-*-colors. b=188465 r=caillon sr=bzbarsky
2003-01-10 19:49:24 +00:00
dbaron@dbaron.org
ee4a57c249
Report 'transparent' border color correctly. b=188465 r=caillon sr=bzbarsky
2003-01-10 15:55:27 +00:00
dbaron@dbaron.org
47922f2a26
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
2003-01-08 19:24:38 +00:00
peterv@netscape.com
a286b2a9ae
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
bzbarsky@mit.edu
bab76924a6
Margin/padding computations need to flush the reflow queue. Bug 173354,
...
r=caillon, sr=heikki, a=asa.
2002-10-16 03:38:52 +00:00
caillon@returnzero.com
0d9875f0a1
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
2002-10-08 10:24:53 +00:00
dbaron@fas.harvard.edu
0cc312539d
Attempt to fix mach-o bustage. b=172207
2002-10-08 03:58:32 +00:00
caillon@returnzero.com
314e58a411
More footprint work; Axing the large switch statement in GetPropertyCSSValue()
...
bug 172207 r=bzbarsky sr=alecf
2002-10-08 01:53:31 +00:00
caillon@returnzero.com
4e71df6daa
Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
...
r=dbaron sr=alecf
2002-10-03 19:41:42 +00:00
dbaron@fas.harvard.edu
caf11f4a59
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
2002-09-30 14:46:56 +00:00
caillon@returnzero.com
1043c715bf
Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
...
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
dougt@netscape.com
46ce738546
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
jst@netscape.com
99d69462a3
Whitespace cleanup, no code changes. r/sr/a=me!
2002-09-07 01:48:39 +00:00
caillon@returnzero.com
d64cb38296
Remove an unneeded check: unsigned ints are always >= 0.
...
Bug 166364; r=sicking; sr=jst
2002-09-04 02:15:35 +00:00
caillon@returnzero.com
a2e088d502
* 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
2002-07-08 07:11:59 +00:00
caillon@returnzero.com
3f8ecb676b
Bug 153044. Computed style implementation for some -moz-border-radius properties.
...
r=bzbarsky
sr=jst
2002-06-21 06:42:21 +00:00
bzbarsky@mit.edu
75a25b196a
make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi
2002-05-09 20:05:25 +00:00
caillon@returnzero.com
9b1cb9689f
139343, zapping build warnings from computed style. r=bzbarsky,sr=jst
2002-04-26 18:10:14 +00:00
caillon@returnzero.com
34e168b0e8
Bug 113273. Implement computed style for '-moz-appearance', '-moz-box-*', '-moz-float-edge', and '-moz-user-*'. r=bzbarsky, sr=jst
2002-04-20 14:30:57 +00:00
caillon@returnzero.com
7513253180
Bug 137297. Alphabetize computed style's queryableProperties list. r=bzbarsky, sr=hewitt
2002-04-17 14:30:58 +00:00
dbaron@fas.harvard.edu
d1856f6f91
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
2002-03-31 16:59:00 +00:00
dbaron@fas.harvard.edu
6a73e05779
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-23 22:56:05 +00:00
caillon@returnzero.com
0eadd66fb9
Bug 119807, Computed color values should support getRGBColorValue(). r=bzbarsky, sr=jst, a=asa
2002-03-22 20:18:42 +00:00
bzbarsky@mit.edu
4b400ae65c
"More computed style property implementations". Bug 129843, patch by
...
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi, a=dbaron
2002-03-16 17:04:35 +00:00
bzbarsky@mit.edu
51f628da42
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
2002-03-13 02:33:09 +00:00
bzbarsky@mit.edu
554d15539f
Implement directional, list, cursor properties. Bug 128428, patch by
...
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=jst, a=asa
2002-03-12 21:16:22 +00:00
bzbarsky@mit.edu
7db0f88c64
Shrink nsROCSSPrimitiveValue and add support for CSS_NUMBER type. Bug
...
129469, r=caillon, sr=jst, a=roc+moz
2002-03-08 19:04:15 +00:00
bzbarsky@mit.edu
2274169482
Implement getComputedStyle for text properties. Bug 126319, patch by
...
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi,
a=roc+moz
2002-03-03 19:44:41 +00:00
timeless@mac.com
2004ec21eb
Bug 125778 Implement getComputedStyle() for {min|max}-{height|width} properties
...
patch by caillon@returnzero.com r=bzbarsky sr=attinasi
2002-02-18 22:54:15 +00:00
cbiesinger@web.de
2b31edfb59
bug 125716 r=bzbarsky sr=attinasi patch by caillon@returnzero.com
...
Implement getComputedStyle() for 'overflow' property
2002-02-16 13:16:10 +00:00
bzbarsky@mit.edu
0713ee4c92
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
2002-01-24 21:19:21 +00:00
bzbarsky@mit.edu
6d286610b6
computed list-style-image should be "none" if there is no image. Bug
...
120719, r=hixie, sr=attinasi
2002-01-24 04:22:59 +00:00
bzbarsky@mit.edu
ea58d25799
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
2002-01-11 00:15:55 +00:00
bzbarsky@mit.edu
dec5e8e69a
Fix assertions when getting computed -moz-outline-width and
...
-moz-marker-offset and enable these in Inspector. Bug 114086, r=fabian,
sr=attinasi
2002-01-10 02:20:17 +00:00
rbs@maths.uq.edu.au
8c71fdace7
Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson
2002-01-10 00:04:35 +00:00
dbaron@fas.harvard.edu
edc54e6926
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
2002-01-07 23:46:07 +00:00
glazman@netscape.com
acb1b60a49
oops, forgot to remove variable in previous check-in; b=95062, r=peterv, sr=jst
2001-12-20 11:21:01 +00:00
glazman@netscape.com
db7fdcdb53
computed style for text-decoration was always answering ""; b=95062, r=peterv, sr=jst
2001-12-20 11:15:32 +00:00
bzbarsky@mit.edu
53123c2e5a
Re-enable inspector showing positioning values. Bug 113863, r=timeless,
...
sr=hewitt
2001-12-06 22:29:53 +00:00
bzbarsky@mit.edu
3cdb0dbc4e
Fix computed positioning style for static elements and computed
...
z-index. Bug 109523, r=glazou, sr=attinasi
2001-12-06 21:15:54 +00:00
bzbarsky@mit.edu
e5f454b260
Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst
2001-12-02 00:28:48 +00:00
alecf@netscape.com
d2eb83eb99
first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake
2001-11-27 21:13:53 +00:00
bzbarsky@mit.edu
42f54e5972
Fix getComputedStyle() position/size calculations. Bug 84599 and bug
...
94855, r=glazou, sr=attinasi
2001-11-10 17:29:04 +00:00
jaggernaut@netscape.com
5c8ab4acf0
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
2001-10-27 06:44:19 +00:00