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
bzbarsky%mit.edu
149f8f7ffc
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
6d62f6f3cf
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
a37cc134f1
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
11695e8870
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
c9c0a97163
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
c83cc0fa11
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
be01b45922
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
5c40228231
Re-enable inspector showing positioning values. Bug 113863, r=timeless,
...
sr=hewitt
2001-12-06 22:29:53 +00:00
bzbarsky%mit.edu
0a6833ac79
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
cedea67700
Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst
2001-12-02 00:28:48 +00:00
alecf%netscape.com
8e1f300899
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
c255aa1143
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
cad0dc7095
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
pierre%netscape.com
e032fbb506
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
2001-10-17 00:05:05 +00:00
glazman%netscape.com
30ae8ab03f
fixing erroneous DOM 2 name for bug 101925; rs=jst
2001-09-28 14:11:05 +00:00
glazman%netscape.com
7a79a87dce
implements getComputedStyle() for float property + bad next-line argument indentation cleanup ; b=101925, r=bzbarsky, sr=jst
2001-09-28 07:39:41 +00:00
rbs%maths.uq.edu.au
7f1638d039
bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com
2001-09-27 18:33:58 +00:00
gerv%gerv.net
1968b7dad2
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
dbaron%fas.harvard.edu
06944cc30e
Make getComputedStyle remove the extra default font that we add to the end of the font-family list so it returns the original computed value. b=94078 r=hyatt sr=jst
2001-09-07 02:28:10 +00:00
glazman%netscape.com
7d3af61e67
getComputedStyle answered for background-color #ffffff instead of transparent; b=97771, r=pierre, sr=hyatt
2001-09-06 08:20:50 +00:00
harishd%netscape.com
fcbaffa391
83119 - Added support for visibility in GetComputedStyle(). r=heikki,sr=jst.
...
84000 - Preserve NOFRAMES content - patch submitted by scoda@alias.it . r=me, sr=jst.
65467 - DT is an inline element. r=heikki, sr=jst.
88992 - OBJECT should be able to close unclosed block level elements within it. r=heikki, sr=vidur
84491 - IFRAME should be treated similar to NOFRAMES. r=pollmann, sr=vidur
92530 - FORM should behave as a container if the parent is TD or TH. r=heikki,sr=vidur
88243 - For percentage attribute value do not assume that '%' will always be the last character. r=heikki,sr=vidur.
2001-08-07 19:05:21 +00:00
jst%netscape.com
88d48dc0c5
Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
2001-07-18 07:48:12 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
jst%netscape.com
77aeecc056
scc checking in from jst's account. bug #75220 : sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
2001-05-19 11:27:30 +00:00
glazman%netscape.com
73eec2d7f9
ViewCSS.getComputedStyle() returns empty list; b=62697, r=peterv, sr=jst
2001-05-14 11:23:53 +00:00
harishd%netscape.com
50404b6290
77746 - Remove style from the style stack on encountering the appropritate end tag.
...
78202 - Added text-decoration property for GetComputedStyle.
26347 - Anchor ( special element ) should be able to close phrasel elements
78140 - Putting back list-style-image support for getComputedStyle that got removed accidently.
r=heikki
sr=jst
2001-05-09 03:29:09 +00:00
jst%netscape.com
f7460d0269
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 16:46:42 +00:00
glazman%netscape.com
86e10e9db0
getComputedStyle was not implemented for text-align property; b=78709, r=harishd, sr=hyatt
2001-05-04 11:30:34 +00:00
harishd%netscape.com
dd6505f471
71942 - Intialize the ptr to fix the crash.
...
49942 - Should not include parent when absolutely positioned.
Added border color property.
r=heikki
sr=jst
2001-03-30 02:08:48 +00:00
harishd%netscape.com
4bc3faf1f7
Correcting indentation.
2001-03-11 21:07:33 +00:00
harishd%netscape.com
c18b6bd3c6
Indendation got messed up...somehow! CORRECTING.
2001-03-11 21:03:08 +00:00
harishd%netscape.com
f32dd60ff9
69826 - Flush conten model to access named items
...
Fixed an assertion.
Added a few more properties for getComputedStyle and did some clean up.
r=heikki, sr=jst
2001-03-11 20:47:06 +00:00
law%netscape.com
a96fc9cbfa
Part of bug 57576; adding support for getting list-style-image; r=harishd, sr=jst
2001-03-08 00:55:01 +00:00
harishd%netscape.com
8680ff8c03
Correcting an error.
...
r=heikki
2001-03-03 00:54:53 +00:00
harishd%netscape.com
65d723afce
Added more properties(font,background,padding,border,z-index..etc) for getComputedStyle().
...
r=heikki,sr=jst.
2001-03-03 00:44:19 +00:00
pierre%netscape.com
9af01acf22
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00
mcafee%netscape.com
7ecf530933
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
2001-01-25 02:58:12 +00:00
pierre%netscape.com
62bf433a35
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
2001-01-20 22:46:54 +00:00
jst%netscape.com
9abec73fbe
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
jst%netscape.com
eb6d78edaf
Fixing nsbeta2+ bug 39892. Adding support for getting the computed value of the 'behavior' property with getComputedStyle(). r=hyatt
2000-06-14 00:06:36 +00:00
jst%netscape.com
7a7661f01b
Make this a bit safer to use.
2000-05-17 06:26:23 +00:00
jst%netscape.com
11724ca7b8
Hook up new property and fix a crasher.
2000-05-17 06:13:43 +00:00
jst%netscape.com
becea1f607
Adding computed style implementation to the build, and make it compile on windows.
2000-05-17 04:57:50 +00:00
jst%netscape.com
1ecefec3cc
More WIP on getComputedStyle(), not part of the build yet.
2000-05-15 01:59:05 +00:00
jst%netscape.com
5f7ae78da1
New files needed for getComputedStyle(). Not part of the build yet.
2000-05-04 00:07:33 +00:00