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

55691 Коммитов

Автор SHA1 Сообщение Дата
Shing Lyu 9a6e19ebfb Bug 1344132 - Make reftest run stylo-vs-gecko test without special reftest.list. r=dbaron
MozReview-Commit-ID: 3XqZGNoqG2h

--HG--
extra : rebase_source : 13204a6c7268c0ac05dbecdbe0435cf765419a53
2017-03-03 14:21:58 +08:00
Jeremy Chen 6034613c83 Bug 1347820 - Label ScrollSelectionIntoViewEvent for nsSelection. r=heycam
Since GetParentObject has a chance returning nullptr, we keep the original
code path as a fallback.

MozReview-Commit-ID: LCJefr1ZH6t

--HG--
extra : rebase_source : 16b791d9555e9d3fb6e00233868249cbd08d944f
2017-03-16 15:33:00 +08:00
Hiroyuki Ikezoe a9a15a1807 Bug 1347806 - Fix pseudo nsIAtom for ::before and ::after. r=birtles
cssPseudoElementBeforeProperty and cssPseudoElementAfterProperty are for
CSSPseudoElement.

MozReview-Commit-ID: 3WETv4QeC5

--HG--
extra : rebase_source : b7e902786ca9ebe7c92a573604e15d868c6067a7
2017-03-16 14:01:44 +09:00
Manish Goregaokar 029d0ddc55 Bug 1341102 - Fix failures from -moz-system-metric changes (bug 1341086); r=manishearth
MozReview-Commit-ID: KBnVFQuzoz5
2017-03-16 00:42:40 -07:00
Manish Goregaokar 12b518aef0 Bug 1340696 - stylo: Support system colors; r=heycam
MozReview-Commit-ID: HUfTdcMRoEx

--HG--
extra : rebase_source : 85af717eb521a2c790d3ec7a20c46dd318e4761f
2017-03-15 14:49:35 -07:00
Emilio Cobos Álvarez 4628adf1fb Bug 1346829: Disable intermittent test pending investigation. r=xidorn
MozReview-Commit-ID: JwpTiqNeXHw

--HG--
extra : rebase_source : 38e9cac6084c748951a83bbc2a955ea05e4b17b7
2017-03-15 18:23:07 +01:00
Wes Kocher 1d6765414b Merge m-c to autoland, a=merge
MozReview-Commit-ID: AcDLWqQhcBe
2017-03-15 14:29:24 -07:00
Wes Kocher 06af2f1e92 Merge inbound to central, a=merge
MozReview-Commit-ID: 4p4SK3EhvJ2
2017-03-15 14:24:58 -07:00
Boris Zbarsky a5a69068c1 Fix up stylo mochitest expectations after landing of <8f0c7809d8>. Bug 1341102, r=bustage
MozReview-Commit-ID: Cdqz3pPRxA8
2017-03-15 13:01:53 -04:00
cku 00b08f1df8 Bug 1320036 - Part 2. Reftest. r=jwatt
There are two reftest
filter-region-01.html tests on filtered outer svg element. FF can not pass this
test without Part 2.
filter-region-02.html tests on filtered inner svg element, FF can pass this test
without Part 2. I add this in case we make a mistake in the future.
MozReview-Commit-ID: 1iwQWh0C7DH

--HG--
extra : rebase_source : 4770c99b1b81a593acdd4810fadc34376db93c13
extra : source : 6389fa0ca948dfc988778d2a3b808bb552dd60e3
2017-03-15 18:39:00 +08:00
cku 8f0a57337e Bug 1320036 - Part 1. Correct objectBoundingBox region of a filter applied to an outer SVG element. r=jwatt
MozReview-Commit-ID: 8frACVe2gFE

--HG--
extra : rebase_source : f796c7ae084cc2af0960a0702167fe8211aa083a
extra : source : 43b17a8af53a4684abb4379a3fba95c9d424c77f
2017-03-15 18:36:53 +08:00
Carsten "Tomcat" Book 7decdeb7c8 Merge mozilla-central to autoland 2017-03-15 13:19:12 +01:00
Carsten "Tomcat" Book f807b332df merge mozilla-inbound to mozilla-central a=merge 2017-03-15 13:12:42 +01:00
Xidorn Quan 7be07ee519 Bug 1345698 part 5 - Add support of CSSNamespaceRule for stylo. r=heycam
MozReview-Commit-ID: Kl4Wd3eh9ll

--HG--
extra : rebase_source : 7c649dd885ad31ddfb1e563dedf6272038d560da
2017-03-14 18:51:59 +11:00
Xidorn Quan cc3896262e Bug 1345698 part 4 - Create a new CSSNamespaceRule as a base class. r=heycam
MozReview-Commit-ID: 5QvGWfb18cY

--HG--
extra : rebase_source : 1a85b59a71ca920371bc94bf4376e4e42863f6df
2017-03-14 18:50:28 +11:00
Xidorn Quan 0ea1508806 Bug 1345698 part 3 - Fix a build failure for adding source. r=heycam
MozReview-Commit-ID: 54Um71Dlf8l

--HG--
extra : rebase_source : cf153b0553afe86b1e816a2e9922808c2e9b5bd4
2017-03-14 17:10:03 +11:00
Xidorn Quan 0e0511338c Bug 1345698 part 2 - Add bindings for namespace rule. r=heycam
MozReview-Commit-ID: 5QHeVqfiEGh

--HG--
extra : rebase_source : 191fe0a8ff0742ec00022062d819da8e92137e8a
2017-03-14 15:44:37 +11:00
Xidorn Quan c0a293e41b Bug 1345698 part 1 - Unify common code for implementing a rule type. r=heycam
MozReview-Commit-ID: ABwAq2HXrkC

--HG--
extra : rebase_source : 76dd1436234ae351d13ccc218c31754705d70bfe
2017-03-14 17:52:37 +11:00
Miko Mynttinen b715bc1076 Bug 1343596 - Part 2: Refactor nsDisplayList sorting r=mattwoodrow
MozReview-Commit-ID: DlUSf0iQm06

--HG--
extra : rebase_source : 20c5b58756d694149622cc145cc1d0d94ebb2cfa
2017-03-07 11:30:12 +01:00
Miko Mynttinen add639bc03 Bug 1343596 - Part 1: Remove trailing whitespace r=mattwoodrow
MozReview-Commit-ID: C3GgVaaou0j

--HG--
extra : rebase_source : 1ae121151cd4ea88ba614637295a19150d7dae38
2017-03-07 11:29:19 +01:00
Xidorn Quan 6226e098b7 Bug 1341102 - Update stylo test expectation. 2017-03-15 17:49:44 +11:00
Astley Chen bdf50726af Bug 1342880 : Remove class inSearchLoop from the tree. r=heycam
inSearchLoop is referenced from nowhere, as a result, we don't need to get its timer event labeled.

MozReview-Commit-ID: 5fxg38WD9dQ

--HG--
extra : rebase_source : a72f150e15605e604e969c725ed4a23168bda1b4
2017-03-15 11:48:41 +08:00
Ting-Yu Lin 7bd47fa30a Bug 1273045 Part 2 - Update carets when scrolling in subframes without APZ. r=mtseng
Override OnScrollPositionChanged() in ScrollState because we want to update
carets during scrolling in subframes without APZ.

Due to the observation in bug 1273045 comment 8, we do not distinguish
PositionChangedResult::NotChanged and PositionChangedResult::Changed.
Instead, we always update caret even if its position is not changed.

To avoid excessive CaretStateChangedEvents are dispatched in
OnScrollPositionChanged(), we add IsScrollStarted to distinguish whether
OnScrollStart() is called or not.

MozReview-Commit-ID: KNi9Mct4dSk

--HG--
extra : rebase_source : 61d29fb0e1b6b91971217d3f45a791c456fa4f07
2017-03-14 17:50:03 +08:00
Ting-Yu Lin fb0e5cae3e Bug 1273045 Part 1 - Convert UpdateCaretsHint to use EnumSet. r=mtseng
Part 2 is going to add a new hint which will use with RespectOldAppearance.
Hence this patch.

