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

60 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 680815cd6e Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: EuRsDue63tK

--HG--
extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
2017-10-27 10:33:53 -07:00
Ting-Yu Lin 90a32588be Bug 1281101 Part 1 - Remove MOZ_ENABLE_MASK_AS_SHORTHAND from layout code. r=cjku
MozReview-Commit-ID: HWq2IOLsflD

--HG--
extra : rebase_source : eb5c3db6e2d88164bcd6a86448c4ad04cd251c93
2017-09-21 17:36:57 +08:00
Nazım Can Altınova 1112f60fcc Bug 1344314 - stylo: Add an aliasid field to CSS_PROP_ALIAS macro and include them to bindings r=manishearth
This field will be needed for servo side alias pref handling on the
next patch.

MozReview-Commit-ID: LyH2UwZEvMy

--HG--
extra : rebase_source : f3f921581a0cdcc9c63520b528bd0f1e12568958
2017-08-12 14:37:19 -07:00
Mats Palmgren 297b9d70e1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF

--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book 00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Mats Palmgren e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
Mats Palmgren 20fceb3cb6 Bug 1333482 part 8 - [css-ui] Introduce '-webkit-appearance' as an alias for 'appearance' using the same pref. r=dholbert
MozReview-Commit-ID: 1snub78udDS
2017-03-23 22:11:28 -07:00
Xidorn Quan 47dc891b40 Bug 1311870 - Change property id of moz-prefixed properties to match their name. r=heycam
MozReview-Commit-ID: DkrMkzMq5qM

--HG--
extra : source : 8d502b58d6124335dcf54146306628644252dfb6
extra : amend_source : f40b0e1629e6c0fcb1c1c595d7787e18e0271924
2016-12-21 18:16:50 +11:00
Astley Chen e7f225bd3b Bug 1276808 - Remove -moz-text-align-last property. r=xidorn
MozReview-Commit-ID: HJtOLrtKnDU

--HG--
extra : rebase_source : e17c2a94bb0fba1bd9b4f21c5a9a0f958cb53f5b
2016-11-29 08:39:26 +08:00
Neerja Pancholi 3b8232d2be Bug 1300895 - Unprefix CSS multi-column properties, but add back prefixed aliases via nsCSSPropAliasList.h r=dbaron
Also make necessary updates to tests like:
1. unprefixing in property_database.js and added new aliases there
2. unprefixing in test_transitions_per_property.html
3. update nsComputedDomStylePropertyList.h
4. update devtools' property database

MozReview-Commit-ID: B3kOFrM9EL

--HG--
extra : rebase_source : 93f82f91924e75bb00f9a74bc0644a33cca73bdf
2016-10-10 13:16:57 -07:00
Sebastian Hengst ee4bc5bbfb Backed out changeset b7c0df58a2f4 (bug 1300895) for xpcshell failure in /test_css-properties-db.js. r=backout 2016-10-11 00:44:45 +02:00
Neerja Pancholi 51ffe8e041 Bug 1300895 - Unprefix CSS multi-column properties, but add back prefixed aliases via nsCSSPropAliasList.h r=dbaron
Also make necessary updates to tests like:
1. unprefixing in property_database.js and added new aliases there
2. unprefixing in test_transitions_per_property.html
3. update devtools' property database

MozReview-Commit-ID: B3kOFrM9EL

--HG--
extra : rebase_source : 849957c76d8422d117e0a159fbd8f0bba9e15a9d
2016-10-10 13:16:57 -07:00
Xidorn Quan c7e8a8ebdf Bug 1039541 part 1 - Unprefix text-align-last. r=heycam
MozReview-Commit-ID: 4Lj04tY8CqR

--HG--
extra : source : 266fdd4c808ebc6f75408dab86f7781c9a084d7b
2016-05-30 14:52:01 +10:00
Thomas Wisniewski 9b377bb0ef Bug 955857 - Replace CSS word-wrap with overflow-wrap, and add it back as a CSS_PROP_ALIAS. r=dbaron
MozReview-Commit-ID: FiZJvm25rNN

