Commit Graph

52209 Commits

Author SHA1 Message Date
Frédéric Wang
feb1b8a1f3 Bug 1305944 - Update OTS to version 5.1.0. r=jfkthame
--HG--
extra : rebase_source : 37fea2d4cf91be8c887bbc55add05621bb07a1e1
2016-09-28 04:05:00 -04:00
cku
3c7e1e7013 Bug 1305636 - Part 3. Reftest. r=mstange
MozReview-Commit-ID: INf6F7eqVgD

--HG--
extra : rebase_source : 038f75ba4bdf3a0e422951dfdf106fbfc0727543
extra : source : 296a2c1333a784823d8a7eac680c4a2b03c25b02
2016-09-27 19:41:41 +08:00
cku
ec6eae0d07 Bug 1305636 - Part 2. Only apply opacity once in nsSVGUtils::PaintFrameWithEffects and nsSVGIntegrationUtils::PaintMaskAndClipPath. r=mstange.
MozReview-Commit-ID: 3eMlxEhNdCQ

--HG--
extra : rebase_source : 643fc601175eb4bbeda87345e6d22ff8c88d2d4d
2016-09-28 02:46:47 +08:00
cku
1637e35169 Bug 1305636 - Part 1. Revert the first patch in bug 1304991. r=me
MozReview-Commit-ID: 8sDINWlgPqu

--HG--
extra : rebase_source : bcd4d9ed5ed3fc0088e0f46c73f5946039769d3e
extra : amend_source : e972c04709573f2860372d49dc7ba0f48d65c8cc
2016-09-28 22:52:05 +08:00
Jonathan Kew
5cccc169fc Bug 1304353 followup, add a reftest using globalCompositeOperation with canvas text painting. r=bas 2016-09-28 16:07:06 +01:00
Michael Kaply
45150edb90 Bug 209637 - Add support for application/vnd.wap.xhtml+xml. r=bz 2016-09-28 09:48:17 -05:00
Carsten "Tomcat" Book
b5206d37f5 Merge mozilla-central to mozilla-inbound 2016-09-28 16:25:01 +02:00
Carsten "Tomcat" Book
572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Carsten "Tomcat" Book
c084656336 merge fx-team to mozilla-central a=merge 2016-09-28 15:55:25 +02:00
Dale Harvey
b694c34086 Bug 1267495 - Fallback to local config for fresh GMP installs. r=mconley, r=rhelmer, feedback=ksteuber 2016-09-27 11:57:41 +01:00
Xidorn Quan
a1db43df46 Bug 1279814 followup - Add crashtest for this bug. r=jfkthame
MozReview-Commit-ID: HViGSGNbscY

--HG--
extra : source : 0706234a33fd0d5b519700f051554bdcda3dd558
2016-09-28 12:11:18 +10:00
Bill McCloskey
6148c45952 Bug 1305165 - UpdateDisplayPortMarginsFromPendingMessages should use PCompositorBridge channel (r=kats) 2016-09-27 18:48:00 -07:00
Mats Palmgren
a35861c69d Bug 1255393 part 8 - [css-grid] Add/tweak reftests. 2016-09-27 17:05:41 +02:00
Mats Palmgren
24e5de8ccb Bug 1255393 part 7 - [css-grid] Update intrinsic max track sizing for span>1 to the latest Grid spec. r=dholbert
Step 2.5 "For intrinsic maximums" now use the min-size contribution.
https://hg.csswg.org/drafts/diff/575fb847e29d/css-grid/Overview.bs
https://drafts.csswg.org/css-grid/#algo-content
2016-09-27 17:05:41 +02:00
Mats Palmgren
cd4c23a413 Bug 1255393 part 6 - [css-grid] Update 'auto' min track sizing for span>1 to the latest Grid spec. r=dholbert
'auto' tracks now also gets an item's min/max-content contribution
(in 2.2/2.3) when sizing under a min/max-content constraint.
(Previously, 'auto' only got the min-size contribution under 2.1)
https://drafts.csswg.org/css-grid/#algo-content
2016-09-27 17:05:41 +02:00
Mats Palmgren
7a1dca9913 Bug 1255393 part 5 - [css-grid] Remove dead code related to obsolete flex track min-sizing. r=dholbert 2016-09-27 17:05:41 +02:00
Mats Palmgren
9aa8eef809 Bug 1255393 part 4 - [css-grid] Cache min/max-content and min-size contributions better. r=dholbert 2016-09-27 17:05:41 +02:00
Mats Palmgren
9ab65db5db Bug 1255393 part 3 - [css-grid] Update 'auto' min track sizing for span=1 to the latest Grid spec. r=dholbert
Now it returns the min/max-content contribution for intrinsic sizing.
Otherwise, i.e. during Reflow, return the min-size contribution.
(Previously, it always returned the min-size contribution.)
https://drafts.csswg.org/css-grid/#algo-content
2016-09-27 17:05:40 +02:00
Mats Palmgren
0f91dea2f7 Bug 1255393 part 2 - [css-grid] Update MinSize() to reflect the latest spec text for min-size contribution. r=dholbert
https://drafts.csswg.org/css-grid/#min-size-contributions
2016-09-27 17:05:40 +02:00
Mats Palmgren
d17a96db4a Bug 1255393 part 1 - [css-grid] Introduce a SizingConstraint enum type. r=dholbert 2016-09-27 17:05:40 +02:00
Olli Pettay
bddafc48dd Bug 1305309, backout Bug 1214805, r=backout
--HG--
extra : rebase_source : d86f67ef53b26027d739725829a2ee736d71221e
2016-09-27 01:03:24 +03:00
Xidorn Quan
1da4aa60e1 Bug 1304302 part 11 - Remove StyleSheetHandle as well as other places reference it. r=heycam
MozReview-Commit-ID: FfYZiShjJNX