Remove #include "mozilla/WeakPtr.h" and "nsWeakReference.h" because they're
not used in the header.

MozReview-Commit-ID: KiNv0M0v8iO

--HG--
extra : rebase_source : 0969fc5accf11ac69bc97e3a51569b063172ffe3
2017-03-14 15:25:16 +08:00
Xidorn Quan bf3f1e88eb Bug 1341102 - Update test expectations. 2017-03-15 12:13:16 +11:00
Brad Werth 79fcb7ba0d Bug 1343695 Part 2: Narrow an overly restrictive assert in GetRenderedText. r=mats
MozReview-Commit-ID: EuxNJmKPxok

--HG--
extra : rebase_source : b77018ea2417b0778fb51ba579d8c4baeeaf06a5
2017-03-14 14:27:30 -07:00
Boris Zbarsky 5a5123809e Bug 1276186. Stop using the locale-sensitive AppendPrintf in code that is supposed to always use '.' as a decimal separator. r=dbaron
MozReview-Commit-ID: ILXSgv5QUr4
2017-03-14 23:16:32 -04:00
Lee Salzman f942812710 Bug 1347147 - fix DrawTargetD2D1::GetImageForSurface to support uploads in device-space. r=mchang
MozReview-Commit-ID: 2galhKidxca
2017-03-14 22:17:47 -04:00
Wes Kocher a7c590aa9c Merge inbound to central, a=merge
MozReview-Commit-ID: KWDF34vWlBx
2017-03-14 17:18:59 -07:00
Wes Kocher 6315d21293 Bug 1341102 - fix autoland bustage; r=bustage a=bustage
MozReview-Commit-ID: qJqahM6q5n

--HG--
extra : source : ab9bdbdc7780b163a722d12d1d927f68b35d030f
2017-03-14 14:50:10 -07:00
Emilio Cobos Álvarez efce33e655 Bug 1328652: Reftest expectation adjustments. r=emilio
MozReview-Commit-ID: I9l2q73luEU

--HG--
extra : rebase_source : 9bea8cefe53915a6fbfefe4261912d55c1608206
2017-03-14 20:08:17 +01:00
Emilio Cobos Álvarez ce085313a9 Bug 1328652: Ensure we do actual restyling work after calling RebuildAllStyleData. r=bz
The Gecko restyle manager does this synchronously, along with a content flush.

In my testing there's no need to do so, and Boris couldn't think off-hand of
why, except the fact that we have this mRebuildAllStyleData thing that takes
care of rebuilding the rule tree, which is quite sensitive.

Also, Boris made a good point about non-inheriting anon boxes, that could
technically change style. I've left a note about it too.

MozReview-Commit-ID: 2lvzhxugKB0

--HG--
extra : rebase_source : 38cf56811f73f5a9f0f6659e08d03e78d4c6dcb5
2017-03-11 00:25:37 +01:00
Emilio Cobos Álvarez 2a97ec5b19 Bug 1328652: Assume medium feature changes in nsPresContext::MediaFeatureValuesChanged. r=bz
This allows us to test our media query stuff at least, and works around the fact
that we don't set mUsesViewportUnits.

This will get us better test coverage, at the expense of more expensive window
resizes and similar, temporarily.

MozReview-Commit-ID: 7lgELz86lmW

--HG--
extra : rebase_source : c6d62438b1d76d5adb9eec3a26ef47af1a84924c
2017-03-11 00:23:05 +01:00
Manish Goregaokar 2ead1e0272 Bug 1341102 - fix autoland bustage; r=bustage
MozReview-Commit-ID: HjvN4HqcNAq
2017-03-14 12:03:20 -07:00
Martijn Wargers e9146e80ca Bug 489647 - Crashtest.
MozReview-Commit-ID: LvnPdkxuWK5
2017-03-14 15:25:17 +01:00
Daniel Holbert 6e7d876da4 Bug 883514 - Crashtests.
MozReview-Commit-ID: JWy4zKQfGAE
2017-03-14 15:25:17 +01:00
Robin Whittleton f487838691 Bug 980223 - Crashtest.
MozReview-Commit-ID: C5lohXXgdXA
2017-03-14 15:25:17 +01:00
Carsten "Tomcat" Book dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
L. David Baron 0d116bc3f9 Bug 1305754 - Don't rebuild the whole path in the rule tree when resolving style with replacement. r=heycam
MozReview-Commit-ID: HdNhDBnOS3u

--HG--
extra : transplant_source : %B1%CD%A5%21Tw%8A%E5%83E%DF%96%E6%7Cp%1A%20%AD%FD%17
2017-03-13 15:31:32 -07:00
L. David Baron 8db21fb2ea Bug 1346692 - Clarify reftest documentation about combining <failure-type>s. No review.
This makes two changes:

* adds "on the line" to clarify what last means

* adds "when combining <failure-type> from the manifest include and the
  test line" to clarify that the parenthetical only applies to combining
  at different levels, and not within a line

DONTBUILD

--HG--
extra : rebase_source : 4e45753f11b20313ed010ec8d01e0403b89591fd
extra : amend_source : c1f4acb341f0cb2f713080e73c686a5e67aed521
2017-03-13 19:08:28 -07:00
Wes Kocher bdd77feb24 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GiMyITxSevR
2017-03-13 16:39:38 -07:00
Wes Kocher 9c14a7c4ed Merge inbound to central, a=merge
MozReview-Commit-ID: ECt4ZkKUuQp
2017-03-13 16:37:21 -07:00
Wes Kocher 74b80253bf Merge autoland to central, a=merge
MozReview-Commit-ID: BY29KDE4HlR
2017-03-13 13:58:11 -07:00
Kartikaya Gupta 916f12ed8f Merge m-c to graphics
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
Kartikaya Gupta b1573d9a13 Bug 1344947 - Update reftest.list files with new webrender results. r=jrmuizel
MozReview-Commit-ID: 8F8ZetpBUUY
2017-03-13 13:03:24 -04:00
sotaro 90e35e2b18 Bug 1345712 - Fix rebasing failure part 2 r=jrmuizel 2017-03-13 23:55:39 +09:00
Carsten "Tomcat" Book c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Xidorn Quan 61c4d0467e Bug 1341102 - Mark the correct one random.
--HG--
extra : rebase_source : 8b7684046fbab5ad29dd76210bdd3c28c22bc5f8
2017-03-13 23:20:50 +11:00
Carsten "Tomcat" Book 94904a8409 Backed out changeset be602e750e39 (bug 1325940) for stylo build bustage 2017-03-13 11:39:12 +01:00
Carsten "Tomcat" Book b8ac5ccfac Backed out changeset a035c2b6ae72 (bug 1325940) 2017-03-13 11:38:36 +01:00
Gajanan ca8371df56 Bug 1325940 part 2 - Converted NS_STYLE_BORDER_IMAGE_REPEAT_* to an enum class. r=xidorn
MozReview-Commit-ID: 4Y30dMHsFgj

--HG--
extra : source : 1b6d6f5feb59f895f19ee51cad0e477ca568c168
2017-03-13 21:19:19 +11:00
Gajanan dca4dbdc2b Bug 1325940 part 1 - Added a constructor for nsCSSValue to accept enumerations. r=xidorn
MozReview-Commit-ID: 5Vns9QGA8c5

--HG--
extra : source : 8de1423bee6b7ba9d584419650674a4d4a7ac7b0
2017-03-13 21:19:19 +11:00
Morris Tseng fcc1cbacec Bug 1341156 - Add border image support. r=mattwoodrow
MozReview-Commit-ID: 146FCaqEoi1
2017-03-13 11:46:04 +08:00
Morris Tseng 895ffbd17f Bug 1341156 - Create nsCSSBorderImageRenderer. r=mattwoodrow
Basiclly refactor DrawBorderImage function for later re-use.

