Commit Graph

62172 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
f1eb8b8c09 Bug 1430975 - Reduce elapsed time precision for transitioncancel event. r=boris
See the table for elapsed time for each transition event;
https://drafts.csswg.org/css-transitions-2/#event-dispatch

MozReview-Commit-ID: DuLip0XkwtE

--HG--
extra : rebase_source : 049d1559ae49cf76df16d05b77dd5cd4d196bc2a
2018-01-18 15:01:27 +09:00
Hiroyuki Ikezoe
ac53e161ce Bug 1430975 - Reduce elapsed time precision only for animationcancel event. r=boris
Only animationcancel event uses current time, the elapsed time for other
animation events are simply calculated from given animation properties (e.g.
animation-duration, animation-delay, etc.), so they should not be reduced the
precision.

See the table for each elapsed time;
https://drafts.csswg.org/css-animations-2/#event-dispatch

MozReview-Commit-ID: 1KGUAdDHyXV

--HG--
extra : rebase_source : 8bc803ff9e3526396e694082392f9d1454999a0f
2018-01-18 15:01:27 +09:00
Hiroyuki Ikezoe
63595f9d3e Bug 1430975 - Make zero duration as a static constexpr. r=boris
MozReview-Commit-ID: GX9qzgLkkNn

--HG--
extra : rebase_source : 18748710abdce96c47c3c4d5e83ffe7d964c1272
2018-01-18 15:01:24 +09:00
Hiroyuki Ikezoe
fa8cb05830 Bug 1430975 - Don't pass a copy of StickyTimeDuration. r=boris
MozReview-Commit-ID: HlQlMB1FBRi

--HG--
extra : rebase_source : 19888f1aa8cb98ecb1ee0aeaa46c8e4015e12867
2018-01-17 18:05:03 +09:00
Hiroyuki Ikezoe
702e90de1a Bug 1430975 - Rename |aDuration| argument to |aElapsedTime|. r=boris
It's not actually duration.

MozReview-Commit-ID: LUHrJTJPMuj

--HG--
extra : rebase_source : 0985a6721eecbefa4f1e741030bbd7ba5991d21b
2018-01-17 18:05:03 +09:00
Csoregi Natalia
6254005c4b Backed out 2 changesets (bug 1431041) for failing dom/html/test/forms/test_input_number_placeholder_shown.html. on a CLOSED TREE
Backed out changeset 57641ee7058f (bug 1431041)
Backed out changeset 7a4c3ab0ade8 (bug 1431041)
2018-01-18 07:29:14 +02:00
Emilio Cobos Álvarez
0d4c1d977b Bug 1431041: Make placeholder apply to <input type="number">. r=smaug
MozReview-Commit-ID: GLbdLxHLiH4

