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

9377 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley 1dfd6a8070 Bug 1291390 - Hoist the ParsingMode getter to the superclass and give it a special binary name for WebIDL. r=bholley,r=heycam
In the next patch we want to introduce an accessor called ParsingMode, which conflicts with this one.
2016-08-03 10:26:14 -07:00
Hiroyuki Ikezoe 99d11e5e5f Bug 1290994 - Do not multiply 0 by infinity in nsCSSScanner::ScanNumber. r=heycam
Without this patch test cases 1290995-{1,2,3}.html causes an assertion.
1290995-4.html is hit by the assertion in this patch if we don't avoid the
multiplication.

MozReview-Commit-ID: AtPVyPtd0r8

--HG--
extra : rebase_source : 43dbbbb98eb95faa15774b206a5776f43b1ea072
2016-08-03 19:09:58 +09:00
Carsten "Tomcat" Book eeacfbeff0 merge mozilla-inbound to mozilla-central a=merge 2016-08-03 17:03:41 +02:00
Cameron McCormack 41505f6b25 Bug 1291207 - Pass base URI string to Servo_StylesheetFromUTF8Bytes. r=bholley
MozReview-Commit-ID: KrsEycGJMFl

--HG--
extra : rebase_source : 2a29870cc51aff18d91a9644a53116e26f10f065
2016-08-02 17:05:22 +08:00
Carsten "Tomcat" Book 423bdfd2fd Merge mozilla-central to mozilla-inbound
--HG--
rename : dom/media/platforms/apple/ReorderQueue.h => dom/media/platforms/ReorderQueue.h
2016-08-03 17:08:41 +02:00
cku 9e967a4f21 Bug 652991 - Part 9. Using FragmentOrURL to represent PanitServer url. r=heycam
MozReview-Commit-ID: IZf0fGantoB

--HG--
extra : rebase_source : 201786ad6a890bb96f5f4384b1420802c926373f
extra : source : 1a80ce736d77b1dba6d9cf53c8a20b5a6078ac6d
2016-07-05 01:00:15 +08:00
cku 856763a293 Bug 652991 - Part 7. Using FragmentOrURL to represent SVG filter url. r=heycam
MozReview-Commit-ID: F6BpTQfC82i

--HG--
extra : rebase_source : 07c2e6fb662b00c453a5d491722267f810ef3fa7
extra : source : 3e53712a3b48bb771a2faeafc1603eb10fbb851f
2016-07-23 16:16:59 +08:00
cku 25577ba9c8 Bug 652991 - Part 5. Using FragmentOrURL to represent SVG clippath. r=heycam
MozReview-Commit-ID: BErpWUQ5iQ1

--HG--
extra : rebase_source : 16ed0cd6bb1fd3bc7ac91b33078c9938306a69b6
extra : source : fd15e7962cffec5b2c1f101a36e32dcdce17146c
2016-07-05 00:59:57 +08:00
cku 385c8ddfb0 Bug 652991 - Part 3. Using FragmentOrURL to represent SVG maker url. r=heycam
MozReview-Commit-ID: IQDGL7j5p1q

--HG--
extra : rebase_source : 3dcfca05e5dd9056c6a332da1e4caa2e7aeaa4b3
2016-06-24 02:11:51 +08:00
cku 05cf37818b Bug 652991 - Part 2. Create FragmentOrURL to hold both local-ref/non-local-ref URL. r=heycam
MozReview-Commit-ID: FVPNqxk3Uyr

--HG--
extra : rebase_source : 4777d3785e4e1794d223fad66a0780f2e79d0511
2016-06-18 00:02:43 +01:00
cku bf6722fc83 Bug 652991 - Part 1. Carry local-url-flag in URLValueData. r=heycam
MozReview-Commit-ID: 8Qvaa27LCv0

--HG--
extra : rebase_source : 2635da5a05db20872577f35f7fd1385b58b7c194
2016-06-15 16:11:05 +01:00
Michael Layzell 5800e6b7d7 Bug 1281935 - Part 2: Remove the FakeRef hack added in Bug 1283620, r=bholley 2016-08-02 15:27:43 -04:00
Jonathan Kingston 556ed99119 Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug
If the mathml.disabled preference is true, treat <math> and other MathML
elements as generic XML elements.

