Matt Woodrow
f00688318f
Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron
2011-07-23 10:28:07 +12:00
Boris Zbarsky
6ae99aa202
Bug 597291. Create nsIURI objects lazily for nsCSSValue::URL, so that we don't pay the cost of creating the ones we don't actually need. r=dbaron
...
In the new setup, the mURL member of nsCSSValue::URL stores either the actual URI pointed to or the base URI; a boolean flag keeps track of which is stored. Consumers use GetURI() to get the URI instead of raw access to mURI, and GetURI calls NS_NewURI as needed.
2011-05-11 11:28:53 -04:00
L. David Baron
9f841c864a
Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky
2011-04-11 23:18:42 -07:00
L. David Baron
012f77a7a9
Move nsCSSCornerSizes from nsCSSStruct.h/cpp to nsCSSValue.h/cpp. (Bug 645620, patch 3) r=bzbarsky
2011-03-28 16:07:26 -07:00
Daniel Holbert
59aec5e3a8
Bug 615977: Make nsCSSValue::BufferFromString() return an already_AddRefed pointer. r=dbaron a=roc
...
--HG--
extra : rebase_source : b4048d8fbde522f05a01df693887e0e26a5afb97
2010-12-05 13:17:29 +00:00
L. David Baron
63b684953a
Add a fallible version of nsCSSValue::Array::Create. (Bug 520234) r=bzbarsky a=blocking2.0:beta7
2010-09-15 08:11:26 -07:00
L. David Baron
fa356d0a17
Remove support for min() and max() in calc(): remove support for parsing and storage. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:12 -07:00
Zack Weinberg
56198f48ed
Bug 576044 (11/12): Make all assertions fatal in Declaration.h, Declaration.cpp, nsCSSDataBlock.h, nsCSSDataBlock.cpp, nsCSSValue.h, nsCSSValue.cpp, nsCSSProps.h, and nsCSSProps.cpp. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
a5a3802007
Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
0251ba5a66
Bug 576044 (4/12): eliminate ValuePairList as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
e0203804f9
Bug 576044 (3/12): eliminate Rect as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
5922bd1bb5
Bug 576044 (2/12): eliminate ValuePair as a storage type. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Zack Weinberg
e93186d2e7
Bug 576044 (1/12): Move all the CSS 'storage types' (rect, value pair, etc) to nsCSSValue.h and their code to nsCSSValue.cpp. r=dbaron a2.0=dbaron
2010-08-19 15:33:43 -04:00
Robert O'Callahan
dc13662908
Bug 537890. Part 5: Make pc, in, mm and cm be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
907d0109b7
Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
b7df1787ef
Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:01 +12:00
Robert O'Callahan
f8dc984ede
Backing out bug 584282 and bug 537890
2010-08-14 02:35:06 +12:00
Markus Stange
3df2a2ce8e
Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron
2010-08-13 15:33:37 +02:00
Zack Weinberg
b87b69a229
Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron
2010-07-23 11:00:27 -07:00
Robert O'Callahan
3e8e830840
Bug 537890. Part 5: Make pc, in, mm and cm be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
bd0e4c32ea
Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
973ebcc0ad
Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:01 +12:00
L. David Baron
0406e75bdd
Adjust comment as followup to bug 574059.
2010-06-26 11:58:06 -07:00
L. David Baron
cfa59de4bb
Don't bother with 16-bit reference count and index in nsCSSValue::Array. (Bug 574059) r=bzbarsky
2010-06-24 14:53:44 -07:00
L. David Baron
569d038ee5
Implement storage of calc() expressions in nsCSSValue. (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
Zack Weinberg
8a88b3f08f
Eliminate NS_HIDDEN and NS_HIDDEN_ from layout/style/. Search-and-replace plus formatting fixes. rs=bzbarsky, no bug.
2010-04-06 14:52:17 -07:00
Ehren Metcalfe
e0ac5d5547
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
Daniel Holbert
55760b9bc8
Bug 551298, patch C bustage-followup: Use fully qualified class name when logging AddRefs names to prevent name-collision in bloat hash map.
2010-04-01 11:05:40 -07:00
Daniel Holbert
aa26889b7f
Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc
2010-04-01 11:05:40 -07:00
Daniel Holbert
17d9b970b2
Backed out changeset afcaf3670c21 (Bug 551298) due to Linux debug mochitest-5 orange
2010-04-01 09:37:59 -07:00
Daniel Holbert
83bf8f3bd3
Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc
2010-04-01 08:08:51 -07:00
Zack Weinberg
951c3c0079
Typo fix in an assertion expression in nsCSSValue.h (from bug 513395)
...
--HG--
extra : rebase_source : a522a501688af566c8a7a937a240a1afc42ddafc
2009-11-03 12:17:17 -08:00
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dbd6355ce6
Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes
2009-11-02 11:36:43 -08:00
L. David Baron
fcf766ba60
nsCSSValue constructor taking nscolor is a bad idea since nscolor is just PRInt32. (Bug 521350) r=bzbarsky
2009-10-13 19:38:20 -07:00
Ryo Kawaguchi
54bb0a0d80
Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron
2009-08-21 13:39:25 -07:00
Jonathon Jongsma ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
219a2fe88e
Implement CSS transitions: implement the parsing and computation of the transition properties. (Bug 435441) r=bzbarsky
2009-08-20 14:52:47 -07:00
Michael Ventnor
8ae6cd75f4
Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron
2009-08-01 08:53:40 -07:00
Dão Gottwald
bf4108370b
Backed out changeset c086fca6fc55
2009-07-31 14:35:48 +02:00
Michael Ventnor
61ed5fe1e2
Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc
2009-07-31 13:32:32 +02:00
Boris Zbarsky
f51e72add0
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
2009-06-16 15:05:12 -07:00
L. David Baron
d2e251ca18
Remove internal support for units that were never in CSS (feet, miles, meters, kilometers, didots, ciceros). (Bug 482146) r+sr=bzbarsky
2009-03-09 16:14:34 -07:00
L. David Baron
2a6e824389
Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
bba8cd7162
Ensure correct alignment for nsCSSValue objects inside nsCSSValue::Array. (Bug 476345) r+sr=bzbarsky
2009-02-04 21:15:52 -08:00
L. David Baron
fcbf73fc67
Backed out changeset d9eff1fb5e60 (bug 476345) due to Windows bustage.
2009-02-04 14:39:23 -08:00
L. David Baron
d15db11845
Ensure correct alignment for nsCSSValue objects inside nsCSSValue::Array. (Bug 476345) r+sr=bzbarsky
2009-02-04 13:24:17 -08:00
Keith Rarick
7073f11143
Implement 'rem' unit from css3-values. (Bug 472195) r+sr=dbaron
2009-01-20 13:58:48 -08:00
L. David Baron
d11612b0aa
Distinguish clip:rect(auto,auto,auto,auto) from clip:auto as the spec requires. (Bug 372063) r+sr=bzbarsky
2008-12-29 10:07:38 -05:00
L. David Baron
d67ed87895
Better handling of overflowing integer values. (Bug 440230) r+sr=roc
2008-12-27 20:58:14 -05:00
L. David Baron
3e2cdc7772
Remove some unreachable stub code for en (half an em) and cap (cap-height metric of font) units that we never create. (Bug 458878) r+sr=bzbarsky a=blocking1.9.1+
2008-12-04 08:09:53 -08:00
Mats Palmgren
e16b0a1810
Use iterative algorithms when cloning and deleting lists. b=456196 r+sr=dbaron
2008-10-17 10:13:16 +02:00
Boris Zbarsky
76173c2650
Bug 452969. Drop native theming for controls that inherit user-specified values. r+sr=dbaron
2008-10-07 14:53:22 -04:00
Keith Schwarz
dc907e1ec7
Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc
2008-09-13 21:42:11 +12:00
Zack Weinberg
da518d1e9a
Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron
2008-08-07 19:15:40 -04:00
Johnny Stenback
f9dab07ed0
Better handling of overflowing integer values. r+sr=roc@ocallahan.org, a=beltzner@mozilla.com
2008-07-01 15:46:12 -07:00
dbaron@dbaron.org
a03c0aa905
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
dbaron@dbaron.org
0fd2f5d010
Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep
2008-02-08 11:51:41 -08:00
reed@reedloden.com
1d602b3c42
Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc]
2008-01-01 02:11:02 -08:00
dbaron@dbaron.org
7415f81dc3
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
dbaron@dbaron.org
7b0d849066
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
bzbarsky@mit.edu
a6139746d4
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.
2007-07-18 14:56:57 -07:00
jwalden@mit.edu
e3c4baccae
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
gavin@gavinsharp.com
a60fe167e5
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
dbaron@dbaron.org
00f940f9de
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
dbaron@dbaron.org
ce027d98d6
Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
2007-05-10 23:00:26 -07:00
bzbarsky@mit.edu
5a139c8a8d
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
benjamin@smedbergs.us
2e25a321f8
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
2007-04-23 07:21:53 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00