--HG--
extra : rebase_source : 18454d0720e45bc2734f01d9a84eaad33a36e848
2018-01-17 14:52:01 +01:00
Tiberius Oros
0f3b1d6ace Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-18 00:28:57 +02:00
Tiberius Oros
e32fe8c45c Backed out changeset 50a5f0a08899 (bug 1430494)for dependency with bug 1420737 that causes merge conflict on CLOSED TREE 2018-01-18 00:23:12 +02:00
Emilio Cobos Álvarez
e06ff3dbe2 Backout changeset b54c60961def (Bug 1409672) for failing one OSX reftest on a CLOSED TREE. r=backout
MozReview-Commit-ID: 6ZHlFBpMOUo
2018-01-17 23:09:38 +01:00
Tiberius Oros
92e228aa49 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Tiberius Oros
25b2d642db Merge autoland to mozilla-central. a=merge 2018-01-17 23:46:17 +02:00
Ryan VanderMeulen
4fc6ee24c9 Backed out changeset ff731fad7630 (bug 1420737) for causing bug 1431064. a=RyanVM 2018-01-17 16:08:13 -05:00
Cosmin Sabou
2568dc9ebb Backed out 11 changesets (bug 1207734) for asserting at layout/painting/nsDisplayList.h:2835 while running mda's dom/media/tests/mochitest/test_getUserMedia_peerIdentity.html on a CLOSED TREE
Backed out changeset 4efc37f978d2 (bug 1207734)
Backed out changeset a42b83c0d1b4 (bug 1207734)
Backed out changeset 5b3dfc8f3031 (bug 1207734)
Backed out changeset a4626910ce09 (bug 1207734)
Backed out changeset 8991d0468642 (bug 1207734)
Backed out changeset 2bc1fdf79e03 (bug 1207734)
Backed out changeset 7d5913531948 (bug 1207734)
Backed out changeset c6be6571ad12 (bug 1207734)
Backed out changeset cfa892d6aa84 (bug 1207734)
Backed out changeset 71f635d9a86f (bug 1207734)
Backed out changeset 3f27af783ce1 (bug 1207734)
2018-01-17 18:32:25 +02:00
Cosmin Sabou
1f9b4f0f06 Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
Matt Woodrow
b654a30f82 Bug 1420737 - Fix merge algorithm to handle more complex z-index changes. r=mstange
--HG--
extra : rebase_source : 2cef89d230348204bc08af071d57109097865417
2018-01-17 12:07:42 +13:00
Matt Woodrow
89bf796c70 Bug 1429078 - Handle the case where the subdoc view doesn't have a frame. r=miko
--HG--
extra : rebase_source : badce58f07f66a7a0146f51792463c08a75506f1
2018-01-17 12:04:51 +13:00
Jonathan Watt
e04dd6678d Bug 1430682 - Use OwningNonNull for nsPagePrintTimer::mDocViewerPrint and remove null checks. r=bobowen
MozReview-Commit-ID: 5CPaYTA2PrC
2018-01-09 22:21:53 +00:00
Jonathan Watt
706256a2cc Bug 1430687 - Move the mDestroyBlockedCount early return in nsDocumentViewer::Destroy to the top. r=bobowen
MozReview-Commit-ID: Exe0hIFHK8z
2018-01-09 12:47:20 +00:00
Jonathan Watt
d75df097a4 Bug 1430686 - Rename the document viewer "DestroyRefCount" member and methods. r=bobowen
MozReview-Commit-ID: KGUJXOKEQjV
2018-01-08 16:59:31 +00:00
Jonathan Watt
7085690980 Bug 1430683 - Remove nsPrintData::mOrigDCScale. r=bobowen
MozReview-Commit-ID: 3iUiCuiVBei
2018-01-08 11:43:16 +00:00
Jonathan Watt
a9cf608630 Bug 1430689 - Make ReturnToGalleyPresentation non-virtual. r=bobowen
MozReview-Commit-ID: J3dZuZfDXFd
2018-01-05 12:47:20 +00:00
Lee Salzman
1a23b6eab1 Bug 1400384 - support text writing modes with WebRender. r=gankro 2018-01-17 07:51:20 -05:00
Cosmin Sabou
cff14fad3f Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-01-17 11:50:40 +02:00
cku
e28f66c253 Bug 1207734 - Part 5. Implement the getComputedStyle API for individual transform. r=birtles
MozReview-Commit-ID: 3w1kA6VCXsg

--HG--
extra : source : 659e8ae95236178c2eb73bccb24e7fb6c2c1e351
extra : histedit_source : a4a93d99944741b265127e7227cc46899a7e3fcb
2017-12-19 14:33:09 +08:00
cku
1aadc95d1d Bug 1207734 - Part 4.c. Temporary disable async-transform for individual-transform. r=birtles
Since we do not support async-transform for individual-transform yet.

MozReview-Commit-ID: gfOzHpjOnQ

--HG--
extra : source : e7c6e73fa4215ff49194b5dc89de7f3472259f1b
extra : histedit_source : 7526bb5d88ca6cf2bd9cbe5298527d77cfe7d9c1
2018-01-05 14:45:05 +08:00
cku
564c97aa32 Bug 1207734 - Part 4.b. Use the final combined transform in the nsDisplayTransform. r=birtles
MozReview-Commit-ID: CDlvzkcae0g