--HG--
extra : source : b75ca959d5bc0128e643a58126693b4cc704e09b
2016-09-26 22:03:25 +10:00
Xidorn Quan
2f49a48a09 Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
This commit is generated by the following commands with some minor
manual adjustment:

find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
  -e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
  -e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
  -e 's/StyleSheetHandle()/nullptr/g' \
  -e 's/->AsStyleSheet()//g' \
  -e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp

MozReview-Commit-ID: 7abdvlKHukd

--HG--
extra : source : e5682242db07203b5a91810fe1e243c955310588
2016-09-26 22:03:25 +10:00
Xidorn Quan
4be4e1b982 Bug 1304302 part 9 - Make StyleSheet::SheetInfo inline. r=heycam
MozReview-Commit-ID: 9ZvnIBw6emI

--HG--
extra : source : d702a97c0e89cd948911307f7f6b131d64985177
2016-09-26 22:03:25 +10:00
Xidorn Quan
1dc2955ab8 Bug 1304302 part 8 - Change include of {CSS,Servo}StyleSheet.h to StyleSheetInlines.h. r=heycam
It is a preparation for later patch which moves functions from those
classes into StyleSheet. Some of the functions are better defined in
StyleSheetInlines.h.

This commit is generated by the following command:

find . \( -name '*.h' -or -name '*.cpp' \) -not -name '*StyleSheet*' -exec sed -i -b \
  -e '/^#include/ s_/\(CSS\|Servo\)StyleSheet\.h_/StyleSheetInlines.h_' \
  -e '1,\_^#include "mozilla/StyleSheetInlines.h"_ ! { \_^#include "mozilla/StyleSheetInlines.h"_d }' {} +

MozReview-Commit-ID: 54H5x27Pmso

--HG--
extra : source : e4fe253a8f82c3c58e5191d6af66fb0e85f2df19
2016-09-26 22:03:25 +10:00
Xidorn Quan
1b72d4bbf6 Bug 1304302 part 6 - Add cycle collecting support to pointer of StyleSheet. r=smaug
This is mostly copied from StyleSheetHandle which is being removed in
later patches. This is a temporary workaround to keep things working.
It should be removed soon when StyleSheet itself becomes a subclass
of nsISupports (which is expected to happen in bug 1292432).

MozReview-Commit-ID: Gqv0eRZgja5

--HG--
extra : source : 5d029c90a2e9187720bb21ef8329722a8fa3cae5
2016-09-26 22:03:25 +10:00
Xidorn Quan
708aff235a Bug 1304302 part 5 - Make StyleSheet::As{Gecko,Servo} return pointer instead of reference. r=heycam
To match the behavior of StyleSheetHandle so that we can simply replace
uses of StyleSheetHandle with StyleSheet* in later patch.

MozReview-Commit-ID: LfGKrUmzC4h

--HG--
extra : source : bffc3be53b1c1142b3ab297a78fc6e7934719d2c
2016-09-26 22:03:25 +10:00
Xidorn Quan
4d65721d59 Bug 1304302 part 4 - Add all methods StyleSheetHandle needs to StyleSheet. r=heycam
The methods are written in the same order as in StyleSheetHandle::Ptr.

MozReview-Commit-ID: 6b4311ailNj

--HG--
extra : source : 9cea4a56fc487dd21a8739d4d9be8f01d5fdc93c
2016-09-26 22:03:25 +10:00
Xidorn Quan
17e476532e Bug 1304302 part 3 - Use ServoStyleSheet* instead of Handle in ServoStyleSheet. r=heycam
MozReview-Commit-ID: WV8eRxSOnp

--HG--
extra : source : 1d1c23f2cf6dbc2a3fbfa8a74b401c8464e113cf
2016-09-26 22:03:25 +10:00
Xidorn Quan
e981c7e9be Bug 1304302 part 2 - Some small fixes. r=heycam
MozReview-Commit-ID: 7rnl4wkMorC

--HG--
extra : source : d3319119916b7ca8e36627cc086150f799481d97
2016-09-26 22:03:25 +10:00
Xidorn Quan
e8488364fe Bug 1304302 part 1 - Add const version of AsGecko/AsServo to StyleSheet. r=heycam
MozReview-Commit-ID: LGQQjmkTWsO