MozReview-Commit-ID: 9KIO6jp14M2
2017-03-13 11:46:04 +08:00
Morris Tseng 3756e950d3 Bug 1341156 - Move nsImageRenderer to a separate file. r=mattwoodrow
MozReview-Commit-ID: EIEl3Jbtcsi
2017-03-13 11:46:04 +08:00
Morris Tseng 11f13fedeb Bug 1341156 - Modify webrender_ffi and add OpDPPushBorderImage. r=kats r=ethlin
MozReview-Commit-ID: Ct63gy6nk3q
2017-03-13 11:46:03 +08:00
Xidorn Quan bbb1003707 Bug 1341102 - Mark several intermittent failures random.
--HG--
extra : rebase_source : fc8a7defbaf0f492f93dd00f67c4016f2a5896bf
2017-03-13 22:15:26 +11:00
Brad Werth 6f9f914085 Bug 1314045 Part 1: Return load table assertion to full force now that Servo stylesheet caching will keep load table consistent. r=heycam
MozReview-Commit-ID: 7IrwZ5oFc6e

--HG--
extra : rebase_source : 2ab5a6b96ee23be4a3c75edb32d23a9cc6f933aa
2017-03-10 16:57:36 -08:00
Ethan Lin 8b0fa844a8 Bug 1346110 - Use BorderRenderer to generate wr commands for nsDisplayButtonBorder. r=mchang
---
 layout/forms/nsButtonFrameRenderer.cpp | 37 +---------------------------------
 1 file changed, 1 insertion(+), 36 deletions(-)
2017-03-10 12:45:20 -08:00
Carsten "Tomcat" Book e078579f28 Merge mozilla-central to mozilla-inbound 2017-03-13 15:25:16 +01:00
Neil Deakin 1dba2e9287 Bug 1318705, combine the two lists of open popups in nsXULPopupManager into a single list to make iterating and managing them easier. Instead a noautohide flag is used to distinguish what used to be the difference between the lists, r=ksteuber 2017-03-13 09:44:02 -04:00
Neil Deakin 61a148b36e Bug 1342398, incorporate the popup's scroll position into the computation of where the current menuitem is, preventing misplaced popups on Mac, r=mstange 2017-03-13 09:44:02 -04:00
Kartikaya Gupta 0ea7443517 Merge m-c to graphics
MozReview-Commit-ID: 3GcCKcscfkz
2017-03-10 09:58:01 -05:00
Carsten "Tomcat" Book 1a363b7fe3 merge mozilla-inbound to mozilla-central a=merge 2017-03-10 11:38:18 +01:00
sotaro 68f1724050 Bug 1345712 - Add ScaleMode handling to WebRenderImageLaye r=jrmuizel 2017-03-10 17:48:22 +09:00
sotaro 7277c12244 Backout Bug 1345712 2017-03-10 15:56:26 +09:00
sotaro 61dd0b4f9c Bug 1345712 - Add ScaleMode handling to WebRenderImageLayer r=jrmuizel 2017-03-10 14:14:43 +09:00
Ethan Lin 9b04b94de9 Bug 1345053 - Add webrender support for nsDisplayImage. r=mattwoodrow
--HG--
extra : rebase_source : 347513138d518b6f331ae6130c74bc250ccda4be
2017-03-10 09:57:07 +08:00
Wes Kocher 65140a44e3 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: Gj4s6DtqKmw
2017-03-09 16:33:31 -08:00
Wes Kocher f7f40f39ec Backed out 19 changesets (bug 1343037) for OSX failures in test_form_autocomplete.html a=backout CLOSED TREE
Backed out changeset 45f9d9f47222 (bug 1343037)
Backed out changeset 77c26865ce8e (bug 1343037)
Backed out changeset 4c4ec6e6b168 (bug 1343037)
Backed out changeset 1d0da4f3c82b (bug 1343037)
Backed out changeset 67d29abbbd53 (bug 1343037)
Backed out changeset a6833ad9712f (bug 1343037)
Backed out changeset 202a7b464808 (bug 1343037)
Backed out changeset 271e63cd7bfa (bug 1343037)
Backed out changeset 77c3b36269a4 (bug 1343037)
Backed out changeset 73198c9c3975 (bug 1343037)
Backed out changeset 5fc2e304113b (bug 1343037)
Backed out changeset b7de9c9c1c31 (bug 1343037)
Backed out changeset 08b01e3c03f8 (bug 1343037)
Backed out changeset de068e5a963b (bug 1343037)
Backed out changeset 23164576aaf5 (bug 1343037)
Backed out changeset 1034463cb379 (bug 1343037)
Backed out changeset 7fb2aacfc644 (bug 1343037)
Backed out changeset 6dcb7090fd33 (bug 1343037)
Backed out changeset cad4522cee16 (bug 1343037)

MozReview-Commit-ID: I37k9bJBwsw
2017-03-09 15:29:05 -08:00
Wes Kocher 4d040e69b1 Backed out changeset ea659450b0da (bug 1345237)
MozReview-Commit-ID: JQ2dsysX25w
2017-03-09 15:27:15 -08:00
Wes Kocher 9bf077a4c7 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: BG12zoWP3dQ
2017-03-09 14:12:34 -08:00
Wes Kocher 395f8ef03d Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 9rWj5LVFZMq
2017-03-09 14:11:57 -08:00
sotaro 202715bd8b Bug 1345749 - Apply RelativeToVisible r=jrmuizel 2017-03-10 07:49:53 +09:00
Ryan Hunt 4450cd3bae Bug 1345907 - Use clip region instead of clip rect r=kats
--HG--
extra : rebase_source : 23506430d8aa7b2097de208a3415d8597a1e13cd
2017-03-09 11:57:06 -05:00
Kartikaya Gupta 8f54e2114e Merge m-c to graphics
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
Kartikaya Gupta 18f8da69d2 Back out cset 3a0760865f8b (bug 1345053) for causing much linux64-qr reftest failure. r=me a=Tomcat 2017-03-09 09:42:51 -05:00
Samael Wang dbb9457981 Bug 1283947 - Clear pending transactions when ClientLayerManager is assigning to a different refresh driver. r=mattwoodrow 2017-03-09 18:35:50 +08:00
Kan-Ru Chen 43776b9a4d Bug 1346161 - Remove HANDLE_UNLOAD_MS and HANDLE_BEFOREUNLOAD_MS telemetry probes. r=smaug
MozReview-Commit-ID: 91WAGDKAAMu
2017-03-13 14:47:29 +08:00
Jeremy Chen 8dfebfb116 Bug 1056516 - submit Hyphenation Control reftests to CSSWG. r=jfkthame
MozReview-Commit-ID: DfBwSmlyGRu
2017-03-13 12:54:05 +08:00
Jeremy Chen c3f809d573 Bug 1056516 - add tests to our local reftests folder. r=jfkthame
MozReview-Commit-ID: EBKLIH9H0hf
2017-03-13 12:54:05 +08:00
Jeremy Chen 0316fede8c Bug 1056516 - let auto hyphen honor manual hyphen when hyphens:auto is set. r=jfkthame
MozReview-Commit-ID: F3ALAJRHned
2017-03-13 12:54:05 +08:00
Jeremy Chen 2e09040e6e Bug 1056516 - use HyphenType to store different types of hyphenations. r=jfkthame
MozReview-Commit-ID: AX3NNDS4hxP
2017-03-13 12:54:05 +08:00
Jeremy Chen 17dca35346 Bug 1056516 - use AutoTArray for hyphenBuffer in BreakAndMeasureText. r=jfkthame
MozReview-Commit-ID: 2sFqlGdoCcm
2017-03-13 12:54:04 +08:00
Ting-Yu Lin 1ab8a867a4 Bug 1326409 Part 6 - Convert aBasicShape to a pointer to a const value. r=dholbert
To address reviewer's comments in bug 1326409 comment 13 and comment 14.

MozReview-Commit-ID: FiUXXk4O8N7
2017-03-13 12:03:40 +08:00
Ting-Yu Lin 620f7841b7 Bug 1326409 Part 5 - Implement shape-outside: polygon(). r=dholbert
The <fill-rule> in the polygon() syntax is not handled because it doesn't
matter to shape-outside at all.