--HG--
extra : source : 9d97fc3071af8f3d206f1cbe931c72949a9eb01f
extra : histedit_source : 65d6c3301ea3282c0e82990fcacdf4a612c35f55
2017-12-13 01:21:41 +08:00
cku
6ed6d25fb5 Bug 1207734 - Part 4.a. Store the final combined transform in nsStyleDisplay::mCombinedTransform. r=birtles
MozReview-Commit-ID: FsuaMoclnL8

--HG--
extra : source : 792ed2b2a359c6f8ccb109707bac13f78eb08ad7
extra : histedit_source : 8b5659ff05a07bc32d11ff6507db9f716e060ea3
2017-12-13 01:17:05 +08:00
cku
3e1f6d13fe Bug 1207734 - Part 3. Add rotate/translate/scale properties into nsCSSPropList. r=emilio,heycam
MozReview-Commit-ID: 3nb365nnqGF

--HG--
extra : source : d5e9a0ff410ba6f4a66aa0cf077333038f1ffc4a
extra : histedit_source : 91e94a210c5a60e1b993da41bc180e5879688df1
2017-12-06 17:58:05 +08:00
cku
7429d3275e Bug 1207734 - Part 1.d. Carry the computed value of individual transform in nsStyleDisplay. r=emilio
Add three more attributes in nsStyleDisplay
1. mSpecifiedRotate to carry computed value of 'rotate' property.
2. mSpecifiedTranslate to carry computed value of 'translate' property.
3. mSpecifiedScale to carry computed value of 'scale' property.

Since each of these tree new property can be an animation target, we have to store
them in speparate attributes, instead of putting them all in mSpecifiedTransform.

MozReview-Commit-ID: G2dBAxzyBWh

--HG--
extra : source : 1a75f7765d854910fbb10b2fd31427ef1d9524c6
extra : histedit_source : fd304f41f0e6856bf5a376e30bb13cb90b2534c5
2017-12-06 17:17:34 +08:00
cku
e79ea7c484 Bug 1207734 - Part 1.c. Fix coding style of HasTransformStyle. r=birtles
MozReview-Commit-ID: 3UgIrO5qLFq

--HG--
extra : source : 0b84734c0e64709ef0c0d4239ef8cc0a1068bdd6
extra : histedit_source : b08deb59f94fab16a3f188ec1fbf783800b9b42b
2018-01-15 11:12:25 +08:00
cku
d55f61830e Bug 1207734 - Part 1.b. Do not initialize mSpecifiedTransform in ctor. r=emilio
nsDisplayList::mSpecifiedTransform is a RefPtr, no need put it into intialize
list.

MozReview-Commit-ID: B04gytHwb2K

--HG--
extra : source : 62a57ffe6c6137efbf68bbc9843e0cb0a170003e
extra : histedit_source : 611e7d35e359f0c72bbbddcd9266425c2a4f4f5b
2017-12-07 10:32:18 +08:00
cku
c3f698ad0c Bug 1207734 - Part 1.a. Implement ReleaseSharedListOnMainThread to reuse the code of releasing nsCSSValueSharedList objects hold by a style struct. r=emilio
MozReview-Commit-ID: IBfqulFXimi

--HG--
extra : source : b593afd0ebc2fd5412b9b28709a21743b2befc24
extra : histedit_source : c68a438eade5266ba7fcd3087ba0c6606cbb36d7
2017-12-07 10:22:49 +08:00
Andreea Pavel
d6a9e2303f Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-16 18:00:21 +02:00
Andrea Marchesini
8fa0f9ab3a Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in nsTextControlFrame, r=catalinb 2018-01-16 14:17:10 +01:00
Andreea Pavel
c98c2f7291 Backed out 2 changesets (bug 1428491) for failing browser chrome mochitest at /builds/worker/workspace/build/src/layout/style/ServoStyleSet.cpp:941 on a CLOSED TREE
Backed out changeset 308e79e6c98f (bug 1428491)
Backed out changeset dbfd798e491b (bug 1428491)
2018-01-16 14:26:41 +02:00
Andreea Pavel
b246f6ad48 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-16 11:53:37 +02:00
Morris Tseng
68bd6b6c46 Bug 1424177 - Add reftest. r=kats
MozReview-Commit-ID: GfMRLGCia4Y
2018-01-16 17:33:13 +08:00
Emilio Cobos Álvarez
4ce67178eb Bug 1428491: Remove redundant mBindingManager member in ServoStyleSet. r=heycam
MozReview-Commit-ID: KMiivgik0fr

