Граф коммитов

95 Коммитов

Автор SHA1 Сообщение Дата
roc+%cs.cmu.edu 3bfe589ac4 Bug 210269. Reduce use of SetAttr during reflow. Also, fix up the API that gets the scrollbar dimensions of a scrollframe to always work right for RTL. r+sr=bryner 2004-01-09 19:21:20 +00:00
roc+%cs.cmu.edu e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
dbaron%dbaron.org a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
uid502 91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
dbaron%dbaron.org 5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
bryner%brianryner.com 2fcdb4e2d5 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
roc+%cs.cmu.edu 0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
bzbarsky%mit.edu e2dae4d2f9 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
dbaron%dbaron.org 2fec18446c Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky 2003-07-11 20:44:25 +00:00
caillon%returnzero.com 2df173e9c8 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
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org 0a143da53b 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
2003-06-07 22:14:42 +00:00
dbaron%dbaron.org 75ff60c62f 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 3a3ec0cbd5 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 e43f5a49fd 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 b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
caillon%returnzero.com 8d9098a65a 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 8884383f05 use nsCOMArray instead of nsISupportsArray. r+sr=bzbarsky b=188600 2003-01-11 10:28:37 +00:00
dbaron%dbaron.org d8345512c5 Correctly report 'transparent' for -moz-border-*-colors. b=188465 r=caillon sr=bzbarsky 2003-01-10 19:49:24 +00:00
dbaron%dbaron.org e91def8b7a Report 'transparent' border color correctly. b=188465 r=caillon sr=bzbarsky 2003-01-10 15:55:27 +00:00
dbaron%dbaron.org 48544669f3 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 d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu cd39dd8995 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 5ba9439c07 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 50be3cbecb Attempt to fix mach-o bustage. b=172207 2002-10-08 03:58:32 +00:00
caillon%returnzero.com d8d932cd3f 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 8e992f87ae 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 12c92754b3 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 9061952afd 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 68faeb5241 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 76ab201522 Whitespace cleanup, no code changes. r/sr/a=me! 2002-09-07 01:48:39 +00:00
caillon%returnzero.com 7f92e25158 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 9df8f33a00 * 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 340d2757fc 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 dc80028fdb make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi 2002-05-09 20:05:25 +00:00
caillon%returnzero.com 6517a6882c 139343, zapping build warnings from computed style. r=bzbarsky,sr=jst 2002-04-26 18:10:14 +00:00
caillon%returnzero.com 46d193f1aa 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 dbe5c17f5f Bug 137297. Alphabetize computed style's queryableProperties list. r=bzbarsky, sr=hewitt 2002-04-17 14:30:58 +00:00
dbaron%fas.harvard.edu b350a0fd0f 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 a68d8f9629 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 94df471169 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 fafd4a486b "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 28e6030278 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 e5ff4dcaa4 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 478aa74f47 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 1d0e067ff2 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 ded9284dcc 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 f9fef74165 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 2b73f18d2a 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