The reftests are numbered from 018 to avoid conflict with the w3c upstream
ones according to this list.
https://test.csswg.org/harness/results/css-shapes-1_dev/grouped/

Reftest 018 to 025 are under various writing-modes, 026 to 029 are testing
empty float area, 030 to 031 are testing polygon containing horizontal
lines.

MozReview-Commit-ID: FPUbMdZsvu6
2017-03-13 12:03:40 +08:00
Ting-Yu Lin 1923f5a65b Bug 1326409 Part 4 - Extract a function to compute polygon vertices. r=dholbert
MozReview-Commit-ID: B4BzBHjLHxW
2017-03-13 12:03:40 +08:00
Ting-Yu Lin aa5bf0b087 Bug 1326409 Part 3 - Remove unneeded WritingMode parameter. r=dholbert
Remove WritingMode parameter from LineRight() and LineLeft() in both
FloatInfo and ShapeInfo.

Bug 1316549 Part 3 added the parameter to compute the border radii under
writing-modes correctly. However, bug 1326407 Part 6 later made us cache
border radii, so the WritingMode parameter is no longer needed.

MozReview-Commit-ID: DFhm5d51OXJ
2017-03-13 12:03:39 +08:00
Ting-Yu Lin 0896f4f2e5 Bug 1326409 Part 2 - Rewrite the return expression of ComputeCircleOrEllipseCenter(). r=dholbert
MozReview-Commit-ID: 60gvYceeNiP
2017-03-13 12:03:39 +08:00
Ting-Yu Lin 45e26b7d07 Bug 1326409 Part 1 - Annotate EllipseShapeInfo as 'final'. r=dholbert
MozReview-Commit-ID: IReCWO8JRSQ
2017-03-13 12:03:39 +08:00
Ethan Lin 1928c02454 Bug 1344622 - Part2. Add webrender support for nsDisplayButtonForeground. r=mattwoodrow 2017-03-09 16:58:39 +08:00
Ethan Lin 4bc1178051 Bug 1344622 - Part1. Create WR commands in BorderRenderer. r=mattwoodrow 2017-03-09 16:58:38 +08:00
Carsten "Tomcat" Book 6d06361383 merge mozilla-inbound to mozilal-central a=merge 2017-03-09 11:23:25 +01:00
Ethan Lin d73549a9d8 Bug 1345053 - Add webrender support for nsDisplayImage. r=mattwoodrow 2017-03-09 14:24:41 +08:00
Boris Zbarsky 2c7f4763df Bug 1345362 part 6. Make ::-moz-pagebreak a non-inheriting anon box. r=heycam
MozReview-Commit-ID: ClqKv8HOFj4

--HG--
extra : rebase_source : 33785fdf7c14cf401d7c5a519ed2927db13c3077
2017-03-08 23:50:59 -05:00
Boris Zbarsky f531c39d2d Bug 1345362 part 5. Assert that we don't have a non-inheriting anon box in nsFrame::UpdateStyleOfChildAnonBox. r=heycam
MozReview-Commit-ID: E6EZakXIExQ

--HG--
extra : rebase_source : a829f2d8bb22a12c0a086473c98e3933427a8444
2017-03-08 23:50:31 -05:00
Boris Zbarsky 964a12c306 Bug 1345362 part 4. Rename ResolveAnonymousBoxStyle to ResolveInheritingAnonymousBoxStyle. r=heycam
MozReview-Commit-ID: GVA1fTh0RDv

--HG--
extra : rebase_source : 4333baf6764f346d68836e387fa002705684bfdd
2017-03-08 23:50:28 -05:00
Boris Zbarsky b537f110e2 Bug 1345362 part 3. Introduce CSSPseudoElementType::NonInheritingAnonBox to represent non-inheriting anon boxes. r=heycam
The idea is to be able to call the right function during style resolution time
without doing a linear walk via nsCSSAnonBoxes::IsNonInheritingAnonBox.

MozReview-Commit-ID: JKt33GggTjz

--HG--
extra : rebase_source : fcf477dcef8529c803bf97b1d3a16f8f4fcea39f
2017-03-08 23:41:04 -05:00
Boris Zbarsky 7b18078c9e Bug 1345362 part 2. Introduce nsCSSAnonBoxes::NonInheritingTypeForPseudoTag for looking up the type of non-inheriting anonymous box for a given pseudo tag. r=heycam
MozReview-Commit-ID: 4quZagNd5yo

--HG--
extra : rebase_source : da001f2f99a939a29174e1e16f06f8ed122f60f3
2017-03-08 23:39:47 -05:00
Boris Zbarsky 767339fbd8 Bug 1345362 part 1. Use mozilla::EnumeratedArray for mNonInheritingStyleContexts. r=heycam
MozReview-Commit-ID: EddWYLSmfGL

--HG--
extra : rebase_source : c2cd37964b60c25ae2176098addfcbf94cad61a3
2017-03-08 23:39:45 -05:00
Boris Zbarsky f6f7b64e6f Bug 1341705. Reenable some stylo tests that involve urls with anchors. r=heycam
MozReview-Commit-ID: KYQTaW7WZOS
2017-03-08 22:29:57 -05:00
Boris Zbarsky b73c71861b Bug 1345237. Propagate uint32_t deeper into the editor state and text control frame code. r=mystor
MozReview-Commit-ID: KeUo8My6eBJ
2017-03-09 14:44:45 -05:00
Boris Zbarsky 083facd7b2 Bug 1343037 part 10. Remove the unused SetSelectionStart/SetSelectionEnd bits on text control frame. r=ehsan
MozReview-Commit-ID: G7ODMdAjzxV
2017-03-09 14:44:05 -05:00
Boris Zbarsky 77e7a5575a Bug 1343037 part 6. Simplify the setup around the editor state's GetSelectionRange function. r=ehsan
Really, there are only two cases we need to worry about.  Either
IsSelectionCached(), and then our SelectionProperties has the data we want, or
not and then we have a non-null mSelCon which has the data we want.

Since we are now using cached selection state a lot more (instead of
initializing the editor whenever someone asks for selection state), we need to
actually update it more correctly when .value is set.

And since we now update the cached selection state for the case when .value has
been set (to point to the end of the text), we need to change
HTMLInputElement::HasCachedSelection to return false for that case.  Otherwise
we will always do eager editor init on value set.  We handle that by not doing
eager init if the cached selection is collapsed.

The web platform test changes test the "update on .value set" behavior.  They
fail without this patch, pass with it.

MozReview-Commit-ID: DDU8U4MGb23
2017-03-09 14:44:04 -05:00
Mason Chang 2289ed06ba Bug 1343979 - Add webrender support for ButtonBorderBackground. r=ethlin 2017-03-08 08:31:46 -08:00
Kartikaya Gupta a45bb3a916 Merge m-c to graphics
MozReview-Commit-ID: AzRIytAgP96
2017-03-08 10:08:57 -05:00
Boris Chiou d98106cdd2 Bug 1248340 - Part 9: Update stylo-failures.md. r=xidorn
We have more tests failed in test_value_storage after introducing
Frames timing functions. I put it together with `animation` pattern because
part of the error messages of `frames` pattern are put in the `animation`
pattern.

MozReview-Commit-ID: KP5Y6HEH90D

--HG--
extra : rebase_source : df50def9736b813ee7428bb22b9cd191bcaa6ae9
2017-03-08 13:15:21 +08:00
Wes Kocher 1e99d508d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: DaPlT30qXzs
2017-03-08 17:15:46 -08:00
Wes Kocher 3842d8fcef Merge inbound to central, a=merge
MozReview-Commit-ID: 62e9XDudUlc
2017-03-08 17:07:55 -08:00
Hiroyuki Ikezoe 11c8680e9d Bug 1344619 - Part 7: Drop EffectCompositor::ClearElementsToRestyle. r=birtles
MozReview-Commit-ID: DlTj2OR0wI0