This patch disables the rendering code of MathML however preserves the
namespace so to reduce the breakage.

Original patch by: Kathy Brade <brade@pearlcrescent.com>

MozReview-Commit-ID: A2f2Q2b4eqR

--HG--
extra : rebase_source : 3c8530816727c01b68a831d560bfe16e7b02bd9d
2016-06-28 15:24:48 +01:00
Cameron McCormack df79678440 Bug 1281081 - Convert image request setting macros into a function with a callback. r=xidorn
MozReview-Commit-ID: 91uN8S8nEgp
2016-06-22 19:49:04 +10:00
Kevin Chen dc9ffec776 Bug 1285320 - Part 2: Purge border-image cache when hypothetical SVG viewport changes, if using SVG image with no aspect ratio. r=dholbert 2016-07-31 20:24:00 -04:00
Kevin Chen eac3fc0e13 Bug 1285320 - Part 1: Add struct "CachedBorderImageData" to keep cached data for border in nsStyleImage. r=dholbert 2016-07-31 20:23:00 -04:00
Emilio Cobos Álvarez 9efb158ac7 Bug 1287951: followup: Know if a snapshot belongs to a HTML element in an HTML document at construction time. r=heycam
MozReview-Commit-ID: eN0j8vnesa
2016-07-30 15:03:31 -07:00
Carsten "Tomcat" Book 0e6ff44be3 Merge mozilla-central to mozilla-inbound 2016-07-29 12:34:10 +02:00
Carsten "Tomcat" Book 7af8998e6c Backed out changeset acf56d9e08c5 (bug 1285320) for conflicting with merge from m-c to mozilla-inbound 2016-07-29 12:33:14 +02:00
Carsten "Tomcat" Book 491983e333 Backed out changeset a0b872e47ecf (bug 1285320) 2016-07-29 12:32:59 +02:00
Carsten "Tomcat" Book 8c47612fee merge mozilla-inbound to mozilla-central a=merge 2016-07-29 11:56:43 +02:00
Bobby Holley 6255cd0c72 Bug 1290214 - Remove NS_ERROR for {un,partially-}implemented ServoRestyleManager and ServoStyleSet methods. r=emilio
These are core methods that we know we need to implement, and I'm not worried that
we'll forget about them. The warnings should be enough here.
2016-07-28 17:25:53 -07:00
Bobby Holley d5aeede891 Bug 1290214 - Remove NS_ERRORs in css::Loader. r=emilio 2016-07-28 17:25:43 -07:00
Neerja Pancholi d660b8cb84 Bug 1288797 - Replace nsAutoPtr with UniquePtr in nsStyleStruct.h (for variable "mCropRect") r=dholbert
MozReview-Commit-ID: 1UFbO0jgM1k

--HG--
extra : rebase_source : 577c45b90653482ec2d5baab679c743cc68ac872
2016-07-28 15:06:02 -07:00
Jonathan Chan 95f96fd0dd Bug 1290320 - Add missing include to nsStyleSet.h. r=bholley
MozReview-Commit-ID: PRSFRX9Oru

--HG--
extra : rebase_source : 7f964a1b0371eb6b986b165e3fc100139469ce1c
2016-07-28 18:41:08 -07:00
Manish Goregaokar 38e52065f0 Bug 1290061 - stylo: Mark nsStyleUnion/Unit fields as unsafe and private for bindgen; r=bholley
MozReview-Commit-ID: 6K38Gvbn4vn

--HG--
extra : rebase_source : afad5ea307d17c86ad4fb6be32f577f656c5f76f
2016-07-28 17:53:19 +05:30
Carsten "Tomcat" Book 37be51f16a merge mozilla-inbound to mozilla-central a=merge 2016-07-28 17:43:03 +02:00
Jeremy Chen c9f52459aa Bug 1289007 - part1: parse and compute initial-letter property. r=heycam
MozReview-Commit-ID: E0eXolZ93oJ

