Cameron McCormack
656c0c9f2a
Bug 773296 - Part 23: Support variables in CSSStyleDelcaration methods. r=dbaron
...
This adds support for custom properties on the remainder of the
CSSStyleDeclaration methods.
A shorthand that was specified using a variable reference is serialized
to its originally specified value, rather than by concatenating the
serializations of its longhand components.
A shorthand that was not specified using a variable references but which
has a component longhand that was is serialized to the empty string.
2013-12-12 13:09:46 +11:00
Ehsan Akhgari
61d8f84eb7
Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
...
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Ms2ger
8e71491167
Bug 905751 - Don't include binding headers in ns{I,DOM}CSSDeclaration.h; r=roc
2013-08-22 08:29:57 +02:00
David Zbarsky
c596ef885a
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Trevor Saunders
544f6807ab
bug 798567 - convert css values to webidl r=bz
2012-10-01 12:49:41 -04:00
Boris Zbarsky
90dce3227b
Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron
2012-10-30 17:14:06 -04:00
Boris Zbarsky
ce2e8bb5cc
Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv
2012-08-23 21:08:08 -07:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Olli Pettay
c992398490
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
Boris Zbarsky
0c79c85561
Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert
2012-07-13 19:59:05 -04:00
David Zbarsky
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Boris Zbarsky
3a47108ff7
Bug 753397. Add a field to nsCSSPropList for a preference that controls the property. r=dbaron
...
The actual controlling is not hooked up yet; that will happen in bug 753522 for
the DOM reflections of properties.
2012-05-09 21:29:37 -04:00
L. David Baron
1b2b92f0f9
Add a header file for CSS property aliases (and temporarily resurrect the aliases whose DOM properties we forgot to remove). (Bug 730532, patch 1) r=bzbarsky
2012-02-24 21:23:14 -08:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Craig Topper
cc15a2a6e3
Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky
2011-04-07 18:23:46 -07:00
Boris Zbarsky
3d5031fd5d
Bug 649163. Stop refcounting the return values from GetCSSParsingEnvironment, where possible. r=dbaron
...
--HG--
extra : rebase_source : 13d75f3954dd1597d58f7741ac8cfc4de51ebe46
2011-04-27 16:53:49 -04:00
L. David Baron
7d0955a692
Share implementation of GetCSSParsingEnvironment so we can use it for both style rules' declarations and keyframe rules' declarations. (Bug 435442, patch 2) r=bzbarsky
2011-04-11 23:18:42 -07:00
L. David Baron
f30ccb969b
Remove the datastruct_ and member_ fields of the CSS_PROP macro. (Bug 645620, patch 5) r=bzbarsky
2011-03-28 16:07:27 -07:00
L. David Baron
6256bf49b3
Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky
2011-03-17 20:14:30 -07:00
L. David Baron
36d847de86
Add 'parsevariant_' parameter to CSS_PROP macro, with all properties initially zero. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
Zack Weinberg
bc4afbe28a
Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00
Craig Topper
8972b3e08e
Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz
2010-08-05 22:32:01 -07:00
Zack Weinberg
a6b8c9b603
Bug 569719 part 16: Don't refcount declarations and data blocks; don't have style rules hold direct pointers to data blocks. r+a=dbaron
2010-07-23 11:00:52 -07:00
Zack Weinberg
b8130b3679
Bug 569719 part 15: Always copy the entire css::Declaration before changing it in any way. r=dbaron
2010-07-23 11:00:49 -07:00
Zack Weinberg
d16aea72e1
Bug 569719 part 14: replace DeclarationChanged() with SetCSSDeclaration(), which takes the new declaration as an argument. r=dbaron
2010-07-23 11:00:47 -07:00
Zack Weinberg
6873de67ec
Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron
2010-07-23 11:00:34 -07:00
Zack Weinberg
b2480f1b17
Bug 569719 part 3: collapse nsDOMCSSDeclaration::ParseDeclaration into its sole caller (nsDOMCSSDeclaration::SetCSSText); remove always-constant flag arguments to nsCSSParser::ParseAndAppendDeclaration; rename that method to ParseDeclarations. r=dbaron
2010-07-23 11:00:19 -07:00
Zack Weinberg
76dbdde0f4
Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
...
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
9c006a4ff7
Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron
2010-06-28 15:49:35 -07:00
Zack Weinberg
63f91528d4
Bug 558235 part 2: Kill CSS2PropertiesTearoff. r=dbaron
2010-07-14 13:58:56 -07:00
Peter Van der Beken
8e3acb1006
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
...
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Mats Palmgren
57a4d3a783
Bug 383488: don't accept trailing tokens in 'value' in style.setProperty(prop,value,"important"). r=dbaron
2010-04-01 23:07:40 -07:00
Peter Van der Beken
e5d87ec5bb
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
...
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Zack Weinberg
2c3e543d1d
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
96887d3f38
Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Robert Longson
79ae710023
Bug 374216 - Setting element.style.someSvgProperty has no effect. r=dbaron,sr=roc
2010-02-06 13:46:54 +00:00
L. David Baron
be8246ace4
Call BeginUpdate before going into the guts of updating a style attribute so that the resulting flush happens sooner. (Bug 522595) r=bzbarsky
2009-12-11 08:13:19 -08:00
Peter Van der Beken
8646309708
Fix for bug 508780 (Stop using tearoff from quickstubs for nsDOMCSSDeclaration/nsComputedDOMStyle), part 2. r=jst.
...
--HG--
extra : rebase_source : 31cf92522c323b3acf062903a4e5c33ed568230c
2009-09-18 15:09:55 +02:00
L. David Baron
d8e13763a7
Rewrap long argument lists to CSS_PROP macros. Whitespace changes only. (Bug 504652)
2009-09-11 06:46:36 -04:00
L. David Baron
411bbcb6dd
Add fields to nsCSSPropList.h for style struct offset and animation type. (Bug 504652) r=bzbarsky
2009-09-11 06:46:36 -04:00
L. David Baron
74af0036e3
Add stylestruct_ parameter to CSS_PROP macro. (Bug 504652) r=bzbarsky
2009-09-11 06:46:36 -04:00
Peter Van der Beken
3145f88586
Part 1 of fix for bug 500850 (Make inline style use wrapper cache and slimwrappers). r/sr=bz.
...
--HG--
extra : rebase_source : 21f9c86dc4024e0e23882226e8395d61d5b0c518
2009-07-13 13:14:57 +02:00
L. David Baron
f533a6676b
Remove the CSS_PROP_NOTIMPLEMENTED macro, which hasn't been needed since bug 3247 landed. (Bug 486353) r+sr=bzbarsky
2009-04-02 07:55:50 -07:00
L. David Baron
1f32659f3e
Backed out changeset eec3076f3bab (Bug 474655, Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called) because we trigger the warning too much ourselves (Bug 475311)
2009-02-04 13:22:45 -08:00
L. David Baron
ec7dae4083
Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called. (Bug 474655) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
84312b4cfc
Add a flags table for CSS properties. (Bug 160403) r+sr=bzbarsky
2008-10-07 15:10:19 -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