--HG--
extra : rebase_source : 33307226315e6fb3facb000214e27d5582279dd6
2017-03-09 05:20:17 +09:00
Hiroyuki Ikezoe d547683e53 Bug 1344619 - Part 6: Kick EffectCompositor::PreTraverse() for an element. r=heycam
MozReview-Commit-ID: Fs3DlkfeBCT

--HG--
extra : rebase_source : 5375ddbf94a5dcc3420880a08fbb369b91e3c363
2017-03-09 05:20:17 +09:00
Hiroyuki Ikezoe 1761aeb22e Bug 1344619 - Part 4: Add ServoStyleSet::ResolveStyleLazily(). r=heycam
MozReview-Commit-ID: GvlD6lQYBQ6

--HG--
extra : rebase_source : 73baac118a3de04d88b565c61f853ec145d3d1e7
2017-03-09 05:20:17 +09:00
Hiroyuki Ikezoe 394a4a9b12 Bug 1344619 - Part 3: Kick EffectCompositor::PreTraverse(). r=heycam
MozReview-Commit-ID: HbBrQ7HZ8gf

--HG--
extra : rebase_source : 764ca245bd03ef5bc943c5814f53198141ad5b89
2017-03-09 05:20:17 +09:00
Kartikaya Gupta 90db7c5460 Merge m-c to graphics
MozReview-Commit-ID: DbHqbxaKedC
2017-03-07 10:30:42 -05:00
Carsten "Tomcat" Book 087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Iris Hsiao b0564b3436 Backed out changeset da035ac87fe4 (bug 713680) for reftest failures 2017-03-07 14:55:21 +08:00
Jeff Muizelaar 900393a0dc Bug 1344396. Build the display lists directly. r=kats
This is a largely uninteresting patch that just uses the DisplayListBuilder
directly. A wonderful cleanup patch will come after this. One of the more
interesting pieces is the use of PushBuiltDisplayList. This is needed for
handling empty transactions. See https://github.com/servo/webrender/pull/934
for more info.
2017-03-06 23:16:30 -05:00
Kartikaya Gupta cc2056e901 Bug 1343019 - Update webrender to cset 178a65d098afcda7de0298d80d423bc80c6426ba. r=jrmuizel
In addition to updating webrender and the third-party deps, this includes:
- Marking some more reftests as passing with the new version of webrender.
- Updating webrender bindings code to go with changes to push_stacking_context.
- Passing the window dimensions to the Renderer::new function.

MozReview-Commit-ID: 6dRHvAmIQ40

--HG--
rename : third_party/rust/servo-dwrote/.gitignore => third_party/rust/dwrote/.gitignore
rename : third_party/rust/servo-dwrote/README.md => third_party/rust/dwrote/README.md
rename : third_party/rust/servo-dwrote/src/bitmap_render_target.rs => third_party/rust/dwrote/src/bitmap_render_target.rs
rename : third_party/rust/servo-dwrote/src/com_helpers.rs => third_party/rust/dwrote/src/com_helpers.rs
rename : third_party/rust/servo-dwrote/src/comptr.rs => third_party/rust/dwrote/src/comptr.rs
rename : third_party/rust/servo-dwrote/src/font.rs => third_party/rust/dwrote/src/font.rs
rename : third_party/rust/servo-dwrote/src/font_collection.rs => third_party/rust/dwrote/src/font_collection.rs
rename : third_party/rust/servo-dwrote/src/font_face.rs => third_party/rust/dwrote/src/font_face.rs
rename : third_party/rust/servo-dwrote/src/font_family.rs => third_party/rust/dwrote/src/font_family.rs
rename : third_party/rust/servo-dwrote/src/font_file.rs => third_party/rust/dwrote/src/font_file.rs
rename : third_party/rust/servo-dwrote/src/font_file_loader_impl.rs => third_party/rust/dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/servo-dwrote/src/gdi_interop.rs => third_party/rust/dwrote/src/gdi_interop.rs
rename : third_party/rust/servo-dwrote/src/glyph_run_analysis.rs => third_party/rust/dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/servo-dwrote/src/helpers.rs => third_party/rust/dwrote/src/helpers.rs
rename : third_party/rust/servo-dwrote/src/rendering_params.rs => third_party/rust/dwrote/src/rendering_params.rs
rename : third_party/rust/servo-dwrote/src/test.rs => third_party/rust/dwrote/src/test.rs
rename : third_party/rust/servo-dwrote/src/types.rs => third_party/rust/dwrote/src/types.rs
2017-03-06 18:46:30 -05:00
Xidorn Quan 6eb58892f8 Bug 1345343 - Add a pref to turn off effect of xml:base on style attribute. r=bz
MozReview-Commit-ID: EzNLxIW0OCv

--HG--
extra : rebase_source : 7c6d1278ed47d35b109bbe3e6305032b7f125fa4
2017-03-10 18:04:34 +11:00
Hiroyuki Ikezoe 889e2fd23c Bug 1341985 - Update mochitest expectation. r=heycam
Following tests are for transitions.
 * test_animations_event_handler_attribute.html
 * test_animations_event_order.html

Following tests are using cssRules.
 * test_animations_dynamic_changes.html
 * test_bug716226.html

MozReview-Commit-ID: L5LlvnlgqTN

--HG--
extra : rebase_source : cc5957e7d5e74fdb9c17d1251fdcff2782087695
2017-03-10 12:12:54 +09:00
Hiroyuki Ikezoe cce97dde89 Bug 1341985 - Update CSS animation's reftest.list for stylo. r=heycam
MozReview-Commit-ID: 7eHga0F2JG5

--HG--
extra : rebase_source : f5facde9193c58b83834eb8286d61a646a345748
2017-03-10 12:12:54 +09:00
Hiroyuki Ikezoe 82007eb538 Bug 1341985 - Use registerCleanupFunction to restore to normal refresh mode. r=heycam
Otherwise, the refresh driver left under test mode when a javascript error
occurs in the middle of tests.

MozReview-Commit-ID: J7oUuuYhTZ1

--HG--
extra : rebase_source : 16467b780007eeacd0e70f581ca01ab6f778dfd7
2017-03-10 12:12:54 +09:00
Hiroyuki Ikezoe 2eb4e20a24 Bug 1341985 - Call UpdateAnimations even if the element has no computed values. r=birtles,heycam
MozReview-Commit-ID: 2dgAF7WOWxr

--HG--
extra : rebase_source : 8c2378d8d45484f206b4c890e89271fc95691ac3
2017-03-10 11:53:19 +09:00
Hiroyuki Ikezoe 5bfe316f81 Bug 1341985 - Skip update_animations if we have no running animations and the element becomes display:none. r=heycam
MozReview-Commit-ID: Ig81NKtXB85

--HG--
extra : rebase_source : 6d6d3f4794b83f5bc2b45bf2b6684f8c80064b32
2017-03-10 11:53:19 +09:00
Hiroyuki Ikezoe 495625f374 Bug 1341985 - GetAnimationCollection() takes const Element*. r=birtles
MozReview-Commit-ID: BPVROi9Ewzc

--HG--
extra : rebase_source : 599efa0aead37874e4e1c43ab793476d4adfe41d
2017-03-10 11:53:19 +09:00
Hiroyuki Ikezoe 96240dbfc8 Bug 1341985 - Update CSS animations in a SequentialTask. r=heycam
We create the SequentialTask only if:

* We have no old computed values and we have animation name style in the new
  computed values.
* Any animation properties is changed.
* display property is changed from 'none' and we have animation name style.
* display property is changed to 'none'.

In a subsequent patch we skip the SequentialTask if we have no running
animations and the display propery is changed to 'none'.

MozReview-Commit-ID: JRSZznufOS2

--HG--
extra : rebase_source : 566026c21c6357f77df55e3bd588835f5fd6c3d4
2017-03-10 11:53:19 +09:00
Hiroyuki Ikezoe 11184fb1e8 Bug 1341985 - Trigger the second traversal for updating CSS animations in the case of Servo_ResolveStyleLazily. r=heycam
MozReview-Commit-ID: 7E4unP9M7FQ

