Граф коммитов

520 Коммитов

Автор SHA1 Сообщение Дата
Kearwood Gilbert c9e0efb870 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

--HG--
extra : rebase_source : 0a9a79c7d139a3c752f55395c697f23004d6ef34
2014-02-04 14:54:22 +13:00
Xidorn Quan abdb0668e1 Bug 1137889 part 1 - Update predefined counter style name table to match the spec. r=jfkthame
--HG--
extra : source : b264c92249fcf713fde635b41aaa190884177636
2015-03-03 08:32:58 +11:00
Xidorn Quan 20d97976e8 Bug 1055676 part 1 - Parse and compute ruby-align property. r=heycam
--HG--
extra : source : 1045566a325c979c076a4c1fe490046734e408db
2015-02-17 18:01:49 +13:00
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Xidorn Quan a9545c0e64 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 14e43fddda Bug 1121768 - Part 1: Require that shorthands with CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS or CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP have those flags on all subproperties. r=dbaron
Requiring that UA style sheet-only shorthand properties only have UA
style sheet-only subproperties makes it easier to deal with the
subproperties outside of the CSS parser (which is where the information
about whether a given property is enabled only in UA style sheets is
stored).  Similarly for certified app-only shorthands.
2015-01-17 15:55:07 +11:00
Cameron McCormack 2ddead31eb 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 228d7a7703 Bug 1117983 - Part 3: Implement the min-{block,inline}-size logical properties. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack c7bda81337 Bug 1117983 - Part 2: Implement the max-{block,inline}-size logical properties. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack 147da22f18 Bug 1117983 - Part 1: Implement the {block,inline}-size logical properties. r=dbaron 2015-01-17 15:50:09 +11:00
Cameron McCormack c6ef584ad1 Bug 1120284 - Part 5: Support logical axis properties. r=dbaron 2015-01-17 15:43:20 +11:00
Cameron McCormack 4468def2e9 Bug 1120284 - Part 2: Support non-shorthand-related logical box property groups. r=dbaron 2015-01-17 15:43:20 +11:00
Cameron McCormack e213d872b9 Bug 1120284 - Part 1: Define logical property groups more explicitly. r=dbaron 2015-01-17 15:43:20 +11:00
Cameron McCormack 7ab98884f5 Bug 1083134 - Part 8: Add border-block-{start,end} logical shorthands. r=dbaron 2015-01-17 15:22:52 +11:00
Cameron McCormack f9ddcc8210 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 d973e286a1 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 5440e0199a Bug 649142 - Part 6: Remove support for shorthand-implemented logical properties. r=dbaron
This includes removing:

* the box property directional source constants
* the CSS_PROPERTY_DIRECTIONAL_SOURCE property flag
* the CSS_PROPERTY_REPORT_OTHER_NAME property flag
* nsCSSProps::OtherNameFor
* methods on the CSS parser to parse directional box properties and set
  the old *-source and *-value properties
* the resolution of logical and physical properties in nsRuleNode during
  style computation, since that's now done as part of the cascade in
  nsCSSExpandedDataBlock::MapRuleInfoInto
2015-01-17 15:16:02 +11:00
Cameron McCormack 4492448c51 Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2015-01-17 15:16:02 +11:00
Cameron McCormack 8184e4e1ed Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2015-01-17 15:16:02 +11:00
Cameron McCormack ef9c6fb6bd 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 59aad795f0 Bug 649142 - Part 1.1: Assert that CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED is not used on logical properties. r=dbaron 2015-01-17 15:16:01 +11:00
Cameron McCormack ddf87d6cf6 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
Mats Palmgren 0c2e9247ec Bug 1117538 part 1 - [css-grid] Remove 'grid-auto-flow: stack'. r=dholbert
Because it has been removed from the spec per:
http://lists.w3.org/Archives/Public/www-style/2014Dec/0321.html
2015-01-05 22:20:56 +00:00
Phil Ringnalda 41cdae473a 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 c501eb9fff Bug 649142 - Part 6: Remove support for shorthand-implemented logical properties. r=dbaron
This includes removing:

