bzbarsky%mit.edu
c0cd260b34
Bug 495798. Drop native theming for controls styled with transparent backgrounds, even if the user said to not use the page colors. r+sr=dbaron, a=ss
...
git-svn-id: svn://10.0.0.236/trunk@257515 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-17 00:36:23 +00:00
jst%mozilla.org
decf3e3822
Better handling of overflowing integer values. r+sr=roc@ocallahan.org, a=beltzner@mozilla.com
...
git-svn-id: svn://10.0.0.236/trunk@252758 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-01 22:51:43 +00:00
dbaron%dbaron.org
4e38878e9e
Don't do floating point assignment from uninitialized data, since it can crash. b=422011 r+sr=bzbarsky a=damon
...
git-svn-id: svn://10.0.0.236/trunk@247686 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 22:05:27 +00:00
dbaron%dbaron.org
53a15aec19
Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@245249 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 19:51:41 +00:00
reed%reedloden.com
dda31ecdc2
Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc]
...
git-svn-id: svn://10.0.0.236/trunk@242241 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-01 10:11:08 +00:00
dbaron%dbaron.org
2183eba510
Make IsWidgetStyled use style system to really check whether author styled borders or backgrounds, rather than depending on default values in forms.css. b=240117 r+sr=bzbarsky a=roc
...
git-svn-id: svn://10.0.0.236/trunk@237429 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 23:11:02 +00:00
dbaron%dbaron.org
084f9cd22e
Fix accounting showing leak of CSS value types, and optimize CSS value constructors/destructors a bit. b=382027 r+sr=bzbarsky a1.9=roc
...
git-svn-id: svn://10.0.0.236/trunk@233194 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 06:47:32 +00:00
bzbarsky%mit.edu
4738c3572d
Propagate stylesheet principals through to XBL binding loads; streamline load
...
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo). Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.
In particular, this change allows user stylesheets loaded from local files to
link to local files.
git-svn-id: svn://10.0.0.236/trunk@230242 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:56:58 +00:00
jwalden%mit.edu
dda6ff3c99
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
gavin%gavinsharp.com
05d4064939
Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@229244 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-03 13:59:02 +00:00
dbaron%dbaron.org
0d40d0c7e0
Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@227883 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 18:29:11 +00:00
dbaron%dbaron.org
fd2e86c15a
Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226288 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:00:26 +00:00
bzbarsky%mit.edu
c6a333df55
Propagate a stylesheet's principal to the URI and Image CSSValues derived from
...
that sheet. Bug 377091, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225504 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 01:15:54 +00:00
benjamin%smedbergs.us
7262cdad6d
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
...
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
longsonr%gmail.com
2577bfb047
Bug 368703 û Some methods in layout/style could be const r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@219248 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 13:59:26 +00:00
bzbarsky%mit.edu
f7370ae6b5
Use string buffers to store strings in nsCSSValue so we don't have to alloc in
...
copy constructors and such. Bug 350141, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216939 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 15:49:36 +00:00
sayrer%gmail.com
43bfe6cd65
bug 349170. nsCSSValue should use nsMemory allocators. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@208387 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 03:27:47 +00:00
dbaron%dbaron.org
a2628b4f7a
Remove unused (and sometimes buggy) DEBUG code. b=336323 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@195889 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 04:26:28 +00:00
dbaron%dbaron.org
40f5c57271
Make static some nsCSSDeclaration methods that don't need their this. b=336322 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@195856 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 23:36:17 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
dbaron%dbaron.org
a02fd2d2f8
File comments that show up in LXR and provide a quick summary of what's in each file.
...
git-svn-id: svn://10.0.0.236/trunk@192979 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 05:47:31 +00:00
pavlov%pavlov.net
dffa7cd65d
backing out 205001 as it broke Windows printing. r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@190762 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 22:56:02 +00:00
masayuki%d-toybox.com
4d6c699705
Bug 205001 the print scale is ignored at using CSS absolute length unit r=dbaron, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@190563 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 09:38:54 +00:00
bsmedberg%covad.net
7344fa60e3
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@184392 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 14:43:22 +00:00
dbaron%dbaron.org
72020748e5
Implement CSS2 counters. b=3247 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
dbaron%dbaron.org
ba07da6cf7
Make nsCSSValue constructors explicit and fix obscure regression from rule tree landing. b=256270 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161075 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:55:17 +00:00
dbaron%dbaron.org
f5d5060a41
Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@160331 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 03:23:37 +00:00
bryner%brianryner.com
e372b2e9a3
Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@159199 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:14:34 +00:00
dbaron%dbaron.org
fe80e9ca1c
Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@159195 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:56:23 +00:00
bryner%brianryner.com
fd49d1a9e1
nsCSSValue::Reset does not seem to be inlined with -Os, so adding NS_HIDDEN here as well.
...
git-svn-id: svn://10.0.0.236/trunk@156360 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 17:09:20 +00:00
bryner%brianryner.com
b4bc041626
Apply NS_HIDDEN to nsCSSValue, nsRuleNode, and nsStyleContext based on profiling data showing that these functions have very high call counts. Bug 227537, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@156319 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-12 21:20:09 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
7061c8bb4a
Fixing build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@153728 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 04:28:14 +00:00
bzbarsky%mit.edu
e7ad4f7000
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
dbaron%dbaron.org
e7a4bc980c
Fix overuse of inlining in nsCSSValue. r=bryner b=224165
...
git-svn-id: svn://10.0.0.236/trunk@150770 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-29 19:07:53 +00:00
dbaron%dbaron.org
3e6ac46d96
Backing out previous checkin.
...
git-svn-id: svn://10.0.0.236/trunk@148539 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 05:11:21 +00:00
dbaron%dbaron.org
1da0caa6ae
Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@148536 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 04:34:01 +00:00
dbaron%dbaron.org
ce14bf9e98
Attempt to fix Windows bustage. b=167262
...
git-svn-id: svn://10.0.0.236/trunk@148529 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 03:34:58 +00:00
dbaron%dbaron.org
1a2977b836
Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148494 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 01:45:37 +00:00
dbaron%dbaron.org
37de3855c7
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147501 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 22:53:56 +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
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +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
dougt%netscape.com
1f7520e927
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
...
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
heikki%netscape.com
80b36e2891
Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
...
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +00:00
jst%netscape.com
7e0575bfee
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
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
pierre%netscape.com
b308cf318d
Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618)
...
git-svn-id: svn://10.0.0.236/trunk@71601 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 09:36:12 +00:00
pierre%netscape.com
225e6c27b2
Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618.
...
git-svn-id: svn://10.0.0.236/trunk@71590 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 06:50:21 +00:00