--HG--
extra : rebase_source : ee43d00ab84bcd6071ee7bb4cc1de4438229ea1b
2017-03-10 11:53:19 +09:00
Hiroyuki Ikezoe 843466ec0d Bug 1341985 - Trigger the second traversal for updating CSS animations. r=birtles,heycam
The restyle request during restyling is a result of creating/updating/removing
CSS animations that will come from a SequentialTask which will be implemented
in a subsequent patch.

MozReview-Commit-ID: JoAqvcN3y51

--HG--
extra : rebase_source : fdff59771b81518509dfd52e73d3f63ddb82390d
2017-03-10 11:53:19 +09:00
Hiroyuki Ikezoe 65b2567898 Bug 1341985 - Implement Gecko_StyleAnimationsEquals for checking nsStyleAutoArray<StyleAnimation> equality in servo side. r=heycam
Later we update CSS animations if this function returns false.

MozReview-Commit-ID: 27FsYQ40gSv

--HG--
extra : rebase_source : a043282de6c8a50ed53a92de98ecf93eb042f188
2017-03-10 11:53:17 +09:00
Hiroyuki Ikezoe f53a6a1993 Bug 1341985 - Split nsStyleAutoArray into a new header to avoid including nsStyleStruct.h in ServoBindingTypes.h. r=birtles
MozReview-Commit-ID: CMJkds7TKH0

--HG--
extra : rebase_source : 091a7beed6a8d0361c917c43aca9d7880b1bb783
2017-03-10 11:53:17 +09:00
Hiroyuki Ikezoe 58ea47fbe4 Bug 1341985 - We call EnsureTimerStarted on the main-thread after the traversal. r=heycam
We end up calling it in SequentialTask for updating CSS animations.

MozReview-Commit-ID: 7ip5XzU0VFb

--HG--
extra : rebase_source : 53b867d90ceea1547a1d35901360f6de8705aa02
2017-03-10 11:53:17 +09:00
Xidorn Quan eb74600c49 Bug 1346102 - Fix several expectation changes from #15896. 2017-03-10 16:11:05 +11:00
jeremychen@mozilla.com a0b2aad747 Bug 1345498 - [stylo] update mochitest expections for text-justify. r=xidorn
MozReview-Commit-ID: 3AtH1aOs6ov

--HG--
extra : rebase_source : 5ff2b07356189879d22b19a8285cbb9b8d1f5784
2017-03-10 11:09:20 +08:00
jeremychen@mozilla.com d866c15716 Bug 1056516 - submit Hyphenation Control reftests to CSSWG. r=jfkthame
MozReview-Commit-ID: 636GBMjvej6

--HG--
extra : rebase_source : 3d4e8a9f06d3f3ea2c44d5618dfed85e44bb0551
2017-03-10 00:30:12 +08:00
jeremychen@mozilla.com e1982f47d8 Bug 1056516 - add tests to our local reftests folder. r=jfkthame
MozReview-Commit-ID: 1Az4xBe6Nts

--HG--
extra : rebase_source : 1dbac56b33380c37a81070b0439af1750f08ef81
2017-03-10 00:30:12 +08:00
jeremychen@mozilla.com 2cb71eafe4 Bug 1056516 - let auto hyphen honor manual hyphen when hyphens:auto is set. r=jfkthame
MozReview-Commit-ID: BWzg3pb2lDH

--HG--
extra : rebase_source : 069dc3091bf7600d4675fe9ea5d0b41bc70744ba
2017-03-10 00:30:11 +08:00
jeremychen@mozilla.com f4ac16bb05 Bug 1056516 - use HyphenType to store different types of hyphenations. r=jfkthame
MozReview-Commit-ID: 22ICYSaY1I2

--HG--
extra : rebase_source : 05e0a442dec8a8ac7f1b663808fc016ee3385aa2
2017-03-10 00:30:11 +08:00
jeremychen@mozilla.com 68ca87317f Bug 1056516 - use AutoTArray for hyphenBuffer in BreakAndMeasureText. r=jfkthame
MozReview-Commit-ID: 1fQGiosLYG

--HG--
extra : rebase_source : cdca8fa9f308d3676a09b2735a98c13bd2a2e2ef
2017-03-10 00:30:10 +08:00
Manish Goregaokar 6a31ced725 Bug 1329093 - Part 5: Update test expectations; r=bz
MozReview-Commit-ID: 4mfC99WEQFG
2017-03-09 17:47:45 -08:00
Manish Goregaokar 7a6a00898d Bug 1329093 - Part 4: stylo: Delay SVG mapped attr resolution till later; r=bz
MozReview-Commit-ID: 2GvHPg1egjS
2017-03-09 17:46:26 -08:00
Manish Goregaokar bae202bd4f Bug 1329093 - Part 3: Overload FromContent() to work with const; r=bz
MozReview-Commit-ID: BUFmPtcf6LM
2017-03-09 17:46:23 -08:00
Manish Goregaokar 07fc7c5b25 Bug 1329093 - Part 1: stylo: Handle SVG presentation attributes; r=bz
MozReview-Commit-ID: 9cymo3c9HIn
2017-03-09 17:46:21 -08:00
Carsten "Tomcat" Book d0bd960945 merge mozilla-inbound to mozilla-central a=merge 2017-03-06 10:53:27 +01:00
Daniel Holbert 4d875a8b13 Bug 1344040: Annotate intentionally-unused SkipDeclaration() & ParseSingleTokenVariant() return values, and mark the functions as MOZ_MUST_USE. r=xidorn
MozReview-Commit-ID: JFBkIBHYdhQ
2017-03-05 20:29:30 -08:00
Hiroyuki Ikezoe d28fbf09bc Bug 1344603 - Make Stop{Animations|Transitions}ForElement as a member function of CommonAnimationManager. r=boris
MozReview-Commit-ID: LSSpWYjoPn9

--HG--
extra : rebase_source : c87ec78281b37f1cb32e38969c22fddc228d28f8
2017-03-06 13:19:09 +09:00
Hiroyuki Ikezoe d64b9d4c0f Bug 1340322 - Part 13: Update CSS Animations with servo's computed values. r=birtles
MozReview-Commit-ID: B7uSH7wrx3b

--HG--
extra : rebase_source : f878bac6a8d37a2c4de110afbeb28a59212e8abe
2017-03-06 10:09:47 +09:00
Hiroyuki Ikezoe b6b41abea1 Bug 1340322 - Part 12: Add another variant of nsAnimationManager::UpdateAnimations for stylo. r=birtles
This function updates CSS Animations with servo's computed values.

In bug 1341985, this function will be called with null servo's computed values
in the case where the target element is in display:none subtree.

MozReview-Commit-ID: GzOYy57hYho

--HG--
extra : rebase_source : 5dd10dc6181222ce2a531fc6e837102d7694bf40
2017-03-06 09:54:06 +09:00
Hiroyuki Ikezoe 5b127d1d61 Bug 1340322 - Part 11: Introduce ServoCSSAnimationBuilder. r=birtles
MozReview-Commit-ID: 6qWPPXexitN

--HG--
extra : rebase_source : 344c64882b118c2e4cdd37d3084493e9e37de93d
2017-03-06 09:52:23 +09:00
Hiroyuki Ikezoe b7d914d103 Bug 1340322 - Part 10: Rename CSSAnimationBuilder to GeckoCSSAnimationBuilder. r=birtles
MozReview-Commit-ID: 9DV9fijsoXF

--HG--
extra : rebase_source : d4caca424121bddeb4e15fa8a33f3e994c1ffa8b
2017-03-06 09:52:20 +09:00
Hiroyuki Ikezoe fccd7b4c32 Bug 1340322 - Part 9: Templatize functions that will be used with servo's computed values. r=birtles
MozReview-Commit-ID: 8d5wHBhF4y9

--HG--
extra : rebase_source : 767bd65e2e57e6e991c0725bb6b86a7cb4f427dc
2017-03-06 09:51:16 +09:00
Hiroyuki Ikezoe d0ed1e91e7 Bug 1340322 - Part 8: Split off some processes that will be used for servo's computed values in UpdateAnimations(). r=birtles
MozReview-Commit-ID: LkWqhGsMCPf

