L. David Baron
60943056b5
Make gAliases be just an array of ids. (Bug 849656, patch 4) r=bzbarsky
2013-03-13 09:58:39 -07:00
L. David Baron
a87eac66d9
Move enabled state for aliases from gAliases to gPropertyEnabled. (Bug 849656, patch 3) r=bzbarsky
2013-03-13 09:58:39 -07:00
L. David Baron
5f639edc78
Move names for aliases from gAliases into kCSSRawProperties. (Bug 849656, patch 2) r=bzbarsky
2013-03-13 09:58:39 -07:00
L. David Baron
313fd38cc9
Bug 840367: Fix misnaming of keyword IDs in nsCSSKeywordList.h. r=heycam
2013-02-13 11:53:56 -08:00
Jonathan Watt
311968ccaf
Bug 835883 - Give the -moz-orient property an 'auto' value, and make that its initial value. r=dholbert.
2013-02-02 19:13:22 +01:00
Jonathan Kew
3ae2f0561f
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
...
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
Ryan VanderMeulen
5b3f98f172
Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures.
2013-09-13 11:15:54 -04:00
Jonathan Kew
1bb33a7108
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
...
* * *
bug 798843 - recompile svg.woff font to pick up the updated glyph definitions
* * *
bug 798843 - update property_database.js to match the new property names
2013-05-16 14:35:15 +12:00
Chris Peterson
81bf7b134b
Bug 816298 - Part 1: Allow child elements to override -moz-user-select:none. r=ehsan
...
--HG--
extra : rebase_source : f4e08713be0691c25b22510977c978088655ec8b
2013-01-08 16:33:17 -08:00
Ehsan Akhgari
dbaf74bc59
Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary
2013-01-14 16:21:54 -05:00
Ehsan Akhgari
ac66f2835b
Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc
2013-01-05 23:07:27 -05:00
Cameron McCormack
3a091090a1
Bug 793617 - Implement mask-type property. r=dbaron,longsonr
2012-12-21 11:15:22 +11:00
Jonathan Kew
ee53a4beec
bug 774560 pt 2 - implement text-transform:full-width. r=smontagu
2012-11-09 09:43:48 +00:00
Daniel Holbert
651180579f
Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron
2012-10-15 12:42:43 -07:00
Nathan Froyd
47c3eda791
Bug 796279 - remove remaining PR_MAX instances from the tree; r=ehsan
...
We can't use NS_MAX or std::max because we lack uniform constexpr
support across our supported compilers. But we can do a simple inline
max ourselves.
2012-10-01 20:38:21 -04:00
Daniel Holbert
1c3ec77888
Bug 796212 part 2: Make pref "layout.css.flexbox.enabled" control whether -moz-flex and -moz-inline-flex are recognized as valid values for "display" property. r=bz
2012-10-02 22:04:50 -07:00
Ehsan Akhgari
5d0ab6fa28
Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms
2012-10-02 23:16:36 -04:00
Nathan Froyd
65c7ca9722
Bug 796279 - remove remaining PR_MAX instances from the tree; r=ehsan
...
We can't use NS_MAX or std::max because we lack uniform constexpr
support across our supported compilers. But we can do a simple inline
max ourselves.
2012-10-01 20:38:21 -04:00
L. David Baron
233751c6ae
Bug 774169, patch 3: Treat -moz-transform as a shorthand rather than an alias so the parsing function can know whether it is parsing a prefixed transform. r=bzbarsky
2012-09-18 11:37:14 -07:00
Cameron McCormack
09aeb61301
Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron
2012-09-07 15:42:19 +10:00
Edwin Flores
ccb631db79
Bug 719286 - Add support for -moz-objectValue keyword to CSS parser for SVG glyphs r=dbaron
2012-09-06 16:58:47 +12:00
Edwin Flores
0300bf0a15
Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to CSS parser for SVG glyphs r=dbaron
2012-09-06 16:58:46 +12:00
Edwin Flores
cac293e907
Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron
2012-09-06 16:58:46 +12:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04: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
Simon Montagu
07b09b2133
Implement the new CSS property value unicode-bidi: isolate-override. Bug 774335, r=dbaron
2012-08-07 01:42:46 -07:00
Scott Johnson
c5aaabe440
Bug 764567: Implement column-fill part of CSS3 multicol spec, now with regression fixes [r=roc].
2012-07-31 11:21:19 -05:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +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
Masatoshi Kimura
76156293e3
Bug 752187 - Part 9: Implement unprefixed radial-gradient parsing. r=dbaron
2012-07-07 10:27:08 -04:00
Daniel Holbert
b3030a87b0
Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron
2012-07-06 17:06:23 -07:00
Daniel Holbert
31ad14ad8d
Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
b95bbf1e06
Bug 696253, patch 4: implement parsing/computation for CSS property 'align-items'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
be5b7b1e6b
Bug 696253, patch 3: implement parsing/computation for CSS property 'flex-direction'. r=dbaron
2012-07-06 17:06:20 -07:00
Daniel Holbert
d71777623e
Bug 696253, patch 1: implement parsing/computation for CSS property 'justify-content'. r=dbaron
2012-07-06 17:06:19 -07:00
Daniel Holbert
dd5d8688a3
Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz
2012-06-26 15:11:38 -07:00
L. David Baron
16fef30b6a
Implement new values of animation-direction. (Bug 655920) r=bzbarsky
2012-06-21 11:44:34 -07:00
Scott Johnson
d4d53d2412
Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron].
2012-06-13 11:00:56 -05:00
Yoan TEBOUL
76b26d2185
Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc
2012-05-16 12:24:55 +02:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Robert Longson
165f6890cf
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron
2012-05-18 09:33:40 +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
Makoto Kato
6bbd48cb4a
Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu
2012-05-07 12:18:23 -07:00
Lazar Sumar
6fbab0b473
Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron
2012-02-24 21:23:14 -08: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
Zack Weinberg
dc30af584b
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
2012-02-23 08:19:00 -08:00
L. David Baron
ca97f3621e
Drop support for -moz-box-shadow and -moz-border-radius-* now that we've supported the unprefixed versions since Firefox 4. (Bug 693510) r=bzbarsky
2012-02-22 14:14:52 -08:00
Simon Montagu
3ca7ecdbcb
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 19:52:21 +02:00
Ed Morley
2099bb7e42
Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange
2012-01-12 15:33:00 +00:00
Simon Montagu
dec2df3fe1
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 16:29:20 +02:00
Nathan Froyd
eee81c8ef6
Bug 712299 - don't require manual syncing of font data; r=bz
2011-12-20 11:49:16 -05:00
Scott Johnson
31e988481d
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-25 23:25:59 -06:00
William Chen
95cab2faf0
Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
...
--HG--
extra : rebase_source : 5a6cdac6a4b1353170f23f39dd2a209374e72531
2011-12-22 18:34:45 -05:00
Scott Johnson
485a62e28c
Backout changeset 93f523345fb6.
2011-12-20 00:01:32 -06:00
Scott Johnson
9a5c2bc549
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 23:11:54 -06:00
Scott Johnson
d02cda6d85
Backed out changeset 74555805376d
2011-12-19 23:08:52 -06:00
Scott Johnson
5493265dc2
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 22:25:19 -06:00
Ali Juma
07a5d3eb28
Bug 586863 - Eliminate #ifdef GFX_HAS_INVERT blocks since GFX_HAS_INVERT is never defined. r=dbaron
2011-12-09 14:18:05 -05:00
Simon Montagu
5aadea5d7b
Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron
2011-10-18 14:51:57 +02: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
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Matt Woodrow
9207ef81c8
Bug 682919 - Add eCSSKeyword_UNKNOWN terminators to 3d transforms style tables. r=dbaron
2011-10-03 16:59:43 +13:00
Matt Woodrow
bc10d9cf93
Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc
2011-09-30 14:39:40 +13: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
Masayuki Nakano
f15fd02ef4
Bug 669028 part.11 layout/style should use mozilla;LookAndFeel rather than nsILookAndFeel r=dbaron
2011-09-09 11:27:12 +09:00
Matt Woodrow
2d0f18b12d
Bug 677173 - Remove 3D transforms IDL properties because they are disabled. r=dbaron
2011-09-01 11:35:10 +12:00
Matt Woodrow
312e8b4031
Bug 505115 - Part 14a - Add -moz-transform-style css property. r=dbaron
2011-08-27 12:01:06 +12:00
Michael Ventnor
8af7fc4898
Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron
2011-08-23 14:18:22 +10:00
Matt Woodrow
fe4345bd93
Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Mats Palmgren
64fe4b087b
Bug 312156 - Implement CSS3 text-overflow. r=dbaron
2011-06-22 20:11:47 +02:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6469811981
Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron
2011-06-20 16:47:09 -07:00
Mounir Lamouri
5a2ef13b8f
Bug 655065 - Add a -moz-orient CSS property. r=bz
2011-05-10 15:47:46 +02:00
Jim Mathies
02f8ccf86e
Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc.
2011-05-13 11:40:46 -05:00
L. David Baron
712f6703bb
-moz-animation-play-state should not be part of the -moz-animation shorthand. (Bug 654890) r=bzbarsky
2011-05-09 15:02:35 -04:00
Jonathan Kew
fbe1a561e7
bug 655198 - don't parse 'all' as a value for -moz-hyphens. r=dbaron
2011-05-07 16:01:01 +01:00
Jonathan Kew
420b112716
bug 253317 - part 1 - implement -moz-hyphens property in CSS. r=dbaron
2011-05-04 12:14:50 +01:00
Masayuki Nakano
cc0623b6e3
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
L. David Baron
1851aeaa2f
Remove parsing and storage code for CSS 2.0 aural properties. (Bug 649119) r=bzbarsky
2011-04-21 20:17:32 -07:00
L. David Baron
7e86462271
ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky
2011-04-11 23:18:44 -07:00
L. David Baron
46a3aba4b3
Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky
2011-04-11 23:18:42 -07: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
Masayuki Nakano
264109812b
Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky
2011-03-31 21:26:35 +09:00
Florian Quèze
20b0b008d5
Bug 591341 - Add color keywords for default text and background colors. r=dbaron
2011-03-30 11:28:05 +02: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
c6b9eb02e0
Remove changes that should have been removed from bug 636039 patch 14 when I revised by 636039 patch 13.
2011-03-18 14:02:44 -07:00
L. David Baron
d5df3b1e50
Remove Moz prefixes from names of subproperty tables. (Bug 636039, patch 16) r=bzbarsky
...
This fixes the FIXME introduced in patch 4.
2011-03-17 20:14:31 -07:00
L. David Baron
8f037974d7
Instead of stack-allocating nsRuleData* structs in separate methods for each style struct, allocate an array of nsCSSValue using alloca. (Bug 636039, patch 15) r=bzbarsky
2011-03-17 20:14:31 -07:00
L. David Baron
aa39d3bc8d
Add index and count data for the properties that need to be computed for each style struct. (Bug 636039, patch 14) r=bzbarsky
...
This adds a second occurrence of the ugliest pattern of nsCSSPropList.h
inclusion.
2011-03-17 20:14:31 -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
L. David Baron
be4c804463
Disable parsing of 'marker', 'run-in', and 'compact' in a less hacky way. (Bug 636029) r=bzbarsky
...
This simply removes all the code for the values. This removes a
special-case that would otherwise need to become more complicated in a
later patch in this series.
2011-03-05 09:58:33 -08:00
L. David Baron
850dc81ab2
Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew
2010-11-10 07:49:52 -08:00
L. David Baron
ced73624ca
Rename -moz-box-shadow to box-shadow: manual changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:13 -07:00
L. David Baron
a0ab32f306
Add aliases for old names of border-radius properties. (Bug 451134) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:48 -07:00
Zack Weinberg
b8aabe9d10
Bug 451134 (2/2): switch to the official border-radius property names: by-hand changes. r=dbaron a2.0=blocking2.0:beta6
2010-09-09 08:21:48 -07:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
e4c76eccb0
Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
...
This was generated with the command:
LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
s/-moz-border-radius/border-radius/gi;
s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -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
bc4afbe28a
Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron
2010-08-19 15:33:44 -04:00