--HG--
extra : rebase_source : c7b16fc302e5c7905beea98353faa960db0a9248
2016-05-23 20:27:21 -04:00
Daniel Holbert 09d9eb8a88 Bug 1274096 part 1: Add support for webkit-prefixed aliases of modern flexbox CSS properties. r=mats
MozReview-Commit-ID: FcOqz82qCAI
2016-05-23 21:42:34 -07:00
Markus Stange 1a43349a44 Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
MozReview-Commit-ID: JgZIoj43aZv

--HG--
extra : rebase_source : cf90a8cf7c10ee90f4c312b7ff5c1107aa8571f2
2016-04-29 14:12:10 -04:00
Wes Kocher 6521757101 Backed out 10 changesets (bug 550426) for failures in browser_css_autocompletion.js
Backed out changeset 6ff2e12738ca (bug 550426)
Backed out changeset 10ee68fd318e (bug 550426)
Backed out changeset 324f4f602730 (bug 550426)
Backed out changeset 81306e78ccaa (bug 550426)
Backed out changeset 44b820f6fb3d (bug 550426)
Backed out changeset 987b6ff7262e (bug 550426)
Backed out changeset d505646974c7 (bug 550426)
Backed out changeset 2162ecc18859 (bug 550426)
Backed out changeset 1a030aba3acc (bug 550426)
Backed out changeset 3655883e7faf (bug 550426)

MozReview-Commit-ID: AlUihrLtlhL

--HG--
rename : layout/reftests/backgrounds/background-position-6b.html => layout/reftests/backgrounds/background-position-6.html
2016-04-29 14:47:43 -07:00
Markus Stange 10d8636821 Bug 550426 - Add support for {background,mask}-position-{x,y}, most of the style system changes. r=dbaron
MozReview-Commit-ID: JgZIoj43aZv

--HG--
extra : rebase_source : 5c7663c042e6507f9979d769db26eef22dc8ba79
2016-04-29 14:12:10 -04:00
Daniel Holbert ad9794f615 Bug 1262049 part 2: Add -webkit-box-orient & -webkit-box-direction as aliases for -moz versions, in the style system (but not yet honored by flexbox layout). r=mats
MozReview-Commit-ID: 3WFB2cdXlNQ
2016-04-20 16:43:24 -07:00
Daniel Holbert 1089cfca11 Bug 1257688 part 5: Change "-webkit-box-flex" to alias its -moz equivalent, & change nsFlexContainerFrame to use it instead of flex-shrink & flex-grow in a -webkit-box. r=mats
MozReview-Commit-ID: DMA8cAoYMWq
2016-04-04 18:32:12 -07:00
Daniel Holbert 660ffa5f39 Bug 1257688 part 3: Change "-webkit-box-ordinal-group" to alias its -moz equivalent, & change nsFlexContainerFrame to respect it in a -webkit-box. r=mats
MozReview-Commit-ID: DMB8dk0q11T
2016-04-04 18:32:12 -07:00
Daniel Holbert 0394b69896 Bug 1257688 part 1: Change "-webkit-box-pack" & "-webkit-box-align" to alias their -moz equivalents, & change nsFlexContainerFrame to respect them in a -webkit-box. r=mats
MozReview-Commit-ID: HtwVbtaVf8v
2016-04-04 18:32:12 -07:00
CJKu 27044084c1 Bug 1243734 - Part 1. Use MOZ_ENABLE_MASK_AS_SHORTHAND to define the type of mask property; r=dbaron
MozReview-Commit-ID: FkPgdh8YHOC
2016-03-01 19:52:17 +08:00
Daniel Holbert 2cdfef61a2 Bug 1249134: Remove support for -webkit-appearance as an alias for -moz-appearance, since the two prefixed properties behave differently in practice. r=heycam 2016-02-17 19:03:39 -08:00
Mike Taylor e96c48b929 Bug 1245997. Remove -webkit-mask-mode alias. r=dholbert
This has not yet been implemented in WebKit, hence there shouldn't
be any legacy compat concerns.
2016-02-05 09:27:45 -06:00
CJKu c2a0ef852c Bug 686281 - Mask CSS webkit-alias; r=dbaron. 2016-01-28 06:31:00 +01:00
Daniel Holbert 59fce78a44 Bug 1236506: Add support for "-webkit-filter" as an alias for CSS property "filter". r=heycam 2016-01-06 16:35:33 -08:00
Mike Taylor d643549fd6 Bug 1230426 - Remove support for -webkit-border-image longhand CSS property aliases. r=dholbert
It turns out Edge had added them at one point, but ended up removing them because they
were never shipped in WebKit/Blink browsers (oops).
2015-12-04 08:43:00 +01:00
Daniel Holbert 1375826a46 Bug 1208635 part 1: Add support for several prefixed CSS properties associated with -webkit-box, as aliases for modern flexbox properties (and behind a pref). r=heycam
Specifically, this adds the following alias mappings:
  -webkit-box-flex          --> flex-grow
  -webkit-box-ordinal-group --> order
  -webkit-box-align         --> align-items
  -webkit-box-pack          --> justify-content