--HG--
extra : rebase_source : 1b492da4269e92bd09fe392b85b5a91758119b0e
2017-03-06 09:50:09 +09:00
Hiroyuki Ikezoe ec26c67559 Bug 1340322 - Part 7: Make BuildAnimation() and BuildAnimations() independent from nsStyleContext. r=birtles
MozReview-Commit-ID: 3R7MyyN17C1

--HG--
extra : rebase_source : ad2b5d15d34db0fa48743cc2885b7b45a70f069e
2017-03-06 09:49:16 +09:00
Hiroyuki Ikezoe b82c2c4b07 Bug 1340322 - Part 6: Add CSSAnimationBuilder::SetKeyframes(). r=birtles
ServoCSSAnimationBuilder will have the same name method too.

MozReview-Commit-ID: ET9GERVtbWP

--HG--
extra : rebase_source : 15f0edde92544a7849e97ad08fb1fce844a05cac
2017-03-06 09:49:07 +09:00
Hiroyuki Ikezoe 4162f7acd3 Bug 1340322 - Part 5: Split off BuildKeyframes() r=birtles
ServoCSSAnimationBuilder will also have the same name method.

MozReview-Commit-ID: CySTBGuTZn7

--HG--
extra : rebase_source : 2a8448c6613d2174e292418f7f9e1b2c3e894b20
2017-03-06 09:48:50 +09:00
Hiroyuki Ikezoe f8810e9a45 Bug 1340322 - Part 4: Make BuildAnimations() independent from nsStyleDisplay r=birtles.
MozReview-Commit-ID: JiV2WxBVH3i

--HG--
extra : rebase_source : 91b316bedb29893e4af80ab634be2ba042befdeb
2017-03-06 09:48:44 +09:00
Hiroyuki Ikezoe 70c0e758be Bug 1340322 - Part 3: Make BuildAnimations static function. r=birtles
This function will be also a template function.

MozReview-Commit-ID: 4SbzEw8YzIZ

--HG--
extra : rebase_source : 24be2923cddf3aff82b84fb7d3c757f83fb42716
2017-03-06 09:48:36 +09:00
Hiroyuki Ikezoe 924ac7a4ab Bug 1340322 - Part 2: Use NonOwningAnimationTarget instead of Element and aStyleContext()->GetPseudoType(). r=birtles
MozReview-Commit-ID: JOBBGUs8kJd

--HG--
extra : rebase_source : bf94f9abf25805a25db1961371babbf70cb76a8a
2017-03-06 09:47:22 +09:00
Hiroyuki Ikezoe 0082bf9c47 Bug 1340322 - Part 1: Split CSSAnimationBuilder::Build off as a static function. r=birtles
The static function will be a template function that can be used with servo's
computed values as well.


MozReview-Commit-ID: DgLTQ8ihPod

--HG--
extra : rebase_source : f3114ca7f0b6c249d2b535c18af4da4021c5743c
2017-03-06 09:46:40 +09:00
Hiroyuki Ikezoe 21e340c4fc Bug 1344533 - Replace OwningElementRef::GetRenderedPresContext with nsContentUtils::GetContextForContext(). r=boris
MozReview-Commit-ID: HaAvgNcORQb

--HG--
extra : rebase_source : 2571541c3274fa1eb9233c8c01128190b94d108c
2017-03-05 17:28:49 +09:00
Olli Pettay ac35022bab Bug 1346644 - Disable high priority vsync handling in parent process, r=ehsan
--HG--
extra : rebase_source : 6d5000e99d02217091f997c6b5169c8da7d03709
2017-03-13 18:25:10 +02:00
Stone Shih 7a1fe394b3 Bug 1323158 - Part 5: Update test_pointerevent_releasepointercapture_events_to_original_target-manual.html. r=smaug
--HG--
extra : rebase_source : a0bcfebeec733bd19de430169ee85311c3ceaa64
extra : histedit_source : de28bd8878ad23bad064e884e96a74f2855045a8
2017-03-03 13:24:20 +08:00
Andrea Marchesini 12b54aa0f5 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
Boris Zbarsky 021078e722 Bug 1343879. Be consistent about the parent style context the document-level anonymous content container should get: it should get no parent style context. r=bholley
MozReview-Commit-ID: 8cVsXhVWBgS
2017-03-08 03:14:10 -05:00
Andreas Farre 85536fcfc4 Bug 1337392 - Update test cases to match new cursor behavior. r=smaug
MozReview-Commit-ID: 4BdZyeqTBAx
2017-03-08 16:41:42 +01:00
Andreas Farre 37de7414cb Bug 1337392 - Only place cursor at textarea/input end if content was changed. r=smaug
MozReview-Commit-ID: CmlN9Pn97Nl
2017-03-08 16:41:31 +01:00
Carsten "Tomcat" Book f6885163cd Merge mozilla-central to mozilla-inbound 2017-03-08 14:28:34 +01:00
Carsten "Tomcat" Book 98d5664d03 Backed out changeset 7bf4e5ea128d (bug 1343879) for causing merge conflicts
--HG--
extra : rebase_source : 50bfa0845a029bd578398fb99180304fe6ba56ab
2017-03-08 14:23:57 +01:00
Brad Werth d2ed12d9e6 Bug 1343695 Part 1: Retrieve text content with GetRenderedText. r=mats
MozReview-Commit-ID: 4VLoaTlDELG

--HG--
extra : rebase_source : d48bc3f175cc88d76087e4371e2b9efead517613
2017-03-01 16:15:22 -08:00
Wes Kocher 8f1654d5da Merge m-c to autoland, a=merge
MozReview-Commit-ID: FnlgTDNtM67
2017-03-14 17:24:12 -07:00
Kartikaya Gupta 44f27a56e4 Bug 1343977 - Extract nsAutoRollup into a more self-contained class and clean it up some. No functional changes intended. r=enndeakin+6102
This just decouples nsAutoRollup from the widget class, which it isn't really
bound to anyway because the internal data is static. We'll need to be able to
use nsAutoRollup independently in the next patch.

MozReview-Commit-ID: 1dxSLTr4g1K

--HG--
extra : rebase_source : 6f6964ca046b6f88e5c99c944a08b1c563f17837
2017-03-13 10:44:56 -04:00
Hiroyuki Ikezoe 874f05c5d2 Bug 1346408 - Update mochitest expectation. r=heycam
MozReview-Commit-ID: IbdEoCtiF13

--HG--
extra : rebase_source : 22226e1566e2b1c5894bdd55c8f9d77a9a49b6d4
2017-03-15 06:36:12 +09:00
Wes Kocher 62861f9ecc Bug 1341102 - fix autoland bustage; r=bustage a=bustage
MozReview-Commit-ID: qJqahM6q5n

--HG--
extra : rebase_source : 342730a62fc46c16133a6e4019731c91fe955468
2017-03-14 14:50:10 -07:00
Kartikaya Gupta 151ed266bc Bug 1316318 - Disable paint-skipping for elements where we disable APZ. r=mstange
If we disable APZ on an individual scrollable element by setting the "disable APZ"
flag on the ScrollMetadata, we should also disable paint-skipping for that element.
If we don't do this, we end up in a situation where the APZ code is not applying
the async transform but is sending repaint requests expecting the main thread to
do repaints. Meanwhile the main-thread thinks that it can send empty transactions
and have APZ update the async transform (a.k.a. paint-skipping). So visually
neither APZ nor main-thread have an effect and the element doesn't appear to
scroll except with the tile-aligned displayport shifts. Disabling paint-skipping
on the element fixes the issue.

MozReview-Commit-ID: H4wpVLw8r8X
2017-03-15 08:24:08 -04:00
Kartikaya Gupta d12472f3f7 Bug 1316318 - Disable APZ scrolling in subframes if the root document has visible anonymous content. r=mstange
Various pieces of browser chrome, such as the accessible carets or new
find-in-page highlighter, overlay the content with anonymous content elements.
These overlays are positioned with respect to the root document. This means that
if the overlay really pertains to a scrollable subframe (e.g. carets for a text
selection inside an iframe), then scrolling the subframe would result in the
anonymous contents being "mispositioned" from the user's point of view. The
browser chrome code that creates the overlay is responsible for moving it in
response to user scrolling, so that it appears correct. However, the only
mechanism the browser chrome code has to detect user scrolling are the main-thread
events, which are asynchronous with respect to APZ.