--HG--
extra : rebase_source : 9cb1181c2b3c1fd5274af3d53042fa3a0966ad10
2018-01-05 20:17:26 +01:00
Emilio Cobos Álvarez
bde9657140 Bug 1428491: Make the style set know about a document, not a pres context. r=heycam
MozReview-Commit-ID: I7T41NiHuJv

--HG--
extra : rebase_source : 4642cf6f511f5c4e5ba285e2e865574a44459081
2018-01-05 13:51:08 +01:00
Emilio Cobos Álvarez
124c284658 Bug 1429961: Crashtest. r=me
MozReview-Commit-ID: 79OJm4Ay1lf
2018-01-16 11:03:40 +01:00
Dorel Luca
09deda375a Merge mozilla-central to autoland r=merge 2018-01-16 06:07:49 +02:00
Emilio Cobos Álvarez
8631d601b8 Bug 1429961: Avoid copying PostDestroyData. r=mats
We don't want that to happen.

MozReview-Commit-ID: EQ6igMRyeaV

--HG--
extra : rebase_source : 58c374baf6d5d6af778829f9ca708e8aa3372899
2018-01-15 21:51:58 +01:00
Emilio Cobos Álvarez
b2223e5580 Bug 1429961: Destroy continuations last-to-first. r=mats
MozReview-Commit-ID: Ftc8NJLTaAw

--HG--
extra : rebase_source : bfe1e6be81b460b320145fa345b722775db24f4c
2018-01-15 21:39:03 +01:00
Emilio Cobos Álvarez
03f4a1ab69 Bug 1429961: Make sure to remove all the continuations with the same PostDestroyData. r=mats
If we remove the first continuation of the ::after content before the last,
before this patch unbind the generated content ASAP. Part of the generated
content (the second counter) in the test-case ends up in a continuation of that
frame.

That text node would already be unbound from the tree when destroying its
frame.

MozReview-Commit-ID: 4VtVRSoGxCT

--HG--
extra : rebase_source : e14b9660adf27c906ec7e89f27693b462ab5bde2
2018-01-15 16:40:26 +01:00
Neil Deakin
0538f8c6ce Bug 1427449, don't close the menu in nsMenuBarFrame::FindMenuWithShortcut when just checking if such a menu shortcut key exists from the keydown event handler, also for extra safety this should only happen for menus not panels, r=felipe 2018-01-15 15:16:56 -05:00
KuoE0
25856340db Bug 1428297 - (Part 3) Disable the assertion that don't allow to call ShowDropDown() in the content process when content-select is enabled. r=mats
To prevent the crash when content-select is enabled, I disable this
assertion that don't allow to call ShowDropDown() in the content
process.

MozReview-Commit-ID: F3BelChp1AK

--HG--
extra : rebase_source : 2bbec4dceffb7698804609010127b37442a907a7
2018-01-10 11:52:37 +08:00
KuoE0
4bd2b6bbf0 Bug 1428297 - (Part 2) Ignore the widget/view usage that is used to show the dropdown menu when content-select is enabled. r=mats
MozReview-Commit-ID: 68HYWmniXwt

--HG--
extra : rebase_source : 4163e1ca016c818acc24ff27121c7e54b45e0aa8
2018-01-08 11:43:51 +08:00
KuoE0
ddd7e128f7 Bug 1428297 - (Part 1) Add an nsLayoutUtils function to check whether content-select is enabled r=mats
MozReview-Commit-ID: KVQ25Dhl9xl

--HG--
extra : rebase_source : 3f3186a7c73ff59f46566a5636d66d0684e3f0f4
2018-01-11 10:37:41 +08:00
Makoto Kato
12f318b242 Bug 1415416 - Part 2. Add test. r=masayuki
MozReview-Commit-ID: 5Bbh5ifPSs7

--HG--
extra : rebase_source : 07cabbc6f2ed00018c4b6a3ce8eebe121cb7998f
2018-01-11 18:39:40 +09:00