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
Wes Kocher
ae855cdb28
Merge m-c to inbound, a=merge
2016-08-03 16:47:07 -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
5d8a772fcd
Bug 1290335: Make ProcessRestyledFrames non static, and tidy up a bit. r=heycam
...
MozReview-Commit-ID: 4aALVtI5DXT
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez
abbea0a9d6
Bug 1290335: Implement dumb versions of RestyleForAppend and RestyleForInsertOrChange. r=heycam
...
This lets us take rid of the delay-layout hack on the stylo branch.
MozReview-Commit-ID: 9fqhBCQnfYV
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez
789c630dba
Bug 1290335: Reuse the OverflowChangedTracker between both restyle managers. r=heycam
...
MozReview-Commit-ID: objnqfecZD
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
5f6238d913
Bug 1290335: Hoist GetNextContinuationWithSameStyle to RestyleManagerBase. r=heycam
...
MozReview-Commit-ID: 3Jz9Od5xav0
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
Emilio Cobos Álvarez
95abaaa872
Bug 1290335: Hoist frame-construction logic in RestyleManager to static members in RestyleManagerBase. r=heycam
...
MozReview-Commit-ID: BqywJXZ0CYU
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez
6973c87a4e
Bug 1290335: stylo: Hoist OverflowChangedTracker to its own file. r=heycam
...
MozReview-Commit-ID: 8QZC1VgKiZs
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
Emilio Cobos Álvarez
ff065c3a99
Bug 1288938: Allow passing different reasons to dirty a non display SVG text frame. r=heycam
...
Otherwise, when a glyph changes, we might end up doing too much work, destroying
the text-run and the observer that dirtied the frame, causing an assertion when
trying to delete it from the observer set.
MozReview-Commit-ID: LMQVr6pYFVM
2016-08-03 10:53:37 -07:00
Emilio Cobos Álvarez
e1e6b574d9
Bug 1288938: layout: Move the GlyphObserver to the text run instead of the frame. r=jfkthame
...
MozReview-Commit-ID: KphTCkcZeid
2016-08-03 10:53:37 -07: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
Botond Ballo
9ee2ae8d53
Bug 1287075 - Back out bug 1273250
, part 4 for regressing the rendering of the Australis submenus. r=mstange
...
MozReview-Commit-ID: 1m8lVoIX3qT
--HG--
extra : rebase_source : ff3a2c7d9025e3edc310b4c289a6149eb9d1b8d5
2016-08-03 13:48:10 -04:00
Myk Melez
4e07b6e29b
Bug 1291889 - specify CPP_THROW_NEW on definition of function whose declaration specifies it r=tnikkel
...
MozReview-Commit-ID: 9a8hLbfJbkl
--HG--
extra : rebase_source : 114072d12c3f7ea619b0cdf2b1e81e48d68e721b
2016-08-03 14:22:06 -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
Alexandre Lissy
0af5b943b6
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Carsten "Tomcat" Book
6b13b3cde6
Merge mozilla-central to autoland
2016-08-03 17:08:48 +02:00
Carsten "Tomcat" Book
eeacfbeff0
merge mozilla-inbound to mozilla-central a=merge
2016-08-03 17:03:41 +02:00
Tom Schuster
473d3dc22d
Bug 1197324 - Fix new warnings. r=froydnj
2016-08-03 14:37:31 +02:00
Neil Deakin
147caccc2c
Bug 1194027, add a flag to select elements to indicate if the parent process has the popup open, r=mrbkap
2016-08-03 07:45:46 -04:00
Neil Deakin
165602e28b
Bug 1289528, fire click event at option, not at select, r=mconley
2016-08-03 07:45:45 -04:00
Neil Deakin
e375813b04
Bug 1159301, clear the mouse capture whenever a menu is opened, r=tn
2016-08-03 07:45:45 -04:00
Masayuki Nakano
78b4a701e3
Bug 1259665 part.3 Rename WidgetPointerEvent::isPrimary to mIsPrimary r=smaug
...
MozReview-Commit-ID: LfKzpwCjMcz
--HG--
extra : rebase_source : d4fd41db8ff4dc39a7156f2f509aae89d1c126a1
2016-08-03 17:34:53 +09:00
Masayuki Nakano
b38025c056
Bug 1259665 part.2 Rename WidgetPointerEvent::height to mHeight r=smaug
...
MozReview-Commit-ID: Ji4X53dByiH
--HG--
extra : rebase_source : 0e79a45d34142453e79f2412eddb7abc132e11d7
2016-08-03 17:23:56 +09:00
Masayuki Nakano
924e7f39e5
Bug 1259665 part.1 Rename WidgetPointerEvent::width to mWidth r=smaug
...
MozReview-Commit-ID: 3V5gyOvPuQi
--HG--
extra : rebase_source : 6adf7908e8a84bc2cfb86d8f7823662f1b72170f
2016-08-03 17:18:04 +09: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
Kartikaya Gupta
6d50a6b8e2
Bug 1195722 - Add a new pref to enable the accessible carets if touch events are supported, and enable the pref on nightly. r=tylin
...
MozReview-Commit-ID: 2eaVJ4fLqjt
2016-08-03 12:00:22 -04:00
Kartikaya Gupta
ea0f7627b9
Bug 1195722 - On desktop, allow the context menu to pop up concurrently with text selection. r=tylin
...
On desktop, the context menu is shown when the user lifts their finger after
a long press, but only if the eMouseLongTap event is not cancelled. So by
not cancelling it, we allow both the text selection and the context menu.
On Android, the context menu takes priority over text selection, so this
has no effect (i.e. if the context menu is shown, then the AccessibleCaret
code never even gets the eMouseLongTap event). Also on Android nothing
else relies on the cancellation of the eMouseLongTap event, so this change
is a no-op.
MozReview-Commit-ID: peFzB2afha
2016-08-03 12:00:19 -04:00
cku
e5a7157308
Bug 652991 - Part 12. Correct pointer/refernce parameter convention. r=me
...
MozReview-Commit-ID: 2QTCJxnaAi2
--HG--
extra : rebase_source : e83d8d5afd9ecfbc5a685a3e5b7d4324f0333dce
extra : amend_source : c61aa20f453bdc9e76112d50beb7e07224709059
2016-08-02 19:06:14 +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
f9df6bb8e0
Bug 652991 - Part 11. Reftest for window.history.pushState. r=heycam
...
MozReview-Commit-ID: IzoMT5nuX10
--HG--
extra : rebase_source : 3bc1fe28450af4f016b2efd40714d7f33c955440
extra : source : 4de8b509387ba030b17cb1d36cf5cff8def8aeb7
2016-07-06 22:52:46 +08:00
cku
d8a50c9fd6
Bug 652991 - Part 10. Reftest for paint-server. r=heycam
...
MozReview-Commit-ID: 3Bg0wk2yE6n
--HG--
extra : rebase_source : 61649d75a9cb517c6fddeabb4b352c95314a6c1f
extra : source : 4827d03e13a140d3f47a056144f000c4418c2bb7
2016-07-24 04:58:08 +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
7887bc3448
Bug 652991 - Part 8. Reftest for filter. r=heycam
...
MozReview-Commit-ID: 10Sz21LAoNK
--HG--
extra : rebase_source : d23c2c8eddc6fd5dc811f8bcd5ae4b8ded8260c4
extra : source : 0aa854d56095a7be13f2ee5fdb4bf2117bb3560d
2016-07-24 04:34:26 +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
185dbee93b
Bug 652991 - Part 6. Reftest for clip-path. r=heycam
...
MozReview-Commit-ID: 9ozNCH7nOsY
--HG--
extra : rebase_source : 4aae2a80018fcb6243cfa5050acb38d82321b830
extra : source : c791ea11591fd7a4a6a34ee8811c3fbde9132c4a
2016-07-24 03:45:38 +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
0de453b35d
Bug 652991 - Part 4. Reftest for SVG marker. r=heycam
...
MozReview-Commit-ID: Icvh7oVv8Mm
--HG--
extra : rebase_source : 6b31c0c0883f3fec46e835d0c00092e391b218ce
2016-07-24 00:11:59 +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
Carsten "Tomcat" Book
bd81ddd0b0
merge mozilla-inbound to mozilla-central a=merge
2016-08-02 17:09:31 +02:00
Manish Goregaokar
b756a203ca
Bug 1290813 - Correctly number indirect descendants of <ol reversed>; r=xidorn
...
MozReview-Commit-ID: 6HYtCrgdK13
--HG--
extra : rebase_source : 461d9143cc0775eec2dc6b39f2d13fc5c2fbdf43
2016-08-01 15:54:25 +05:30
Bob Owen
5df096d268
Bug 1287446: Check and add nsIPrintProgressParams and print progress listener separately in nsPrintEngine::ShowPrintProgress. r=tnikkel
...
MozReview-Commit-ID: GngheT4Mizd
2016-08-03 09:50:24 +01:00
Robert Longson
5d48332dcd
Bug 843480 - zoom on iframe is applied twice. r=jwatt
2016-08-03 07:37:35 +01:00
Jonathan Watt
db80f397f6
Bug 1058040, part 2 - Rename gfxTextContextPaint to SVGContextPaint and add some code comments. r=dholbert
2016-07-22 14:56:09 +01:00
Jonathan Watt
c5d930fd27
Bug 1058040, part 1 - Move gfxTextContextPaint to a separate file to enable use in imagelib. r=dholbert
2016-07-22 12:07:39 +01:00
Kartikaya Gupta
ed11c9125a
Bug 1241550 - Don't do paint skipping if there are plugin frames anywhere on the page, instead of limiting it to the scrollframe's descendants. r=jimm
...
MozReview-Commit-ID: 6fzAIrTDgla
2016-08-02 16:43:34 -04: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
David Anderson
ceb53d0f42
Add a reftest for bug 1281593. r=mstange
...
--HG--
extra : rebase_source : fdee487361791909085f576f2bf422ca7b6fe4ee
2016-08-02 11:43:16 -07:00
Olli Pettay
c8587c2d07
Bug 1274079, ensure that after dispatching beforeprint, we have still valid ContentViewer to print, r=bz
...
--HG--
extra : rebase_source : c07cf7794d48d4f9b52b2646c18099a33bbea788
2016-08-02 21:41:51 +03:00
David Zbarsky
e0691abc04
Bug 824592 part 3. Get rid of nsIDOMElementCSSInlineStyle. r=peterv
2016-08-02 11:05:38 -07:00
Carsten "Tomcat" Book
11b070211d
Merge mozilla-central to mozilla-inbound
2016-08-02 17:11:27 +02:00
Jonathan Watt
0e69308cc1
Bug 1290781 - Make the propagation of context paint to SVG glyphs much more robust. r=heycam
2016-07-21 14:33:11 +01:00
Jonathan Watt
eaca271214
Bug 1251431, part 3 - Reftest for mask and clipPath applied to the same element. r=Bas
2016-07-18 13:02:16 +01:00
Sebastian Hengst
1d2d4ae0e1
Backed out changeset b46b071d48cf (bug 1251431) for reftest failure in mask-and-clipPath-2.html. r=backout
2016-07-31 09:43:15 +02:00
Jonathan Watt
696d9c1a76
Bug 1251431, part 3 - Reftest for mask and clipPath applied to the same element. r=Bas
2016-07-18 13:02:16 +01: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
3c40ac6f0b
merge mozilla-inbound to mozilla-central a=merge
2016-07-30 16:20:57 +02:00
Ethan Lin
3a8eda58a3
Bug 1289276 - Add gfxPlatform::CreateSimilarSoftwareDrawTarget to unify software fallback backend. r=mstange
2016-07-28 18:32:00 -04:00
Carsten "Tomcat" Book
8c47612fee
merge mozilla-inbound to mozilla-central a=merge
2016-07-29 11:56:43 +02:00
Wes Kocher
0291de30b7
Backed out changeset 7d6baa38a04c (bug 1288938) for reftest crashes
2016-07-28 22:43:49 -07: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
7e2a8f642f
Bug 1290214 - Remove NS_ERROR for unhandled document state changes. r=emilio
2016-07-28 17:25:51 -07:00
Bobby Holley
ff7b93c2e8
Bug 1290214 - Remove NS_ERROR for XBL stylesheet management. r=emilio
2016-07-28 17:25:49 -07:00
Bobby Holley
5cc53812ef
Bug 1290214 - Make ServoRestyleManager::AttributeChanged a no-op. r=emilio
...
We do all the work we need to do with the snapshot model in AttributeWillChange.
2016-07-28 17:25:48 -07:00
Bobby Holley
7c2695a9d0
Bug 1290214 - Remove NS_ERROR for media queries and @font-face. r=emilio
2016-07-28 17:25:46 -07:00
Bobby Holley
81084cfef0
Bug 1290214 - Remove NS_ERROR in the case where we skip checking the stylesheet service. r=emilio
2016-07-28 17:25:44 -07:00
Bobby Holley
d5aeede891
Bug 1290214 - Remove NS_ERRORs in css::Loader. r=emilio
2016-07-28 17:25:43 -07:00
Wes Kocher
97868e2577
Merge m-c to inbound, a=merge
2016-07-28 17:04:59 -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
99e55461fb
Merge mozilla-central to autoland
2016-07-28 17:46:12 +02:00
Carsten "Tomcat" Book
37be51f16a
merge mozilla-inbound to mozilla-central a=merge
2016-07-28 17:43:03 +02:00
Emilio Cobos Álvarez
4e30f13399
Bug 1288938: layout: Move the GlyphObserver to the text run instead of the frame. r=jfkthame
...
MozReview-Commit-ID: KphTCkcZeid
2016-07-28 15:19:14 -07: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
Andi-Bogdan Postelnicu
cb60cc4703
Bug 1282408 - add ignore initialization check flag for bool variables from ScrollReflowInput. r=dbaron
...
MozReview-Commit-ID: 6IDxHLbSkoJ
2016-07-28 13:57:19 +03:00
Alexandre Lissy
ceb1dc3eac
Bug 1290073
- Remove ICS Gonk widget support r=sotaro
...
MozReview-Commit-ID: JOWaHvPwnZI
--HG--
extra : rebase_source : 1f9c81b0bb79572365d98944fc8923f1859540c1
2016-07-28 14:38:07 +02:00
Edwin Flores
f7e965e3bf
Bug 1274624 - Fuzz linear-size-1a.html on Windows - r=bustage
2016-07-28 09:34:17 +01:00
Chris Peterson
09cf0a5c66
Bug 1289991 - Remove VS2013 string literal workaround from nsCSSProps.cpp. r=xidorn
2016-07-27 23:53:10 -07:00
Iris Hsiao
4b714bba8f
Backed out changeset 3531847a7419 (bug 1285174) for Reftest failures
2016-07-28 11:34:18 +08:00
Bobby Holley
7988d386c8
Bug 1289916 - Check tree dirtiness in ProcessPendingRestyles before triggering traversal. r=emilio
...
It's possible (and in fact, desirable) for the restyle hints to all evaluate
to 0, which means the tree stays clean even though the map was non-empty.
2016-07-27 18:20:18 -07:00
Matt Woodrow
2dafae2906
Bug 1285174 - Make sure we override the visible region of nsDisplayTransform when we're prerendering. r=mstange
2016-07-28 13:05:40 +12:00
Jonathan Watt
e7e830cc7a
Bug 1004130 - Implement ::-moz-placeholder for <input type=number>. r=bz
2016-07-15 19:55:47 +01: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
Wes Kocher
c7656c1da3
Backed out changeset c0bf6e0b8f1d (bug 1173199) for build bustage CLOSED TREE
2016-07-28 11:48:20 -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
5abb382d3d
Bug 1289620 - Initialize the correct restyle manager when we attach the PresShell. r=heycam
2016-07-27 09:44:30 -07:00
Bobby Holley
1764385b32
Bug 1289620 - Separate presshell attachment and detachment in nsPresContext. r=heycam
2016-07-27 09:44:29 -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
Cameron McCormack
fac8a532f2
Bug 1289620 - Stub out ReparentStyleContext. r=bholley
2016-07-27 09:41:50 -07:00
Emilio Cobos Álvarez
0733bfeaf7
Bug 1288873: stylo: Improve the error message when we don't handle a restyle hint. r=heycam
...
MozReview-Commit-ID: 3FCCCCF5gQS
2016-07-27 09:35:20 -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
Edwin Flores
52621123c7
Bug 1274624 - Test that colour interpolation is correct for clamped linear gradients - r=mstange
2016-07-27 16:57:53 +01:00
Edwin Flores
c8d8179468
Bug 1274624 - Speed up tiled axis-aligned linear gradient painting - r=mstange
2016-07-27 16:57:53 +01:00
Carsten "Tomcat" Book
7293066753
merge mozilla-inbound to mozilla-central a=merge
2016-07-27 16:35:44 +02:00
Ting-Yu Lin
4f426feb17
Bug 1288992 Part 3 - Rename local variables named metrics to reflowOutput. r=dholbert
...
This patch is edited manually.
MozReview-Commit-ID: 1IsLGrgmDIY
--HG--
extra : rebase_source : 52ad416a2ae56f312976cef6f30a45f03d77c4d1
2016-07-26 17:10:52 +08:00
Ting-Yu Lin
73c4dfa06c
Bug 1288992 Part 2 - Rename ReflowMetrics variables to ReflowOutput. r=dholbert
...
This patch is generated by the following scripts:
function rename() {
find layout\
-type f\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "([[:alpha:]]*)([rR])eflowMetrics" "\1\2eflowOutput"
rename "gLameReflowOutput" "gLameReflowMetrics"
MozReview-Commit-ID: CBDAau50Ail
--HG--
extra : rebase_source : f6c2358e898e66d8ce2557dea6d7b31d32e3929f
2016-07-26 16:33:52 +08:00
Ting-Yu Lin
d97c60cb47
Bug 1288992 Part 1 - Rename mSize and ReflowMetrics() in nsMathMLContainerFrame::RowChildFrameIterator. r=dholbert
...
Rename mSize and ReflowMetrics() to mReflowOutput and GetReflowOutput(),
respectively.
The convention for the method name would be ReflowOutput(), but it will conflict
class name ReflowOutput. So we use GetReflowOutput() here.
MozReview-Commit-ID: CHp6vw80IOh
--HG--
extra : rebase_source : d035cafaeddb61057035d4fe6a3aef3c1049c154
2016-07-26 15:39:03 +08:00
Ting-Yu Lin
254949ab86
Bug 1288992 Part 0 - Drop the nonsensical comment for nsTableFrame::ReflowChildren. r=dholbert
...
MozReview-Commit-ID: EOQvqNyL5qN
--HG--
extra : rebase_source : 76345505d1cbf2b697d6b6f79d1196d86d5f48b0
2016-07-27 11:22:15 +08: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
Wes Kocher
a893172237
Merge inbound to central, a=merge
2016-07-26 16:38:48 -07:00
Nicolas Silva
48805c9b3e
Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond
2016-07-26 16:48:30 +02:00
Andi-Bogdan Postelnicu
6ef6a625d6
Bug 1289407 - initialise |mForceNotVisible| in explicit ctor. r=tnikkel
...
MozReview-Commit-ID: AUvZBGk6j1L
--HG--
extra : rebase_source : 80058036536d5d86c09bb0914ce522f070971bea
2016-07-26 16:07:04 +03:00
Ethan Lin
8baceda97e
Bug 1285857 - Switch to SKIA from D2D1 when rendering mask image with luminance mode. r=mstange
2016-07-14 23:09:00 +02:00
Hiroyuki Ikezoe
cf4652beb1
Bug 1277908 - Crashtest; r=birtles
...
MozReview-Commit-ID: 6MZRobuKQse
2016-07-27 17:28:39 +09:00
Wes Kocher
9a7b839157
Merge m-c to inbound, a=merge
2016-07-26 16:53:37 -07:00
Jonathan Kingston
cf5d21b1f8
Bug 1173199 - Create preference to disable MathML. 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 : 63bf465fa6ff62610d7ed16002a7d479b87df393
2016-06-28 15:24:48 +01:00
Carsten "Tomcat" Book
0026e79c41
Merge mozilla-central to mozilla-inbound
2016-07-28 17:44:09 +02:00
Andrew Comminos
7fae1904bf
Bug 1131576
- Spin the event loop between calls to showPopup in test_windowminmaxsize.xul. r=enn
...
MozReview-Commit-ID: CoZBzJQRHGx
2016-07-28 10:43:13 -04:00
Ethan Lin
fb3edcd306
Bug 720531 - Part 4. Add space to border for shorthand property test. r=dbaron
2016-06-23 03:02:00 +02:00
Ethan Lin
8b9a848f3c
Bug 720531 - Part 3. Add reftests for border-image-repeat: space. r=dbaron
2016-07-15 03:38:00 +02:00
Ethan Lin
bb4033a27b
Bug 720531 - Part 2. Implement rendering of border-image-repeat: space. r=dbaron
2016-07-15 03:37:00 +02: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
Carsten "Tomcat" Book
574d0d452b
merge mozilla-inbound to mozilla-central a=merge
2016-07-26 11:55:54 +02:00
Hiroyuki Ikezoe
9c3e690c9a
Bug 1287725 - Drop KeyframeEffectReadOnly::HasAnimationOfProperties and nsLayoutUtils::HasCurrentAnimationsForProperties. r=birtles
...
MozReview-Commit-ID: K33ga7KpLIo
--HG--
extra : rebase_source : 57bc8f2edffb7e89ea790f5cc0fa6848770d1873
2016-07-26 06:44:11 +09: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
Botond Ballo
662cc63aec
Bug 1285619 - Call ResetLayerStateForRecycling() when recycling an image or color layer. r=mstange
...
MozReview-Commit-ID: GD4NRCoJXWf
--HG--
extra : rebase_source : 72d5f05d209e75335c0c2b3f2a7fde1942d553e7
2016-07-08 17:25:09 -04:00
Botond Ballo
63753c933b
Bug 1285619 - Call ResetLayerStateForRecycling() when recycling an OwnLayer. r=mstange
...
MozReview-Commit-ID: 66J6wBcrYDQ
--HG--
extra : rebase_source : 6ce3db9d7711a833b6385f531548f660fa6997ca
2016-07-08 17:24:48 -04:00
Botond Ballo
271ec9548b
Bug 1285619 - Introduce a ResetLayerStateForRecycling() helper function. r=mstange
...
MozReview-Commit-ID: DLktq4PYNba
--HG--
extra : rebase_source : ff9445f1d2593232b30d1ef643af5dd30c7e6375
2016-07-08 16:30:47 -04:00
Carsten "Tomcat" Book
a3e240204c
Merge mozilla-central to autoland
2016-07-25 16:22:04 +02: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
Carsten "Tomcat" Book
b9a6c687fa
merge mozilla-inbound to mozilla-central a=merge
2016-07-25 15:50:41 +02: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
Matt Woodrow
ef68295847
Bug 1217803
- Always build a mask layer if we have rounded corners, regardless of the visible region since this might change on the compositor. r=mstange
...
--HG--
extra : rebase_source : f874a7effd7c0985718c45be2343ca86586ac4bd
2016-07-25 14:41:25 +12:00
Botond Ballo
da66438e7c
Bug 1214151 - Reftest for the common case. r=mstange
...
MozReview-Commit-ID: 5zeuFwsx0l6
--HG--
extra : rebase_source : 9eb23dc209e903298d0c3636ba2665de7d2ab8c1
2016-06-29 18:23:28 -04:00
Carsten "Tomcat" Book
a3904e8a8a
Merge mozilla-central to mozilla-inbound
2016-07-25 15:59:01 +02:00
Neil Deakin
f78e0b2fe2
Bug 1253975, don't reset the scroll position of a menulist when it opens as it should scroll to its selection instead, r=mconley
2016-07-25 09:08:36 -04:00