Therefore, in order to improve the user experience, we need to disable APZ in
cases where this happens. We specifically isolate the case where the root content
document has visible anonymous content elements, and disable APZ on scrollable
subframe elements inside that document. Note that APZ remains enabled on the
root scroller itself, because we expect the browser chrome code to use absolute-
positioning on their anonymous contents, so that even with APZ scrolling they
will stay where they are supposed to.

MozReview-Commit-ID: 770edaGWMLi
2017-03-15 08:23:57 -04:00
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
David Anderson 8082fe14ae Remove references to the Direct3D9 compositor. (bug 1318558 part 1, r=mattwoodrow) 2017-03-08 00:17:36 -08:00
Boris Zbarsky 9f7f500011 Bug 1343879. Be consistent about the parent style context the document-level anonymous content container should get: it should get no parent style context. r=bholley
MozReview-Commit-ID: 8cVsXhVWBgS
2017-03-08 03:14:10 -05:00
Wes Kocher dac8dc0c7b Merge inbound to central, a=merge
MozReview-Commit-ID: 96co4Bbby7W
2017-03-07 16:40:44 -08:00
Sebastian Hengst 9913356b39 Backed out changeset 8bd27accc2a0 (bug 1340661) for mass-failing on Android at gfx/thebes/gfxPrefs.h:377. r=backout on a CLOSED TREE 2017-03-07 21:36:20 +01:00
Mike Conley 8c8d67a332 Bug 1340661 - Manually draw checkbox and radio frames on Android. r=snorp,tnikkel
MozReview-Commit-ID: 8IiaRZNJs16

--HG--
extra : rebase_source : 7cedbc046bd7bff552b16d2f10d16af56a9c3f79
2017-03-03 18:36:12 -05:00
Florian Quèze cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Carsten "Tomcat" Book 41ba400533 Merge mozilla-central to mozilla-inbound 2017-03-07 15:18:32 +01:00
Cameron McCormack 000db6ade3 Bug 1334768 - Remove some superfluous comments from a crashtest manifest. r=me (DONTBUILD)
MozReview-Commit-ID: IGbJtry4M1y

--HG--
extra : rebase_source : f84c68717defb20f570a3c8c3778df264111fef5
2017-03-07 20:50:27 +08:00
Jeremy Chen e6c42c1a7b Bug 1348236 - label nsAutoScrollTimer for nsSelection. r=heycam
MozReview-Commit-ID: pUfQwRsecx

--HG--
extra : rebase_source : 1ff474affc0bfd5c8911731badc6b87815d434ff
2017-03-19 00:40:30 +08:00
Jeremy Chen 7a35c86351 Bug 1348236 - coding style fixes for nsAutoScrollTimer and its uses in nsSelection. r=heycam
MozReview-Commit-ID: GlfYK7NpTWX

--HG--
extra : rebase_source : 16e94c14269f8684b6eb3dfb4a2f408ec3763230
2017-03-19 00:40:30 +08:00
Sebastian Hengst db670f1744 merge mozilla-central to autoland. r=merge a=merge 2017-03-18 16:35:12 +01:00
Cameron McCormack fb18ceba5d Bug 1330843 - Allow JS to create NAC pseudo-elements. r=bholley
MozReview-Commit-ID: 2aBPoCOsT6R

--HG--
extra : rebase_source : bc32cd9e4bd5c73af094718c795691da84abe5ba
2017-03-17 15:30:34 +08:00
Emilio Cobos Álvarez 0d46ce5c0d No bug: Update unexpected passes from servo/servo#15866. r=me
Unexpected failures are going to be dealt with in servo/servo#15873.

MozReview-Commit-ID: 3r1z7ahH05D
2017-03-08 17:39:45 +01:00
Carsten "Tomcat" Book 96fe421b34 Merge mozilla-central to autoland 2017-03-08 17:04:17 +01:00
Emilio Cobos Álvarez 88008d0832 No bug: update test expectations for servo/servo#15867. r=me
MozReview-Commit-ID: A55Wy7bnSKo
2017-03-08 16:39:41 +01:00
Cameron McCormack ad8f9b20ed Bug 1341102 - Update stylo test expectations. r=me 2017-03-13 17:42:31 +08:00
Boris Chiou af4598f9ae Bug 1248340 - Part 4: Implement Frames in the style system. r=dholbert
Use eCSSUnit_Function to store the frames timing function. Also, add one more
css keyword: frames.
The following changes are included in this:
1. Parser changes.
2. Serialization.
3. Computation in nsRuleNode.
4. Invalid and other values in property_database.js

MozReview-Commit-ID: 887QcXHQ2pU

--HG--
extra : rebase_source : ca0135380ea432cb69c4f36cf502d404e04999e5
2017-02-24 14:50:08 +08:00
Boris Chiou aa57157303 Bug 1248340 - Part 3: Implement Frames for OMTA. r=birtles
MozReview-Commit-ID: k3Wvl4ofe7

--HG--
extra : rebase_source : edbf827ffe102a5353c41078bd2b14c8b56eb23e
2017-02-26 15:34:02 +08:00
Boris Chiou 89f3bc4396 Bug 1248340 - Part 1: Add the type of Frames in nsTimingFunction. r=birtles
MozReview-Commit-ID: GPn8D9gwjqa

--HG--
extra : rebase_source : 25e9f5f5d94545e26e467fe8666c03d8d222cda2
2017-02-24 14:34:08 +08:00
Boris Zbarsky f12067d36e Bug 1343078 part 7. Make placeholders a non-inheriting anon box. r=dbaron
MozReview-Commit-ID: 3kQQroDRlr8

--HG--
extra : rebase_source : 6b1c8e0c1f287532badedb50439e415f97a4cf81
2017-03-08 00:18:40 -05:00
Boris Zbarsky 33ec5ffb9e Bug 1343078 part 6. Change nsFrame::CorrectStyleParentFrame to return null if we're dealing with a non-inheriting anon box. r=dbaron
MozReview-Commit-ID: In9U54Wsjnz

--HG--
extra : rebase_source : 8425dea88af769da2a268f4128a3a7ebb1aace76
2017-03-08 00:18:39 -05:00
Boris Zbarsky 3cfe8ca0d3 Bug 1343078 part 5. Change the restyle manager to handle style contexts with no parent in ReparentStyleContext (by doing nothing with them). r=dbaron
MozReview-Commit-ID: 9a89RV8mKYn

--HG--
extra : rebase_source : 8641a122cd5e8f91589757a2878256a0bd675aff
2017-03-08 00:18:39 -05:00
Boris Zbarsky 71f35d2571 Bug 1343078 part 4. Add storage for the singleton non-inheriting anon box style contexts on style set. r=dbaron
MozReview-Commit-ID: 9OvEssf3J5o

--HG--
extra : rebase_source : 43856176ef02474c00b76a8e498ff7a926c92b23
2017-03-08 00:18:39 -05:00
Boris Zbarsky be2dd33efe Bug 1343078 part 3. Introduce the concept of non-inheriting anon boxes without adding any yet. r=dbaron
MozReview-Commit-ID: 1NZ2xI4XCWH

--HG--
extra : rebase_source : 5a24fa9954be80cbac06d9a1873ce5ec8c91ea95
2017-03-08 00:18:39 -05:00
Boris Zbarsky dca977e5a4 Bug 1343078 part 2. Restrict the "is a root" blockification behavior in nsStyleContext to non-pseudos and a limited set of anonymous boxes that want the behavior. r=dbaron
MozReview-Commit-ID: IdUKYbM1i8F

--HG--
extra : rebase_source : 465e1bfb6e48011e78acbc553400012e0974b8fb
2017-03-08 00:18:39 -05:00