--HG--
extra : rebase_source : 3fc74b84a488bb495f926b420aa6c06a987e09b2
2016-07-28 15:23:36 +08:00
Jeremy Chen eda421bf9b Bug 1289007 - part0: remove redundant codes in ParsePropertyByFunction. r=heycam
CSS align and CSS justify share same parsing function under some conditions.
Let's make these switch branches stick together, so we can remove a bit redundant
codes.

MozReview-Commit-ID: 49IKvqhLSt4

--HG--
extra : rebase_source : 5d8a6aca331a7b3067aeeb865ce624da7cc4dd4a
2016-07-28 15:23:36 +08:00
Cameron McCormack 8f06979688 Bug 1289710 - Allow KTableEntry objects to be initialized with enum values of appropriate size. r=xidorn
MozReview-Commit-ID: JluYrYmy5z1

--HG--
extra : rebase_source : a79d94130c339c58f3c1055da68f118d1320ccf3
2016-07-28 15:40:09 +08:00
Kevin Chen 904a5a0513 Bug 1285320 - (Part 2) Purge border-image cache when hypothetical SVG viewport changes, if using SVG image with no aspect ratio. r=dholbert
--HG--
extra : rebase_source : 76dd4f87d83b7435870a9d4cc4262d2938f7e5c4
2016-07-29 01:05:00 +02:00
Kevin Chen 2850db7128 Bug 1285320 - (Part 1) Add struct "CachedBorderImageData" to keep cached data for border in nsStyleImage. r=dholbert
--HG--
extra : rebase_source : 5c654bd0dab03864ed1e1bf2883525bccea73d8a
2016-07-28 03:12:00 +02:00
Cameron McCormack 9f39a5920a Bug 1290023 - Allow enum class values to be passed to other nsCSSProps methods and stored in nsCSSValue/StyleAnimationValue. r=xidorn
MozReview-Commit-ID: 62usVamI3GA
2016-07-29 16:18:48 +08:00
Chris Peterson 09cf0a5c66 Bug 1289991 - Remove VS2013 string literal workaround from nsCSSProps.cpp. r=xidorn 2016-07-27 23:53:10 -07:00
Jonathan Chan da1ba5c6ef Bug 1290269 - Add missing includes to nsStyleStruct.cpp. r=dholbert
MozReview-Commit-ID: 1dsnqyvAanr

