Xidorn Quan
c3cb8e27e9
Bug 1094460 - Reorder KTables in nsCSSProps. r=dholbert
...
--HG--
extra : rebase_source : ccd2b7160158737c2c5fc0434eae5f2efeea428c
2014-11-06 10:14:49 +11:00
Kearwood (Kip) Gilbert
a103599e64
Bug 1010538 - Part 1 - Style support for scroll-behavior. r=mstange
...
- Implemented boilerplate to add the scroll-behavior CSS property.
- Added layout.css.scroll-behavior.property-enabled preference to
allow the scroll-behavior CSS property to be enabled independently
of the CSSOM-View DOM scrolling api extensions for smooth scrolling.
2014-09-15 12:29:58 -07:00
Rik Cabanier
57c626bf2b
Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron
2014-10-15 14:13:00 +02:00
Ryan VanderMeulen
8f43c9c71d
Backed out changesets 3012ee3c0083 and a5108055f652 (bug 1077872) for reftest asserts.
...
CLOSED TREE
2014-10-16 11:50:37 -04:00
Rik Cabanier
f7b9796a1a
Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron
2014-10-15 14:13:00 -04:00
Dirk Schulze
00b2902abf
Bug 1074522 - Implement ellipse()/circle() parsing and style computing. r=dbaron
2014-10-15 00:03:00 +02:00
Dirk Schulze
92372d8ff6
Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam
2014-09-28 01:56:00 +02:00
Xidorn Quan
4e5e3db472
Bug 966168 - Implement symbols() CSS function. r=dbaron
2014-09-25 02:19:00 +02:00
Carsten "Tomcat" Book
f3c13bbb4e
Backed out changeset d53b25dcf2d7 (bug 966168) for causing bustage
2014-09-25 09:40:40 +02:00
Xidorn Quan
7d95f8bd04
Bug 966168 - Implement symbols() CSS function. r=dbaron
2014-09-24 15:32:00 +02:00
Markus Stange
31a78ec715
Bug 944836 - Add CSS property -moz-window-dragging: drag | no-drag. r=dbaron
2014-09-18 10:52:25 +02:00
Daniel Holbert
751fe17d2f
Bug 1055285 part 1: Implement CSS parsing & computation for 'object-fit' property. r=heycam
2014-09-09 18:09:32 -07:00
Daniel Holbert
ba4503e6e6
Bug 1032922 part 1: Give "flex-basis" its own keyword table, instead of having it co-opt kWidthKTable. r=heycam
2014-08-07 22:11:47 -07:00
Robert Longson
f11fe57907
Bug 556441 - Interpolation fails for stroke-width and stroke-dashoffset when animating between unitless values & values with units. r=dbaron
2014-07-03 20:05:43 +01:00
Brian Birtles
7621375179
Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron
...
This patch also moves the static methods defined on nsStyleAnimation so that
they are part of StyleAnimationValue class.
Renaming nsStyleAnimation.h to StyleAnimationValue.h is performed in a separate
patch to simplify the diff (since some tools may not handle file renames
elegantly).
2014-06-24 15:29:54 +09:00
Xidorn Quan
ab361e10f1
Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz
2014-06-11 21:10:00 -04:00
Mats Palmgren
aea76177e8
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-05-05 17:55:54 +00:00
Mats Palmgren
4c1b15348b
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-05-05 17:55:53 +00:00
Mats Palmgren
96d62d5ba4
Back out bug 613659 (for regression bug 998792)
...
--HG--
rename : layout/reftests/backgrounds/background-size-slice.html => layout/reftests/backgrounds/background-size-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-slice.html => layout/reftests/backgrounds/background-size-cover-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-clone.html => layout/reftests/backgrounds/background-size-cover-each-box.html
rename : layout/reftests/backgrounds/background-size-clone.html => layout/reftests/backgrounds/background-size-each-box.html
2014-04-20 19:39:24 +00:00
Mats Palmgren
d335554b04
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-04-18 23:01:23 +00:00
Mats Palmgren
38f499fee7
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-04-18 23:01:22 +00:00
John Daggett
1e0a07af48
Bug 997006 - rename text-combine-horizontal to text-combine-upright. r=dholbert
2014-04-17 09:15:18 +09:00
Cameron McCormack
efeaf8eada
Bug 985838 - Change custom property name prefix from "var-" to "--" and allow identifiers to begin with "--". r=dbaron
2014-04-02 14:32:16 +11:00
Benoit Jacob
23a1ea4c91
Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz
2014-03-07 12:14:25 -05:00
Benoit Jacob
162c30b16f
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Peter Chang
1e4d8e1868
backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804
2014-03-12 15:16:20 +08:00
Simon Sapin
e04f66defa
Bug 976787 part 4: Add the grid-auto-flow property to the style system. r=dholbert
2014-03-10 15:54:16 -07:00
Simon Sapin
ed42775975
Bug 976787 part 1: Add the grid-template-{columns,rows} properties to the style system. r=dholbert
2014-03-10 15:54:13 -07:00
Benoit Jacob
91655cdf5c
Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz
2014-03-07 12:14:25 -05:00
Benoit Jacob
9c93a3d8aa
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-07 12:14:23 -05:00
Ryan VanderMeulen
02ecb5a5d6
Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
...
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob
05c4cd6575
Bug 977757 - 2/3 - add nsCSSProps::eEnabledInChromeOrCertifiedApp bit, and use it for will-change - r=dbaron,bz
2014-03-06 11:38:19 -05:00
Benoit Jacob
323054beb0
Bug 977757 - 1/3 - make nsCSSProps::EnabledState a bitfield - r=dbaron,bz
2014-03-06 11:38:17 -05:00
Simon Sapin
c999db9386
Bug 975501 part 2: Add display:{inline-,}grid behind a pref, and a stub nsGridContainerFrame. r=dholbert
2014-02-26 23:45:29 -08:00
Mats Palmgren
00f4f0f1bf
Bug 966992 - Implement the overflow-clip-box property in the style system. r=cam
2014-02-22 01:18:23 +00:00
Mats Palmgren
c8c26168e5
Bug 966992 - Add a CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS bit for properties that are enabled by a pref but that are always enabled in UA sheets. r=cam
2014-02-22 01:18:23 +00:00
Benoit Girard
c42801cb0f
Bug 964885 - Implement stacking context behavior of CSS will-change. r=dbaron
...
--HG--
extra : rebase_source : 9417239e40a13df22c207838faf64b67d9027f6e
2014-02-05 23:50:22 -05:00
Ehsan Akhgari
8577cd5685
Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
...
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Mats Palmgren
c37adb298e
Bug 966992 - Implement the overflow-clip-box property in the style system. r=cam
2014-02-19 14:14:52 +00:00
Mats Palmgren
ee63769de0
Bug 966992 - Add a CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS bit for properties that are enabled by a pref but that are always enabled in UA sheets. r=cam
2014-02-19 14:14:52 +00:00
Robert O'Callahan
c9f84b3f17
Bug 947588. Part 1: Add "-moz-control-character-visibility" property to the style system. r=heycam
...
Ideally we'd make this property inaccessible to Web content style sheets, but
that seems hard since view-source and plain text documents seem to load in a
context that's very similar to Web content as far as the style system is
concerned. It doesn't matter much since it's quite safe and unlikely to be
discovered or used by anyone.
--HG--
extra : rebase_source : 009aafc992afd07fd76a9026afe0f6994b4b214a
2014-02-05 23:08:48 +13:00
Robert O'Callahan
70770254da
Bug 968118. Make nsCSSProps keyword tables be int16_t instead of int32_t for a small space win. r=heycam
...
--HG--
extra : rebase_source : 94cf09d0d96dd3c8e2a9528f5d242e36e85fcf75
2014-02-06 00:10:44 +13:00
Nick Lebedev
5df6a34bc1
Bug 795567 - Part 1: Add touch-action css property to the style system. r=dbaron
2014-01-15 10:03:15 -05:00
Frédéric Wang
7173c75ff7
Bug 838506 - Part 1: Add a -moz-math-display property. r=heycam
2014-01-14 09:39:50 -05:00
Cameron McCormack
f89609e8d3
Bug 731271 - Part 2: Add new nsCSSValue units to store colors in their original syntactic form. r=dbaron
2013-09-16 09:35:48 +10:00
Cameron McCormack
4e156d6ca3
Bug 731271 - Part 1: Rename eCSSUnit_Color to eCSSUnit_RGBAColor. r=dbaron
2013-09-16 09:35:48 +10:00
Cameron McCormack
b6a267e600
Bug 773296 - Part 14: Add an nsCSSProps::IsInherited function. r=dbaron
...
Add a helper function to nsCSSProps to look up whether a given
nsCSSProperty lives in a style struct for inherited properties.
2013-12-12 13:09:43 +11:00
Cameron McCormack
5edbefbd77
Bug 773296 - Part 2: Parse CSS variable declarations and store them on Declaration objects. p=ebassi,heycam r=dbaron
...
Patch co-authored by Emmanuele Bassi <ebassi@gmail.com>
This defines a CSSVariableDeclarations class that holds a set of
variable declarations. This is at the specified value stage, so values
can either be 'initial', 'inherit' or a token stream (which is what you
normally have). The variables are stored in a hash table. Although
it's a bit of a hack, we store 'initial' and 'inherit' using special
string values that can't be valid token streams (we use "!" and ";").
Declaration objects now can have two CSSVariableDeclarations objects
on them, to store normal and !important variable declarations. So that
we keep preserving the order of declarations on the object, we inflate
mOrder to store uint32_ts, where values from eCSSProperty_COUNT onwards
represent custom properties. mVariableOrder stores the names of the
variables corresponding to those entries in mOrder.
We also add a new nsCSSProperty value, eCSSPropertyExtra_variable, which
is used to represent any custom property name.
nsCSSProps::LookupProperty can return this value.
The changes to nsCSSParser are straightforward. Custom properties
are parsed and checked for syntactic validity (e.g. "var(a,)" being
invalid) and stored on the Declaration. We use nsCSSScanner's
recording ability to grab the unparsed CSS string corresponding to
the variable's value.
2013-12-12 13:09:40 +11:00
Daniel Holbert
0ddb39c806
Bug 702508 part 2: Support parsing/computing the CSS property "align-content". r=dbaron
2013-12-05 10:57:50 -08:00
Daniel Holbert
99dab87905
Bug 702508 part 1: Support parsing/computing the CSS property "flex-wrap". r=dbaron
2013-12-05 10:57:50 -08:00