11 Commits

Author SHA1 Message Date
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
caillon%returnzero.com
1c8e700439 Attempting to fix Windows bustage
git-svn-id: svn://10.0.0.236/trunk@131369 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:03:56 +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
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
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
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
dbaron%fas.harvard.edu
71d51343f1 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@117359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 01:08:17 +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