* the box property directional source constants
* the CSS_PROPERTY_DIRECTIONAL_SOURCE property flag
* the CSS_PROPERTY_REPORT_OTHER_NAME property flag
* nsCSSProps::OtherNameFor
* methods on the CSS parser to parse directional box properties and set
  the old *-source and *-value properties
* the resolution of logical and physical properties in nsRuleNode during
  style computation, since that's now done as part of the cascade in
  nsCSSExpandedDataBlock::MapRuleInfoInto
2014-12-31 12:18:16 +11:00
Cameron McCormack 324837a87d Bug 649142 - Part 5: Convert logical border properties. r=dbaron 2014-12-31 12:18:15 +11:00
Cameron McCormack 246dccd863 Bug 649142 - Part 4: Convert logical margin properties. r=dbaron 2014-12-31 12:18:14 +11:00
Cameron McCormack c1366ac48c 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 6cceecc24a 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 d04c336024 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
Boris Zbarsky 10ef7f13e6 Bug 1020400. Remove empty-cells quirk, since no other UA has it. r=heycam 2014-12-01 15:15:41 -05:00
Daniel Holbert 6f9dea011b 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
Daniel Holbert a03d3e37d5 Bug 1093316 part 1: Backout changeset aece7f9f944c (i.e. backout bug 1032922 part 2), to reflect CSSWG removing "flex-basis: main-size" from the flexbox spec. 2014-11-25 11:28:15 -08:00
Mats Palmgren 473f5eac8b Bug 907396 - Style system support for display:contents. r=dbaron 2014-11-20 18:24:08 +00:00
Xidorn Quan 56803c672c Bug 1094460 - Reorder KTables in nsCSSProps. r=dholbert
--HG--
extra : rebase_source : ccd2b7160158737c2c5fc0434eae5f2efeea428c
2014-11-06 10:14:49 +11:00
stefanh@inbox.com 14f3e74c30 Bug 1085134 - Native theming for Mac OS X disclosure buttons, widget part. r=mstange, roc. 2014-11-01 17:13:27 +01:00
Kearwood (Kip) Gilbert bf999c9733 Bug 1086948 - Remove scroll-behavior: instant CSS value option. r=bz
- Removed "instant" CSS keyword and references used by scroll-behavior.
- Updated tests, removing scroll-behavior: instant test cases.
2014-10-22 11:37:00 +02:00
Kearwood (Kip) Gilbert b91d62a334 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 e89e3bbd8d Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron 2014-10-15 14:13:00 +02:00
Ryan VanderMeulen 819f8c4929 Backed out changesets 3012ee3c0083 and a5108055f652 (bug 1077872) for reftest asserts.
CLOSED TREE
2014-10-16 11:50:37 -04:00
Rik Cabanier bfeb49d3b2 Bug 1077872 - Implement parsing of isolation CSS property. r=dbaron 2014-10-15 14:13:00 -04:00
Dirk Schulze 62628a69a2 Bug 1074522 - Implement ellipse()/circle() parsing and style computing. r=dbaron 2014-10-15 00:03:00 +02:00
Dirk Schulze a028173cff Bug 1072894 - Implement polygon() parsing for clip-path. r=heycam 2014-09-28 01:56:00 +02:00
Xidorn Quan f69d6b2935 Bug 966168 - Implement symbols() CSS function. r=dbaron 2014-09-25 02:19:00 +02:00
Carsten "Tomcat" Book 84fa1ee595 Backed out changeset d53b25dcf2d7 (bug 966168) for causing bustage 2014-09-25 09:40:40 +02:00
Xidorn Quan e94396781f Bug 966168 - Implement symbols() CSS function. r=dbaron 2014-09-24 15:32:00 +02:00
Markus Stange 6db30dabf8 Bug 944836 - Add CSS property -moz-window-dragging: drag | no-drag. r=dbaron 2014-09-18 10:52:25 +02:00
Jonathan Kew 5662620265 bug 1057329 - update the values of text-orientation to match current css-writing-modes draft (omitting use-glyph-orientation and [for now] sideways and sideways-left). r=jdaggett 2014-09-16 11:12:00 +01:00