Bobby Holley
e20ac68912
Bug 1291891 - Implement ServoStyleSet::ReplaceSheets. r=emilio
2016-08-03 18:30:56 -07:00
Bobby Holley
3c38d97aa1
Bug 1291891 - Don't segfault on null parent context in ServoStyleSet::ResolveStyleForOtherNonElement. r=emilio
2016-08-03 18:30:54 -07:00
Emilio Cobos Álvarez
e09cb4a0e8
Bug 1291863: Add some type replacements to fix the Servo binding generation. r=bholley
...
MozReview-Commit-ID: 63eXtp2otFa
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez
5011eb626b
Bug 1290335: stylo: Assert the snapshot is taken in ServoRestyleManager::AttributeChanged. r=heycam
...
Also fixes an embarrassing typo in the implementation of
ServoElementSnapshot::AddAttrs.
MozReview-Commit-ID: 7LHZVLo6j60
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez
7f36b64101
Bug 1290335: stylo: Allow processing change hints generated from Servo. r=heycam
...
MozReview-Commit-ID: Alc0wcXvHcD
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez
b2fc547e0a
Bug 1290335: Improve error message of the anonymous box assertion. r=heycam
...
MozReview-Commit-ID: 6cJSBz03Yji
2016-08-03 15:11:15 -07:00
Hiroyuki Ikezoe
fa5c6d91c3
Bug 1275142 - Allow a defect of restyle when the target element of SMIL animation is associated with an nsIFrame. r=birtles
...
Actually the check of restyle count after associating with the nsIFrame is
not a problem in this test. The purpose of this test is to check no restyles
when the target element has no associated nsIFrame.
We will fix the defect in bug 866411.
MozReview-Commit-ID: BFRJsbTGdkh
2016-08-04 06:18:48 +09:00
Bobby Holley
19f8c5faa5
Bug 1291390 - Make parsing mode an immutable property of the StyleSheet. r=heycam
2016-08-03 10:26:14 -07:00
Bobby Holley
9ee707ada1
Bug 1291390 - Use the parsing mode from the stylesheet when building preferences stylesheet. r=heycam
...
In practice this will be the 'agent' level rather than the 'author' level, given
the SetParsingMode call immediately after creating the stylesheet. This change
aligns behavior with CSSStyleSheet::ReparseSheet.
2016-08-03 10:26:14 -07:00
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
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
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
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