Commit Graph

328 Commits

Author SHA1 Message Date
Cameron McCormack
51862d3a81 Bug 1118103 - Swap the aliasing direction of -moz-margin-start <-> margin-inline-start etc. r=dbaron 2015-07-03 12:22:56 +10:00
Jonathan Kew
d877ac74b5 Bug 1179285 - Give text-combine-upright its own pref, separate from writing-mode (vertical-text), so that we can keep it disabled until we actually have a layout implementation backing the CSS property. r=dbaron 2015-07-02 13:27:33 +01:00
Cameron McCormack
6f163b71dc Bug 1122253 - Support -moz-min-content etc. keywords in {,min-,max-}inline-size and their physical equivalents. r=bzbarsky 2015-06-25 08:40:38 +10:00
Kyle Zentner
4049a2707a Bug 1170173 - Parse CSS 'contain' property. r=dholbert 2015-06-04 16:38:00 +02:00
Jonathan Watt
b3ff14ad98 Bug 923193, part 3 - Add the style system code to support the 'transform-box' property. r=heycam 2015-05-15 22:43:25 +01:00
L. David Baron
35c6d8f0dd Bug 847287 patch 2 - Add flag for CSS properties that can be animated on the compositor. r=birtles
Patch 3 adds sanity-checks to check these flags against other equivalent
data.

This flag is used in patch 5 and patch 6.
2015-03-31 15:05:54 -07:00
Xidorn Quan
b95ba1ce10 Backout a6dbd23da598 (bug 1139283) since it is currently not needed. 2015-03-20 15:12:17 +11:00
Kearwood (Kip) Gilbert
3452818109 Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V3 Patch). r=cam
- CSS scroll snapping related attributes are now sorted correctly
- Now passes mochitests with CSS scroll snapping enabled:
  - layout/style/test/test_bug657143.html
  - layout/style/test/test_compute_data_with_start_struct.html
  - layout/style/test/test_property_syntax_errors.html
  - layout/style/test/test_style_struct_copy_constructors.html
  - layout/style/test/test_value_computation.html
2015-03-13 18:00:00 +01:00
Carsten "Tomcat" Book
15cdfdf7ec Backed out changeset ef3881f8d1a3 (bug 1140623) for causing perma m20 failures on b2g 2015-03-13 16:32:50 +01:00
Kearwood (Kip) Gilbert
ff64c85d6c Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V2 Patch). r=heycam
- CSS scroll snapping related attributes are now sorted correctly
- Now passes mochitests with CSS scroll snapping enabled:
  - layout/style/test/test_bug657143.html
  - layout/style/test/test_compute_data_with_start_struct.html
  - layout/style/test/test_property_syntax_errors.html
  - layout/style/test/test_style_struct_copy_constructors.html
  - layout/style/test/test_value_computation.html
2015-03-12 11:22:00 +01:00
Xidorn Quan
22877723df Bug 1139283 - Move some properties from nsStyleDisplay to nsStylePosition. r=dbaron
The moved properties are:
* clip
* transform-style
* transform-origin
* backface-visibility
* perspective
* perspective-origin
* will-change
2015-03-08 18:43:22 +11:00
L. David Baron
f587dfb8b0 Bug 1139640: Change DOM property for -moz-osx-font-smoothing to match standard camel-casing algorithm. r=jdaggett 2015-03-05 18:02:16 -08:00
Kearwood Gilbert
94fe9d996d Bug 945584: Part 1 - Style support for scroll snapping attributes, r=cam
- Implemented style support for new attributes:
  - scroll-snap-type
  - scroll-snap-type-x
  - scroll-snap-type-y
  - scroll-snap-points-x
  - scroll-snap-points-y
  - scroll-snap-destination
  - scroll-snap-coordinate
