Ehsan Akhgari
4ff4da4197
Bug 938123 - Build layout/style in unified mode; r=roc
2013-11-14 21:42:57 -05:00
Gijs Kruitbosch
940ab43e16
Merge m-c to ux
2013-10-28 10:18:27 +01:00
Mats Palmgren
115c33a3a9
Bug 929991 - Put 'text-align: true X' support behind a preference (disabled by default). r=heycam
2013-10-27 20:56:32 +00:00
Mats Palmgren
980b7e6b0a
Bug 929991 - Style system implementation of 'text-align: true X'. r=heycam
2013-10-27 20:56:32 +00:00
Mats Palmgren
1a8127e873
Bug 914432 - Add support for multiple prefs to enable/disable values in the same property keyword table. r=dbaron
2013-10-27 20:56:32 +00:00
Gijs Kruitbosch
8539a04699
Merge mozilla-central and ux
2013-10-04 07:51:17 +02:00
Cameron McCormack
01163bc21b
Bug 842329 - Part 1: Add "all" shorthand property. r=bzbarsky
2013-10-04 04:49:19 +10:00
Gijs Kruitbosch
07d7d08613
Merge mozilla-central and ux
2013-09-30 19:26:47 +02:00
Cameron McCormack
55bb09ead5
Bug 921797 - Make nsCSSProps::BuildShorthandsContainingTable support -moz-appearance being a shorthand subproperty. r=bzbarsky
2013-09-30 13:23:43 +10:00
Gijs Kruitbosch
495e7495d1
Merge mozilla-central and ux
2013-09-26 10:26:16 +02:00
Gijs Kruitbosch
240869fd9c
Merge mozilla-central and ux
2013-09-17 11:58:14 +02:00
Ehsan Akhgari
86a457baf2
Bug 916610 - Minimize the #includes in layout/style; r=roc
2013-09-15 21:06:52 -04:00
stefanh@inbox.com
5160c3c352
Bug 916491 - Remove -moz-mac-alternateprimaryhighlight. r=mstange.
2013-09-15 00:44:50 +02:00
Gijs Kruitbosch
f55435100e
Merge m-c to ux
2013-09-15 19:30:19 +02:00
Matthew Noorenberghe
1f8ae35067
Merge mozilla-central to UX
2013-09-06 17:54:20 -07:00
Gijs Kruitbosch
9ffae9f766
Merge mozilla-central and ux
2013-08-29 15:30:00 +02:00
Seth Fowler
bcd260ddfc
Bug 825771 (Part 1) - Add CSS support for the image-orientation property. r=dbaron
2013-08-28 15:39:06 -07:00
Corey Ford
6ec5cfd903
Bug 886646 - Part 1: Support position:sticky in the CSS parser, enabled by a preference. r=heycam
2013-09-05 15:47:08 -07:00
Gijs Kruitbosch
d129b430ff
Merge m-c to ux
2013-08-20 10:49:07 +02:00
Matthew Noorenberghe
f84d7b3761
Merge mozilla-central to UX
2013-08-19 14:49:03 -07:00
John Daggett
fd57425fcc
Bug 904263 - check pref settings more efficiently. r=dbaron
2013-08-19 13:49:49 +09:00
Mike Conley
fcea860595
Automated merge with https://hg.mozilla.org/mozilla-central
2013-08-12 17:07:53 -04:00
Gijs Kruitbosch
f6ec1e3db6
Merge m-c to UX
2013-08-07 21:09:10 +02:00
Rik Cabanier
f1d4f25d93
Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam
2013-08-07 16:59:10 +09:00
Matthew Noorenberghe
7d6ff1cecf
Merge mozilla-central to UX
2013-08-06 23:06:26 -07:00
Masayuki Nakano
8ea1abaca9
Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron
2013-08-06 23:02:34 +09:00
Matthew Noorenberghe
d79cbda60c
Merge mozilla-central to UX
2013-07-30 19:16:50 -07:00
Gijs Kruitbosch
211b357473
Merge m-c to UX
2013-07-30 20:27:46 +02:00
Max Vujovic
e4f9873c6f
Bug 898175 - Refactor filter parsing to use a keyword lookup table for filter function names. r=dbaron
2013-08-06 17:53:30 +10:00
Matthew Noorenberghe
7f2fedf98a
Merge mozilla-central to UX
2013-07-23 23:40:52 -07:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
John Daggett
4e3a388690
Bug 875250 - implement CSS parsing of text-orientation, text-combine-horizontal properties. r=dholbert
2013-08-19 19:26:44 +09:00
John Daggett
49087c1b1c
Bug 857142 - change name and switch to grayscale value. r=dbaron
2013-07-30 05:01:14 +09:00
John Daggett
b439b6e590
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-30 05:00:41 +09:00
Frank Yan
7329c9dfb6
Bug 880672: Add support for unprefixed cursor:grab and cursor:grabbing. r=bzbarsky sr=dbaron
2013-06-24 00:32:44 -07:00
Simon Sapin
2db3b1337a
Bug 483446 - CSS3 'background-attachment: local' support. r=roc
2013-07-23 09:22:58 -04:00
Jared Wein
29f3fba961
Automated merge with https://hg.mozilla.org/mozilla-central
2013-06-05 11:43:23 -04:00
Mike Conley
1e29db2664
Automated merge with https://hg.mozilla.org/mozilla-central
2013-06-03 17:37:42 -04:00
Michael Harrison
947ff9b473
Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz
2013-06-03 08:49:38 -04:00
Rick Eyre
76072f4667
Bug 772321 - Implement CSS parsing of writing-mode r=dbaron
2013-05-28 12:00:49 -04:00
Mike Conley
bcd4fed974
Automated merge with https://hg.mozilla.org/mozilla-central
2013-05-23 09:39:09 -04:00
Mike Conley
a790416205
Automated merge with https://hg.mozilla.org/mozilla-central
2013-05-15 17:14:08 -04:00
Mike Conley
bb41d7794a
Bug 865374 - Position tabs in the OSX titlebar. Cocoa Widget work by Steven Michaud. r=dao,bgirard.
2013-05-02 14:15:29 -04:00
Daniel Holbert
cc7305fa0e
Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron
2013-05-22 11:44:25 +08:00
Ms2ger
3352b76ed4
Backout changeset f2ac3d57b445 for insufficient review.
2013-08-08 19:37:47 +02:00
Masayuki Nakano
9b6c86343a
Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron
2013-08-06 23:02:34 +09:00
John Daggett
18ea34f1e4
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
c80e8cd5c6
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
John Daggett
bddaba27de
Bug 549861. Alias unprefixed versions of font-feature-settings and font-language-override. r=dbaron
2013-05-13 18:45:38 +09:00
John Daggett
633de7d681
Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron
2013-05-13 18:45:37 +09:00
John Daggett
7b0b7f608c
Bug 549861. Parse simple font-variant subproperties. r=dbaron
2013-05-13 18:45:36 +09:00
Cameron McCormack
9cda9d27bf
Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron
2013-04-02 12:45:48 +11:00
Jonathan Watt
517e3b12aa
Bug 855301 - Add support for native theming of <input type=range> on Linux. r=roc
2013-03-28 20:25:05 +00:00
L. David Baron
0caa71f669
Bug 849657 patch 1: Expose CSS_PROP_PUBLIC_OR_PRIVATE macro to users of nsCSSPropList.h rather than CSS_PROP_DOMPROP_PREFIXED, so that we can avoid 'CssFloat' spreading even further. r=bzbarsky
2013-03-25 09:24:21 -07:00
Jonathan Watt
0fbd87a19c
Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc
2013-03-16 05:40:15 +00:00
L. David Baron
c2879a9a1a
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
3b8425c455
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
893787aaa9
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
7621b6de00
Bug 840367: Fix misnaming of keyword IDs in nsCSSKeywordList.h. r=heycam
2013-02-13 11:53:56 -08:00
Jonathan Watt
312edf7655
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
Chris Peterson
eab3c189d8
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
597517a42f
Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary
2013-01-14 16:21:54 -05:00
Jonathan Kew
1edbfad3fc
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
eda259c9c3
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
e57e75500d
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
Ehsan Akhgari
5c76c7d75d
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
873a543487
Bug 793617 - Implement mask-type property. r=dbaron,longsonr
2012-12-21 11:15:22 +11:00
Jonathan Kew
a6f11a5eff
bug 774560 pt 2 - implement text-transform:full-width. r=smontagu
2012-11-09 09:43:48 +00:00
Daniel Holbert
93791d3f3b
Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron
2012-10-15 12:42:43 -07:00
Nathan Froyd
ec0cae57b0
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
b3c5efa43b
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
bdd40e5c18
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
45f0148efe
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
1359267ffc
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
7b1c6a96f0
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
8a6015cf0d
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
582af889e5
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
32d64789ec
Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron
2012-09-06 16:58:46 +12:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac
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
4ae7b52fd9
Implement the new CSS property value unicode-bidi: isolate-override. Bug 774335, r=dbaron
2012-08-07 01:42:46 -07:00
Scott Johnson
79055c4778
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
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Boris Zbarsky
43d45b95b9
Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert
2012-07-13 19:59:05 -04:00
Masatoshi Kimura
162441c196
Bug 752187 - Part 9: Implement unprefixed radial-gradient parsing. r=dbaron
2012-07-07 10:27:08 -04:00
Daniel Holbert
50a133f460
Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron
2012-07-06 17:06:23 -07:00
Daniel Holbert
905f2b0773
Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
307261d50e
Bug 696253, patch 4: implement parsing/computation for CSS property 'align-items'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
a64d2dea9d
Bug 696253, patch 3: implement parsing/computation for CSS property 'flex-direction'. r=dbaron
2012-07-06 17:06:20 -07:00
Daniel Holbert
772477aae8
Bug 696253, patch 1: implement parsing/computation for CSS property 'justify-content'. r=dbaron
2012-07-06 17:06:19 -07:00
Daniel Holbert
348d6c9a3d
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
e1952224d8
Implement new values of animation-direction. (Bug 655920) r=bzbarsky
2012-06-21 11:44:34 -07:00
Scott Johnson
2332c9b000
Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron].
2012-06-13 11:00:56 -05:00
Yoan TEBOUL
72e9bc2b32
Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc
2012-05-16 12:24:55 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Robert Longson
3ca6774243
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
389a77894c
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
ae4279cc0e
Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu
2012-05-07 12:18:23 -07:00
Lazar Sumar
da2c684917
Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron
2012-02-24 21:23:14 -08:00
L. David Baron
5c4dc186ed
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