bryner%brianryner.com
978d05c917
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
roc+%cs.cmu.edu
c0bc42c584
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
bzbarsky%mit.edu
67e7a64c5d
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145285 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:17:26 +00:00
jaggernaut%netscape.com
df747d0621
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
dbaron%dbaron.org
401c86df69
Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@144730 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:44:25 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org
bf4ec31727
Put more information on the CSS properties in nsCSSPropList.h.
...
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification. Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143421 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 22:14:42 +00:00
dbaron%dbaron.org
69da9d4a19
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
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bryner%netscape.com
0c66a2052e
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.
git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
bryner%netscape.com
c44337949a
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.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
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