--HG--
extra : source : 337342b3376bdaff444ed1c3887d8eee80cfa9ee
2016-09-26 22:03:25 +10:00
Iris Hsiao
a09b58856d Merge mozilla-central to mozilla-inbound 2016-09-26 19:08:19 +08:00
Iris Hsiao
767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
Edwin Flores
2c4a3e9768 Bug 1304704 - Add fudge factor to asserts in ClampColorStops() - r=mstange 2016-09-26 09:54:13 +01:00
Kartikaya Gupta
30133fa012 Bug 1298886 - Fire magnify gesture events in the parent process if APZ is enabled but APZ zooming is disabled. r=botond,dvander
MozReview-Commit-ID: 1yhJW7OhI0A
2016-09-24 09:46:02 -04:00
cku
f42e498549 Bug 1304011 - Part 7. Fix several coding convention violations. r=mstange
MozReview-Commit-ID: BYhiQnlfR3a

--HG--
extra : rebase_source : eba1a5fcec8f502cfaf4ff0e1d09a321e533131c
2016-09-18 23:16:35 +08:00
cku
447951cfbc Bug 1304011 - Part 6. Handle nullptr returning from nsSVGClipPathFrame::GetClipMask. r=mstange
MozReview-Commit-ID: 2FBDE9fx1LT

--HG--
extra : rebase_source : d3b6ec7a36690002530da072f4fe9cdd5f4be8b8
2016-09-22 16:29:03 +08:00
cku
ae1b4eb085 Bug 1304011 - Part 5. Test case. r=mstange
MozReview-Commit-ID: HSZiLRZKtKO

--HG--
extra : rebase_source : c9e8fa93b4ecbb28b16966c29a6bfdca25c3fb40
2016-09-21 15:30:40 +08:00
cku
097d8da362 Bug 1304011 - Part 4. For css-mask, compute frame offset by the current frame. r=mstange
MozReview-Commit-ID: K6ZUoiA9jrC

--HG--
extra : rebase_source : 6a56e5d072062f06452e653187a0d6eb5d5c3eac
2016-09-22 13:38:55 +08:00
cku
07e41f0497 Bug 1304011 - Part 3. Add clip function in SetupContextMatrix, and give a frame to this function as the source of offset computing. r=mstange
MozReview-Commit-ID: 2ry6c1cECvb

--HG--
extra : rebase_source : 54fc13e3948179ec543b0c7f4c8cf342108992fd
2016-09-21 16:49:27 +08:00
cku
22ac005328 Bug 1304011 - Part 2. typedef nsSVGIntegrationUtils::PaintFramesParams to shorten code length. r=mstange
MozReview-Commit-ID: Iw7Khv8ee0r

--HG--
extra : rebase_source : d3f04ebed02703e5b37769baca312851c181e770
2016-09-22 11:12:54 +08:00
cku
bd65b2b725 Bug 1304011 - Part 1. Do not merge nsDisplayMask with css mask. r=mstange
MozReview-Commit-ID: 9Y8ccNieOF4

--HG--
extra : rebase_source : 42fcf40dfd7530a7eee4942ac60c8749820f0c0b
2016-09-18 18:47:02 +08:00
Tooru Fujisawa
1345e61d6a Bug 898984 - Part 3: Add testcase for surrogate pair in XUL cropped element. r=jfkthame 2016-09-24 10:06:00 +09:00
Jonathan Kew
594fdb205d Bug 1305700 - pt 3 & 4 - Clean up/simplify use of ENABLE_INTL_API conditionals in nsUnicodeProperties (code rearrangement, no change in behavior). r=m_kato 2016-09-28 10:52:51 +01:00
Mantaroh Yoshinaga
515f2a5fa0 Bug 1302007 part 4 - Remove unnecessary transition cancellation tests. r=hiro 2016-09-28 16:16:53 +09:00
Paul Bignier
6f90f92498 Bug 1282408 - add ignore-initialization-check annotation to mSourceGraphicIndex and mSourceAlphaIndex from nsSVGFilterInstance. r=dbaron 2016-09-15 16:41:45 +02:00
Paul Bignier
ca84cca424 Bug 1282408 - Add ignore-initialization-check annotation to mStatus from SheetLoadData. r=dbaron 2016-09-26 16:55:53 +02:00
Paul Bignier
4962774e96 Bug 1282408 - Add ignore-initialization-check annotation to mSpeakAs from CustomCounterStyle. r=xidorn+moz 2016-09-28 08:50:18 +02:00
Carsten "Tomcat" Book
6029d72706 Merge mozilla-central to autoland 2016-09-23 12:48:43 +02:00
Jeremy Chen
05b7065953 Bug 1305004 - fix ReResolveStyleContext related comments. r=heycam
Fix comment only, NPOTB, DONTBUILD.

MozReview-Commit-ID: APxOg5yVw7A

--HG--
extra : rebase_source : a48180811fedda97eaf374a7777374f8c3616ce3
2016-09-23 18:08:01 +08:00