2014-02-04 14:54:22 +13:00
Xidorn Quan
fd409a084e Bug 1055676 part 1 - Parse and compute ruby-align property. r=heycam
--HG--
extra : source : 1045566a325c979c076a4c1fe490046734e408db
2015-02-17 18:01:49 +13:00
Jonathan Kew
7d2ee941fb Bug 1119475 - pt 0 - Ensure logical properties are enabled in UA sheets. r=heycam 2015-02-16 11:59:31 +00:00
Xidorn Quan
1902110420 Bug 1123917 part 2 - Make ruby-position only accept [over|under] instead of compound values. r=dholbert
--HG--
extra : rebase_source : fe13f96fe7bc771dfd899bd7ac391f565899d26d
extra : source : 480c409240940afd5e4e6ce4cf995e5e1a26e640
2015-01-22 14:04:55 +11:00
Cameron McCormack
80aa2194e7 Bug 1120283 - Part 1: Implement the offset-{block,inline}-{start,end} logical properties. r=dbaron 2015-01-17 15:53:27 +11:00
Cameron McCormack
1d0760b51a Bug 1117983 - Part 3: Implement the min-{block,inline}-size logical properties. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack
ec9e67652f Bug 1117983 - Part 2: Implement the max-{block,inline}-size logical properties. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack
23b1876849 Bug 1117983 - Part 1: Implement the {block,inline}-size logical properties. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack
cc6a78a83a Bug 1120284 - Part 1: Define logical property groups more explicitly. r=dbaron 2015-01-17 15:43:20 +11:00
Cameron McCormack
c8187700cf Bug 1083134 - Part 8: Add border-block-{start,end} logical shorthands. r=dbaron 2015-01-17 15:22:52 +11:00
Cameron McCormack
a6010dc7f3 Bug 1083134 - Part 6: Add border-block-{start,end}-{color,style,width} logical properties. r=dbaron 2015-01-17 15:22:52 +11:00
Cameron McCormack
4f329b986e Bug 1083134 - Part 5: Add margin-block-{start,end} logical properties. r=dbaron 2015-01-17 15:22:52 +11:00
Cameron McCormack
dfae610c1f Bug 1083134 - Part 4: Add padding-block-{start,end} logical properties. r=dbaron 2015-01-17 15:22:51 +11:00
Cameron McCormack
7dd7977321 Bug 1083134 - Part 2: Add function that can return which physical box property shorthand a given logical longhand is related to. r=dbaron 2015-01-17 15:22:51 +11:00
Cameron McCormack
263b48c3a4 Bug 1083134 - Part 1: Add CSS_PROPERTY_LOGICAL_{BLOCK_AXIS,END_EDGE} flags to record which side a logical property is for. r=dbaron 2015-01-17 15:22:51 +11:00
Cameron McCormack
c99b3f741d Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2015-01-17 15:16:02 +11:00
Cameron McCormack
1fe81c8426 Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2015-01-17 15:16:02 +11:00
Cameron McCormack
80230ebf84 Bug 649142 - Part 3: Convert logical padding properties. r=dbaron
Here we convert the logical padding properties into their new resolved-at-
cascade-time implementations.  This involves:

* converting -moz-padding-{start,end} into logical longhand properties
* adding padding-inline-{start,end} aliases for -moz-padding-{start,end}
* converting padding-{left,right} into longhand properties
* removing padding-{left,right}-value and
  padding-{left,right}-{ltr,rtl}-source internal properties

The CSS parser and various tests are simplified a bit as a result.
2015-01-17 15:16:02 +11:00
Cameron McCormack
eb09a50905 Bug 649142 - Part 1: Add macros and flags for defining logical properties and don't allocate storage for them in nsRuleData. r=dbaron
We define a new flag CSS_PROPERTY_LOGICAL to be used for logical longhand
properties and a new CSS_PROP_LOGICAL macro in nsCSSPropList.h to
define them.