2015-11-04 17:59:51 -08:00
Daniel Holbert 31dd36ab92 Bug 1179444: Add support for CSS properties -webkit-backface-visibility, -webkit-perspective, and -webkit-perspective-origin, as aliases (behind a pref). r=heycam 2015-11-03 22:38:52 -08:00
Daniel Holbert f852a2db72 Bug 1179393: Add support for -webkit-border-image longhand CSS properties, as aliases (behind a pref). r=heycam
Specifically, this patch adds support for these longhand properties:
-webkit-border-image-outset
-webkit-border-image-repeat
-webkit-border-image-slice
-webkit-border-image-source
-webkit-border-image-width
2015-11-03 22:38:01 -08:00
L. David Baron 86cc43f374 Bug 837211 - Add -webkit prefixed aliases for various CSS properties, behind an off-by-default preference. r=bzbarsky
Note that this does not emulate the WebKit quirk of supporting
element.style["-webkit-animation"] or supporting the uppercase
element.style.WebkitAnimation (etc.) as opposed to the lowercase (and
enumerable) element.style.webkitAnimation.

Note that this also does not add aliases for transition or animation
events.

(Patch has been minorly tweaked by dholbert, with dbaron's approval.)
2015-10-06 20:56:43 -07:00
John Daggett adb4b8ada8 Bug 953408 - unprefix hyphens property. r=heycam 2015-09-15 10:09:30 +09:00
Cameron McCormack 0cfecb2513 Bug 1118103 - Swap the aliasing direction of -moz-margin-start <-> margin-inline-start etc. r=dbaron 2015-07-03 12:22:56 +10:00
Tooru Fujisawa 2f82fd85a0 Bug 1097922 - Remove temporary aliases for -moz-text-decoration-*. r=dbaron 2015-04-03 17:47:38 +09: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
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 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
Tooru Fujisawa 56aff7eabb Bug 825004 - Part 2: Provide temporary aliases for -moz-text-decoration-*. r=dbaron 2014-11-18 19:23:09 +09:00
John Daggett 0e566c376b Bug 975744 - remove font features pref and enable features by default. r=dbaron 2014-08-20 16:54:35 +09:00
Lukas Nordin 5815633a98 Bug 243412: Add box-sizing preference to control the vendor prefix; r=dbaron 2014-02-04 18:06:18 -08:00
L. David Baron f4874e4276 Bug 966415: Add more line breaks to nsCSSPropAliasList.h for better diffs and blame. r=bzbarsky 2014-01-31 12:28:00 -08:00
Ms2ger afb16c34a0 Bug 243412. Enable unprefixed 'box-sizing'. r=dbaron 2014-01-17 17:13:22 -07:00
John Daggett 0eae803e8f Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger 7786ea6954 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
John Daggett 00be04b30a Bug 549861. Alias unprefixed versions of font-feature-settings and font-language-override. r=dbaron 2013-05-13 18:45:38 +09:00