--HG--
extra : rebase_source : d64f942cb059af1f2a1c7cea0d03bad140caaf84
2016-07-28 14:51:12 -07:00
Bobby Holley e18d0ea3db Bug 1289622 - Add an API for Servo traversal to call CalcStyleDifference. r=heycam 2016-07-27 13:35:14 -07:00
Bobby Holley fe8622a540 Bug 1289622 - Add the ability to store change hints on the style context. r=heycam 2016-07-27 13:35:12 -07:00
Bobby Holley 747712c081 Bug 1289622 - Add a ServoComputedValues* overload for CalcStyleDifference. r=heycam 2016-07-27 13:35:11 -07:00
Bobby Holley 9f75d89883 Bug 1289622 - Delegate CalcStyleDifference to a templated helper. r=heycam 2016-07-27 13:35:09 -07:00
Bobby Holley 46c7fed6d0 Bug 1289624 - Switch to UniquePtr for managing ServoNodeData. r=heycam 2016-07-27 13:34:55 -07:00
Emilio Cobos Álvarez 11ac7c1d96 Bug 1288590: Rename nsAttrInfo to mozilla::dom::BorrowedAttrInfo. r=bholley
Unfortunately couldn't add all the debug checks that I'd want, since we can't
assert that is not safe to run script in quite a few places :(

MozReview-Commit-ID: 8m3Wm1WntZs
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez 0bbe4a681c Bug 1288590: Use GetAttrInfoAt in ServoBindings.cpp. r=bholley
MozReview-Commit-ID: 5tglYnx8pJk
2016-07-27 11:18:33 -07:00
Bobby Holley 64639661c1 Bug 1289620 - Hook up initial styling. r=heycam
Aside from the parser-side hacks, this should subsume all the current scattered
logic in the stylo tree to handle initial styling.
2016-07-27 09:44:25 -07:00
Emilio Cobos Álvarez 042b18ee72 Bug 1288873: Don't propagate the IS_DIRTY flag down the whole tree, just make it
imply that all descendants are dirty. r=heycam

We're probably going to be a lot more smarter than this in the future, but since
there is work in progress to figure out how should we avoid running
selector-matching on the elements, this helps a lot with perf in the meantime.

MozReview-Commit-ID: CEb15JwHAdH
2016-07-27 09:35:20 -07:00
Carsten "Tomcat" Book 7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Daisuke Akatsuka 4f153efd27 Bug 1264865 - Part 3: Remove codes that are no longer in use. r=birtles
MozReview-Commit-ID: Dhrco8madlz

--HG--
extra : rebase_source : b26d9d25c2dd54f7ec0e12dd51127229cb085346
2016-07-27 10:13:17 +09:00
Daisuke Akatsuka a579826684 Bug 1264865 - Part 2: Remove trailing whitespaces. r=birtles
MozReview-Commit-ID: AFdXnvmbFfD

--HG--
extra : rebase_source : b3d4c0d830852686aa576a18562e340c846f75e9
2016-07-27 10:13:04 +09:00
Daisuke Akatsuka 92b6c55c8d Bug 1264865 - Part 1: steps(3, end) should serialize using the shorter steps(3) syntax. r=birtles
MozReview-Commit-ID: HBukw3qjyrr

--HG--
extra : rebase_source : 53bdcefc66cffa92c438bb3be794e6537533461c
2016-07-27 10:12:43 +09:00
Hiroyuki Ikezoe cf4652beb1 Bug 1277908 - Crashtest; r=birtles
MozReview-Commit-ID: 6MZRobuKQse
2016-07-27 17:28:39 +09:00
Ethan Lin aa628b5054 Bug 720531 - Part 1. Implement space of border-image-repeat CSS property. r=dbaron 2016-07-12 21:50:00 +02:00
Boris Chiou 39b242ab37 Bug 1272475 - Part 1: Clamp max/min float value in the parser of CSS Transform function. r=heycam
To avoid calculate +/-infinite function value, we clamp it in the parser level.
Also, we use EnsureNotNan while calculating the interpolation for translate
function, so it's also better to do EnsureNotNan before call SetFloatValue()
while calculating the interpolation for rotate (AddCSSValueAngle) and scale
functions.

MozReview-Commit-ID: 1k19ytyNG1N

--HG--
extra : rebase_source : 73f152b52e067d52a1925215ad78a4c5cc736fd7
2016-07-20 15:14:05 +08:00
Ting-Yu Lin fe89202517 Bug 1289052 - Move nsRuleNode methods as static functions to .cpp file. r=heycam
MozReview-Commit-ID: 7tG2NlvQzGz

--HG--
extra : rebase_source : dc44ac14f3cdbb73c1425b078a63394da2f96e81
2016-07-25 17:26:44 +08:00
Manish Goregaokar [:manishearth] c513d33161 Bug 1288383 - "Replace clip-path, box-shadow, float-edge, and user-focus consts with enum classes" bustage fix. a=tomcat 2016-07-25 02:27:00 +02:00
Manish Goregaokar 52b9ca33f3 Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
MozReview-Commit-ID: A7BYcfsn1tI

--HG--
extra : rebase_source : b893331b173a306143e546f0d403ae25f827fae2
2016-07-25 11:56:40 +05:30
Manish Goregaokar d78a51cbcc Bug 1288383 - Replace NS_STYLE_FLOAT_EDGE_* with an enum class; r=heycam
MozReview-Commit-ID: FrH5kGWeXkL

--HG--
extra : rebase_source : 73c3446ba07f31f3fbfb6eca304ebe88cccf359a
2016-07-25 11:56:05 +05:30
Manish Goregaokar b3653dd18e Bug 1288383 - Replace NS_STYLE_BOX_SHADOW_* and NS_STYLE_BASIC_SHAPE_* with enum classes; r=heycam
MozReview-Commit-ID: EgC9rPNXbod

--HG--
extra : rebase_source : 8bd51a9bd776c02979093a0ec76cfc42bcee8ffd
2016-07-25 11:53:27 +05:30
Manish Goregaokar f4dffe63a1 Bug 1288383 - Replace NS_STYLE_CLIP_PATH_* with an enum class; r=heycam
MozReview-Commit-ID: H6nwOybonF3

--HG--
extra : rebase_source : db3ab986f7708540219cefa18a21b4624a2dc27a
2016-07-25 11:52:34 +05:30
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Cameron McCormack d4b9fb7cfb Fix enum indentation; no bug.
MozReview-Commit-ID: 27Qpn9fG41U
2016-07-22 10:23:25 +08:00
Emilio Cobos Álvarez 253dfd8aad Bug 1287951: stylo: Add support for computing style hints from Servo. r=heycam
MozReview-Commit-ID: ALuJxcfAMuL
2016-07-21 16:57:52 -07:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Ting-Yu Lin 820f88de49 Bug 1277129 Part 1c - Rename nsHTMLReflowState to ReflowInput. r=dbaron
This patch is generated by the following script:

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename nsHTMLReflowState ReflowInput

MozReview-Commit-ID: 9r9vdVv1pXc

--HG--
extra : rebase_source : 623ec822996ba0ea0058dd137acf5a658cdea04a
2016-07-21 18:36:35 +08:00
Ting-Yu Lin d444310eb1 Bug 1277129 Part 1b - Rename nsHTMLReflowState.h/cpp to ReflowInput.h/cpp and fix #includes. r=dbaron
The #includes are fixed by the following script:

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "nsHTMLReflowState\.h" "mozilla\/ReflowInput\.h"

MozReview-Commit-ID: FjwHA4YRHNv

--HG--
rename : layout/generic/nsHTMLReflowState.cpp => layout/generic/ReflowInput.cpp
rename : layout/generic/nsHTMLReflowState.h => layout/generic/ReflowInput.h
extra : rebase_source : e4215620717df436a51243cee689286cfabc7c71
2016-07-21 18:36:34 +08:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Hiroyuki Ikezoe 7b1125457a Bug 1282076 - Store all non-inherited structs which are stored on the rule node on the style context if we have animation data. r=heycam 2016-07-21 06:12:41 +09:00
Carsten "Tomcat" Book 241ae512ec Merge mozilla-central to autoland 2016-07-20 11:24:44 +02:00
Carsten "Tomcat" Book 8428cd56e3 merge mozilla-inbound to mozilla-central a=merge 2016-07-20 11:20:15 +02:00
cku 4d83e423f5 Bug 1235494 - Optimize nsStyleImageLayers::Layer::CalcDifference r=dbaron
MozReview-Commit-ID: K8lxA8S4EW2

--HG--
extra : rebase_source : 229f90c65ab204330063b09314e83fbfdb2727cc
2016-07-19 12:35:44 +08:00
Thomas Wisniewski 051c21928e Bug 843579 - Unprefix -moz-any-link. r=bz
--HG--
extra : rebase_source : d5ad8227cc118491f130e1fef01829c594cc9477
2016-07-19 23:13:13 -04:00
Manish Goregaokar 8add405354 Bug 1287755 - Replace NS_STYLE_CLIP_SHAPE_SIZING_* with an enum class; r=heycam
MozReview-Commit-ID: KutLb8H9JOk

--HG--
extra : rebase_source : ae38fcb7ebc8c6d5a8c77c773c8706580e41040c
2016-07-20 11:12:42 +05:30
Cameron McCormack c233ad3334 Bug 1287382 - Hook up the 1-arg version of CSS.supports() to the Servo backend. r=dholbert
MozReview-Commit-ID: EDQGXOVgWEC

--HG--
extra : rebase_source : 66583e4a5961404d9c6da9a21466041d710a87ed
2016-07-18 16:29:04 +08:00
Cameron McCormack 037f4f8a4b Bug 1287383 - Support style="" attributes longer than 255 characters when using the Servo style backend. r=emilio
MozReview-Commit-ID: 9o5Go7lnAhG

--HG--
extra : rebase_source : 822420930ae7c74f56258a82d90cf3b46c7317c9
2016-07-18 16:36:59 +08:00
Jeremy Chen 9d8ddf9b2d Bug 1287308 - part1: replace uses of NS_STYLE_HINT_NONE with nsChangeHint(0). r=dbaron
MozReview-Commit-ID: CN66AimiuEu

--HG--
extra : rebase_source : 6caaa30e9afa8645ea31c4918230ba2ec53bc74a
2016-07-17 22:20:21 +08:00
Carsten "Tomcat" Book a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Emilio Cobos Álvarez f526a25d70 Bug 1286445: Stub out HasStateDependentStyle. r=heycam
MozReview-Commit-ID: CbHfVNHFVS3
2016-07-16 16:22:12 -07:00
Emilio Cobos Álvarez 1a49c35a07 Bug 1286445: stylo: Support restyles of non-pseudo content on state change. r=heycam
This includes, for example :hover.

Also removes the call to IsStyledByServo() in the document constructor, it's not
only unnecessary, but also we call UpdateStyleBackendType() too early.

MozReview-Commit-ID: 4YfCdmLoSxu
2016-07-16 16:22:12 -07:00
Kartikaya Gupta 504b319a29 Bug 1287185 - Disable paint skipping for scrollframes with background-attachment:local. r=mstange
MozReview-Commit-ID: GMgIyxUd20c

--HG--
extra : rebase_source : 2fec3dd0a02aa0ab6eab69e9e6ee6229863be10e
2016-07-15 15:56:39 -04:00
Carsten "Tomcat" Book 7c0644d587 Merge mozilla-central to mozilla-inbound 2016-07-14 11:56:37 +02:00
Carsten "Tomcat" Book bfcc10319e merge mozilla-inbound to mozilla-central a=merge 2016-07-14 11:45:54 +02:00
Boris Zbarsky 63c6b08058 Bug 790997. Align our tokenization of CSS bad-url-token with the CSS Syntax Level 3 CR. r=heycam,tromey
The main change is that once we discover we have a bad-url-token we consume
everything up to, but not including, the next ')' character.  While we do this
we can cross line boundaries and don't bother about matching braces or quotes.
We just keep going until we find the ')' or hit EOF.
2016-07-13 22:54:20 -04:00
Carsten "Tomcat" Book 564f508e43 merge mozilla-inbound to mozilla-central a=merge 2016-07-13 17:27:34 +02:00
cku 8f3fdeb04e Bug 1286299 - Fix getComputedStyle value of a local URI mask-image. r=dholbert
MozReview-Commit-ID: 9gXE4bQrMTG

--HG--
extra : rebase_source : 55cd76b93a4c7b2a9b495fb63f1630313a595497
2016-07-13 22:08:33 +08:00
Hiroyuki Ikezoe cf0599e349 Bug 1275142 - Ensure display style change is painted. r=birtles
MozReview-Commit-ID: 5CylqPdRFhE
2016-07-13 16:22:02 +09:00
cku e25d5a9215 Bug 1286337 - Part 2. Update initial_values of background and mask in property_database.js r=heycam
MozReview-Commit-ID: CgRUeCphr17

--HG--
extra : rebase_source : 48de097b3ea8b6beb2e0c62d4026b8a469233670
2016-07-13 10:44:04 +08:00
cku cb324e82b1 Bug 1286337 - Part 1. Correct default value of mask-origin. r=heycam
MozReview-Commit-ID: G8qfOLEHsj3

--HG--
extra : rebase_source : 73accaf8fd04118860930b4150314a31c00a1368
2016-07-13 03:22:36 +08:00
Carsten "Tomcat" Book 66a84ab34f Merge mozilla-central to autoland 2016-07-12 16:45:24 +02:00
Hiroyuki Ikezoe 123f9c80bd Bug 1278485 - Part 1: Limit y1 and y2 control points for cubic-bezier to avoid overflows. r=birtles
MozReview-Commit-ID: Bls260r7Sqn

--HG--
extra : rebase_source : bd836b8bd0666ce5c387aeb91149587d93db386d
2016-07-12 16:24:42 +09:00
Carsten "Tomcat" Book bd92616152 merge mozilla-inbound to mozilla-central a=merge 2016-07-11 16:21:15 +02:00
Carsten "Tomcat" Book 0d2c8ddbb2 Merge mozilla-central to autoland 2016-07-11 11:51:22 +02:00
Hiroyuki Ikezoe 2b220f490f Bug 1285407 - Part 3: Remove UpdateCascadeResults call because it's called against the same nsStyleContext from MaybeUpdateAnimationRule. r=birtles
MozReview-Commit-ID: FrrFLq9S2f4

--HG--
extra : rebase_source : 20d9329b0b801fa78cf8889f404a6cc0ac011a69
2016-07-11 17:28:17 +09:00
Hiroyuki Ikezoe 495f6aae06 Bug 1285407 - Part 1: Pass a newly created nsStyleContext to GetAnimationRule and MaybeUpdateAnimationRule. r=birtles
While resolving style context, the primary frame of the target element
has previous style context so if we don't pass the newly created nsStyleContext,
UpdateCascadeResults uses the previous style to get overridden properties, it
will result unexpected cascading results.

MozReview-Commit-ID: osqXQlP43X

--HG--
extra : rebase_source : 1b34f9245367c2613807156559f09f5f2943458c
2016-07-11 17:28:14 +09:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Carsten "Tomcat" Book c5e638ab8c Merge mozilla-central to mozilla-inbound 2016-07-08 12:16:57 +02:00
Carsten "Tomcat" Book 75e7b5bab2 merge fx-team to mozilla-central a=merge 2016-07-08 11:57:15 +02:00
Wes Kocher 86a74db006 Merge m-c to autoland, a=merge 2016-07-07 17:36:17 -07:00
Jonathan Chan 1a5bdaf720 Bug 1285365 - Part 2: Add missing includes and namespace qualifiers. r=dholbert
MozReview-Commit-ID: 5vDmc1yGe1P

--HG--
extra : rebase_source : 32900ffc0d09943f85bbe5c289f2ce6cede20c47
2016-07-07 14:05:28 -07:00
Jonathan Chan 50f570bb20 Bug 1285365 - Part 1: Remove trailing whitespace from nsCSSParser. r=dholbert
MozReview-Commit-ID: HNHfHK3d2BR

--HG--
extra : rebase_source : e105c292aa8a55c8a9fc068d548866241582e162
2016-07-07 14:05:23 -07:00
Masayuki Nakano fb4c83aca3 Bug 1260651 part.31 Rename AddStyleSheetTxn and RemoveStyleSheetTxn to mozilla::AddStyleSheetTransaction and mozilla::RemoveStyleSheetTransaction r=mccr8
This patch also moves ImplCycleCollectionTraverse() and ImplCycleCollectionUnlink() to mozilla namespace for avoiding bustage due to confusion caused by "using namespace" in other unified cpp files.

MozReview-Commit-ID: GekPlZnqLs9

--HG--
rename : editor/libeditor/nsStyleSheetTxns.cpp => editor/libeditor/StyleSheetTransactions.cpp
rename : editor/libeditor/nsStyleSheetTxns.h => editor/libeditor/StyleSheetTransactions.h
2016-07-07 17:20:22 +09:00
Brian Birtles 3dedc86d90 Bug 1277908 - Keep visited rule node alive while creating non-visited style context; r=dholbert
MozReview-Commit-ID: Eqti28E14Jp

--HG--
extra : rebase_source : b1ab439dd85e87c11dcc5a85b70fcc21a48e328e
2016-07-08 13:17:42 +09:00
Gregory Szorc f21ec324a6 Merge mozilla-central to mozilla-inbound 2016-07-06 18:30:58 -07:00