When using CSS_PROP to capture all properties, includers must now
explicitly indicate whether logical properties are included or not,
by defining CSS_PROP_LIST_EXCLUDE_LOGICAL (to exclude them),
CSS_PROP_LIST_INCLUDE_LOGICAL (to include them), or CSS_PROP_LOGICAL
(to capture them separately from other properties).
2015-01-17 15:16:01 +11:00
Boris Zbarsky
50e2ffad55 Bug 1103000. Update the unitless length quick whitelist to match spec changes. r=dbaron 2015-01-08 11:57:09 -05:00
Phil Ringnalda
5cc5a1f24c Back out 9 changesets (bug 649142)
Backed out changeset 936703c75200 (bug 649142)
Backed out changeset b0252d2620d8 (bug 649142)
Backed out changeset 69ddb2036c50 (bug 649142)
Backed out changeset 67748675e669 (bug 649142)
Backed out changeset 15ed55c61f4e (bug 649142)
Backed out changeset 35c42cd138e1 (bug 649142)
Backed out changeset 1335630cf287 (bug 649142)
Backed out changeset b5725cd39a31 (bug 649142)
Backed out changeset b0eb691d6695 (bug 649142)
2014-12-30 20:04:20 -08:00
Cameron McCormack
f3b4838e87 Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2014-12-31 12:18:15 +11:00
Cameron McCormack
6399b44e53 Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2014-12-31 12:18:14 +11:00
Cameron McCormack
fc345d527c Bug 649142 - Part 3: Convert logical padding properties. r=dbaron
Here we convert the logical padding properties into their new resolved-at-
cascade-time implementations.  This involves:

* converting -moz-padding-{start,end} into logical longhand properties
* adding padding-inline-{start,end} aliases for -moz-padding-{start,end}
* converting padding-{left,right} into longhand properties
* removing padding-{left,right}-value and
  padding-{left,right}-{ltr,rtl}-source internal properties

The CSS parser and various tests are simplified a bit as a result.
2014-12-31 12:18:14 +11:00
Cameron McCormack
a2a49258e5 Bug 649142 - Part 1: Add macros and flags for defining logical properties and don't allocate storage for them in nsRuleData. r=dbaron
We define a new flag CSS_PROPERTY_LOGICAL to be used for logical longhand
properties and a new CSS_PROP_LOGICAL macro in nsCSSPropList.h to
define them.

When using CSS_PROP to capture all properties, includers must now
explicitly indicate whether logical properties are included or not,
by defining CSS_PROP_LIST_EXCLUDE_LOGICAL (to exclude them),
CSS_PROP_LIST_INCLUDE_LOGICAL (to include them), or CSS_PROP_LOGICAL
(to capture them separately from other properties).
2014-12-31 12:18:12 +11:00
Xidorn Quan
6e944d8d19 Bug 1055665 part 1 - Add support for parsing & computing CSS property "ruby-position". r=dholbert
--HG--
extra : source : 2fd75789fe00d972d78a5b189f1ac50f6b2a385f
2014-12-09 17:47:18 +11:00
Jonathan Kew
a74d73b0b4 Bug 1110181 - Move mTextOrientation to the nsStyleVisibility struct to avoid potential recursive dependency in nsStyleText. r=dbaron 2014-12-11 18:56:19 +00:00
Daniel Holbert
cb3c595d42 Bug 1093316 part 2: Backout changeset af2a4fb980ad (i.e. backout bug 1032922 part 1), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec.
Landing on a CLOSED TREE with a=kwierso
2014-11-25 15:40:24 -08:00
Tooru Fujisawa
1bf9e20256 Bug 825004 - Part 1: Unprefix CSS3 Text Decoration. r=dbaron 2014-11-18 19:23:09 +09:00
Daniel Holbert
edade3ea6b Bug 1097488: Honor 'object-fit' & 'object-position' in UA stylesheets even if they're preffed off, and remove no-longer-necessary @supports guard. r=heycam 2014-11-11 22:49:15 -08: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
92372d8ff6 Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam 2014-09-28 01:56: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
8829bbabc7 Bug 1055285 part 3: Implement animation for 'object-position' property. r=heycam 2014-09-09 18:09:32 -07:00
Daniel Holbert
471ab7f102 Bug 1055285 part 2: Implement CSS parsing & computation (but not animation) for 'object-position' property. r=heycam 2014-09-09 18:09:32 -07:00