Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Nazım Can Altınova 8e46cd609a servo: Merge #16231 - stylo: Implement -moz-transform property (from canaltinova:moz-transform); r=Manishearth
-moz-transform property is an alias shorthand property. It has transform as sub-property but their parsing is different in some cases(matrix/matrix3d). -moz-transform also accepts LengthOrPercentage in the nondiagonal homogeneous components of matrix and matrix3d.

It looks like length and percentage values are getting computed to number directly. For example 120px converts into 120 and calc(120px + 20%) converts into 140. So I did like this. But we need to check this behavior again to be sure, I guess.

Also I spent half day investigating why matrices are not serializing after this change and found out their ToCss functions is not completely implemented yet 😄 I was going to implement them but there is an easy issue about it(#15194) so I left it that way. Probably all tests won't pass without it.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16003 and [Bug 1351356](https://bugzilla.mozilla.org/show_bug.cgi?id=1351356)

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: b8b4ec92df9729f8d07ff1d2b6e3e3474a978b6c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ce8d1ba04a88444d82420e4740b137388afef3b5
2017-04-19 17:37:07 -05:00
.cargo Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
.vscode Bug 1341585 - Ignore Visual Studio Code workspace settings and add a recommended extensions file. r=gps,jya 2017-02-22 12:57:57 +01:00
accessible Bug 1326084 - Unbind accessible child doc before replacing with new one. r=trevor 2017-04-07 13:26:45 -07:00
addon-sdk Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
browser Bug 1349744 - Move help button to the bottom-left of the preferences per spec. r=mconley 2017-04-19 15:42:06 -04:00
build Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
caps Bug 1356193 - rename securityFlags local variable for code clarity reasons, r=ckerschb 2017-04-13 11:36:18 +01:00
chrome Bug 1345696 part 1 - Lots of fixup for the next patch. r=heycam 2017-03-28 20:05:12 +11:00
config Bug 1355671 - Add optimization flags to HOST_CXXFLAGS similarly to HOST_CFLAGS. r=gps 2017-04-07 17:03:21 +09:00
db Bug 1352260 - Upgrade to SQLite 3.18.0. r=mak 2017-04-01 15:08:18 -04:00
devtools Bug 1355233 - quote unmatched open paren in function tokens correctly; r=gl 2017-04-17 08:00:58 -06:00
docshell Bug 1348253 - about:url-classifier: Providers information and update button. r=francois 2017-04-19 00:33:08 +08:00
dom Bug 1354066 - Expand classList testing and port to wpt; r=mystor 2017-04-18 21:25:14 +03:00
editor Bug 1352882 - Part 3. Cache nsIDocumentEncoder into TextEditor. r=masayuki 2017-04-17 17:29:46 +09:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Bug 1354635 - Send permissions to the content process when debugging service workers, r=catalinb 2017-04-18 14:38:56 -04:00
gfx Bug 1357530 - Remove unused code in LayerMetricsWrapper.h. r=botond 2017-04-18 16:09:37 -04:00
gradle/wrapper Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian 2016-09-22 14:31:01 -07:00
hal Bug 1357323 - Remove the gonk code that was referenced by the build system. r=gps 2017-04-18 17:46:39 +09:00
image Backout change fb3c323635d6 (bug 1347400) because the telemetry probe didn't prove to be useful 2017-04-15 17:20:25 -04:00
intl Bug 1005640 - Flush StringBundle cache when app-locales change. r=valentin 2017-04-18 01:03:05 -07:00
ipc Bug 1313200 - Allow IPC messages to async return MozPromises. r=billm,jwwang 2017-03-16 17:36:15 +08:00
js Bug 1357828 - Remove B2G-specific code from mozJSComponentLoader::ReallyInit(). r=mrbkap 2017-04-19 10:33:04 -07:00
layout merge mozilla-inbound to mozilla-central a=merge 2017-04-19 10:32:48 +02:00
media Bug 969715: remove INET and INET6 from sctp build env. r=jesup 2016-12-08 23:49:43 -10:00
memory Bug 1332747 Change MOZ_ALWAYS_INLINE to MOZ_ALWAYS_INLINE_EVEN_DEBUG to fix MinGW Debug build r=froydnj 2017-04-11 12:53:58 -05:00
mfbt Bug 1357799 - Enable the diagnostic assert during the beta staged roll out period r=bholley 2017-04-19 18:07:04 +02:00
mobile Bug 1357786 - Use device CPU architecture in Fennec core ping r=sebastian 2017-04-19 10:25:01 -05:00
modules Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws 2017-04-11 13:47:31 -05:00
mozglue Bug 1346042 - [1.0] Mutex-lock LibHandle direct reference management. r=glandium 2017-04-18 16:08:40 +02:00
netwerk Bug 969715: remove INET and INET6 from sctp build env. r=jesup 2016-12-08 23:49:43 -10:00
nsprpub Bug 1350291, uplift NSPR_4_15_BETA, r=franziskus 2017-03-24 14:58:00 +01:00
other-licenses Bug 1345530 - add BUG_COMPONENT to other-licenses/* files. r=tbsaunde, mhowell, overholt 2017-04-05 08:31:10 -04:00
parser Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements (ones with hyphen). r=wchen 2017-04-12 14:28:49 +03:00
probes Bug 1344878 - add BUG_COMPONENT to probes/* files. r=Ms2ger 2017-03-24 09:50:48 -04:00
python Bug 1356937 - Avoid mach artifact toolchain failing to get taskcluster artifacts when they are not directly under public/. r=gps 2017-04-17 09:47:56 +09:00
rdf Bug 1353143 - Part 5: Replace direct usage of PR_LogPrint. r=froydnj 2017-04-04 14:36:21 -07:00
security merge mozilla-central to autoland. r=merge a=merge 2017-04-19 18:57:30 +02:00
services Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events. r=bsmedberg,markh 2017-04-04 13:51:16 -04:00
servo servo: Merge #16231 - stylo: Implement -moz-transform property (from canaltinova:moz-transform); r=Manishearth 2017-04-19 17:37:07 -05:00
startupcache Backed out changeset 7fdcabdbb675 (bug 1024669) for failing mda, GTest and talos jobs. r=backout on a CLOSED TREE 2017-04-10 19:05:44 +02:00
storage Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
taskcluster Backed out changeset 14010d77d56a (bug 1356933) for invisible bustage 2017-04-18 13:33:00 +08:00
testing Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws 2017-04-11 13:47:31 -05:00
third_party/rust Bug 1353994 - Part 1: Update the version of cssparser to 0.12.2. r=heycam, r=SimonSapin 2017-04-11 15:53:57 +08:00
toolkit Bug 1357804: Stop making metadata requests to AMO for system add-ons. r=rhelmer 2017-04-19 13:25:40 -07:00
tools merge mozilla-inbound to mozilla-central a=merge 2017-04-18 10:21:31 +02:00
uriloader Bug 1352348 - add a method to nsExternalHelperAppService that only fetches a string mimetype for an extension, r=bz,Paolo 2017-04-13 15:45:54 +01:00
view Bug 1351904 - Switch layout over to ArenaAllocator. r=xidorn 2017-03-31 14:06:33 -07:00
widget merge mozilla-inbound to mozilla-central a=merge 2017-04-19 10:32:48 +02:00
xpcom Bug 1313200 - Init AbstractThread properly and early. r=froydnj 2017-04-19 13:24:09 +08:00
xpfe Bug 1354068: fix uninitialized rv in some paths in nsWebShellWindow r=bdahl 2017-04-06 23:23:44 -04:00
.clang-format Bug 1322321 - Update the clang format file to match more our coding style r=ehsan 2016-12-06 17:43:17 -10:00
.clang-format-ignore Bug 1341423 - Integrate OpenVR binding library r=daoshengmu 2017-02-27 16:59:30 -08:00
.clang-tidy Bug 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan 2016-11-22 12:30:19 +01:00
.cron.yml Bug 1351306 - Move the UTC starttime of nightlies earlier. r=rail 2017-03-28 09:56:30 -04:00
.eslintignore Backed out 4 changesets (bug 1346825) for being the likely cause of devtools bustage a=backout CLOSED TREE 2017-04-13 11:23:18 -07:00
.eslintrc.js Bug 1352969 - Improve ESLint environment browser-window globals list, and automatically inject it into browser-window scripts. r=mossop 2017-03-09 17:17:26 +00:00
.flake8 Bug 1321956 - Disable flake8 check for 'visually indented line with same indent as next logical line', r=ahal 2016-12-08 09:53:21 -10:00
.gdbinit Bug 1317802 - don't stop for SIGSYS in .gdbinit; r=jld 2016-11-16 01:13:22 -05:00
.gdbinit_python
.gitignore Backed out 4 changesets (bug 1346825) for being the likely cause of devtools bustage a=backout CLOSED TREE 2017-04-13 11:23:18 -07:00
.hgignore Bug 1356679 - Add infer-out to .hgignore r=sebastian 2017-04-14 14:46:01 -07:00
.hgtags No bug - Tagging mozilla-central 6583496f169cd8a13c531ed16e98e8bf313eda8e with FIREFOX_AURORA_54_BASE a=release DONTBUILD CLOSED TREE 2017-03-06 23:43:32 +01:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit
.taskcluster.yml Bug 591688 - Notify when decision task fails r=dustin,gps 2017-04-12 21:01:46 -07:00
.ycm_extra_conf.py
aclocal.m4 Bug 1262155 - Use moz.build instead of libffi's build system. r=ted,glandium 2016-08-08 16:58:54 -07:00
Android.mk
AUTHORS Bug 1349980 - update task generation to support -g in try syntax for running OS X tasks in generic-worker,r=dustin 2017-04-06 18:50:41 +02:00
build.gradle Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian 2016-11-18 18:28:58 -08:00
client.mk Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium 2016-12-02 10:05:57 -08:00
client.py
CLOBBER Bug 1356151 - Clobber needed after bug 1353295 was backed out a=sheriffduty 2017-04-13 10:06:59 +02:00
configure.in Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
configure.py Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
Makefile.in bug 1355961 - add some sccache stats to build_metrics. r=gps 2017-04-12 15:06:22 -04:00
moz.build Bug 1262241 - Move the definition of the js library to a subdirectory. r=mshal 2017-04-04 11:43:14 +09:00
moz.configure Bug 1355584 Make NSIS an optional requirement for MINGW builds r=glandium 2017-04-12 11:21:13 -05:00
mozilla-config.h.in
npm-shrinkwrap.json Bug 1355776 - Upgrade ESLint to version 3.19.0 to pick up autofix improvements and other fixes. r=mossop 2017-04-12 12:07:01 +01:00
old-configure.in Bug 1357649 - Remove remnants of AudioChannelManager. r=bz 2017-04-19 15:55:28 +09:00
package.json Bug 1355776 - Upgrade ESLint to version 3.19.0 to pick up autofix improvements and other fixes. r=mossop 2017-04-12 12:07:01 +01:00
README.txt Bug 1349108 - Update links in README.txt to HTTPS r=RyanVM 2017-03-21 00:11:02 -04:00
settings.gradle Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/