Commit Graph
350 Commits
Author SHA1 Message Date
Zack Weinberg 08508030ed Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-07 19:15:40 -04:00
8580c8c016 Don't do floating point assignment from uninitialized data, since it can crash. b=422011 r+sr=bzbarsky a=damon 2008-03-12 15:05:27 -07:00
fa0251bc13 Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep 2008-02-08 11:51:41 -08:00
3b6b080a64 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 2007-10-08 16:11:01 -07:00
660e891b0e Attempt to fix test failures from bug 382027. 2007-08-28 00:29:03 -07:00
a202eaf322 Fix accounting showing leak of CSS value types, and optimize CSS value constructors/destructors a bit. b=382027 r+sr=bzbarsky a1.9=roc 2007-08-27 23:47:32 -07:00
6d2372cd52 Checking in missing file. Bug 204140 2007-07-18 15:17:30 -07:00
98de634631 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. 2007-07-08 00:08:04 -07:00
9a75c30b05 Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
2b4d12fd54 Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron 2007-07-03 06:59:02 -07:00
ee8f140282 Rewrite handling of CSS system fonts to fix bugs in cascading and serialization. b=377947 r+sr=bzbarsky 2007-06-12 11:28:56 -07:00
9e4b29a9ba Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
[email protected] 2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
[email protected] f0a555f582 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
2006-12-13 15:49:36 +00:00
[email protected] bb9b869089 bug 349170. nsCSSValue should use nsMemory allocators. r+sr=bz 2006-08-25 03:27:47 +00:00
[email protected] 3db7b045a0 Remove unused (and sometimes buggy) DEBUG code. b=336323 r+sr=bzbarsky 2006-05-03 04:26:28 +00:00
[email protected] bdeea6cda8 File comments that show up in LXR and provide a quick summary of what's in each file. 2006-03-25 05:47:31 +00:00
[email protected] 0c1b6b83b2 backing out 205001 as it broke Windows printing. r=dbaron 2006-02-21 22:56:02 +00:00
[email protected] 55ae5e4153 Bug 205001 the print scale is ignored at using CSS absolute length unit r=dbaron, sr=roc 2006-02-20 09:38:54 +00:00
[email protected] a685f1e09c check a pref to determine whether CSS background images should block onload
(instead of an env var)
bug 299681 patch by Christian Persch <[email protected]> r+sr=roc a=bsmedberg
2005-07-15 21:19:04 +00:00
[email protected] 056d02e7b7 Reduce code duplication between assignment operator and copy constructor and improve assignment operator. b=288707 r+sr=bzbarsky 2005-04-03 16:47:01 +00:00
[email protected] 4a88021355 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
[email protected] f5ac94c020 Fix DOM round-tripping of -moz-initial. b=219903 r+sr=bzbarsky 2004-12-04 22:10:07 +00:00
[email protected] 8eefc77d32 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-08-04 03:23:37 +00:00
[email protected] 7bf96a5781 Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin 2004-07-14 21:56:23 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] 2937c334ea Fix permissions check for CSS background images, again. Bug 243948, patch by
[email protected], r+sr=bzbarsky
2004-05-19 04:22:05 +00:00
[email protected] cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
[email protected] ba963c4d3e 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
2004-03-09 03:57:51 +00:00
[email protected] ac78a06ed5 Fix overuse of inlining in nsCSSValue. r=bryner b=224165 2003-12-29 19:07:53 +00:00
[email protected] fe3c6a6211 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
[email protected] af459c90a8 Backing out previous checkin. 2003-10-30 05:11:21 +00:00
[email protected] 8fffc85b73 Rearrange inlining to fix codesize penalty of previous checkin. b=167262 r=bryner 2003-10-30 04:34:01 +00:00
[email protected] bbd940533c Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky 2003-10-30 01:45:37 +00:00
[email protected] 157963efa9 Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
[email protected] 6a73e05779 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
[email protected] 5ba3ff1a0d License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
[email protected] dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
[email protected] 25edbb9354 Checking in changes needed for splitting layout into two separate libraries. [email protected], [email protected]. Not part of the default build yet. 2001-02-19 12:55:42 +00:00
[email protected] 3ba32f670e 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
[email protected] c632084aba Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618) 2000-06-06 09:36:12 +00:00
[email protected] b713aaab7c Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618. 2000-06-06 06:50:21 +00:00
[email protected] a256edb1f2 Bug 41321. Use PRUnichar* instead of nsString* to store string values for nsCSSValue and nsHTMLValue. r=attinasi. 2000-06-02 22:54:35 +00:00
[email protected] dce90dfaff making string conversions explicit 2000-04-15 21:18:29 +00:00
[email protected] 796280940b updated license boilerplate to xPL 1.1, [email protected],[email protected] 1999-11-06 03:40:37 +00:00
[email protected] 618e913fae added char unit output support 1999-07-24 19:00:42 +00:00
[email protected] 9e85bf80ec added char support
update to new property and keyword enums and apis
removed warnings
1999-07-18 00:28:43 +00:00
[email protected] 36e8450082 added missing ToString case 1999-02-10 08:36:37 +00:00
[email protected] 884850f407 added new value types 1998-10-26 23:19:59 +00:00
[email protected] 0276f71a82 moved from nsCSSDeclaration 1998-10-08 01:29:29 +00:00