Commit Graph

63704 Commits

Author SHA1 Message Date
Csoregi Natalia
a9a2483cec Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : bdcf059fd5dd355e5949760f00b5c5cb46f3528e
2018-04-15 12:19:10 +03:00
Kris Maglione
44ae2b5cde Bug 1420908: Remove telemetry experiments. r=gfritzsche
MozReview-Commit-ID: 6KEEZ6nKXrU

--HG--
extra : rebase_source : aeb2f66e7ffdba6ac438aaa3fee69b133d2fa2fd
extra : histedit_source : 15eaed2f9013357732660f8b63c28af13abbd870
2018-04-03 15:17:13 -07:00
Jeff Walden
821db93ccc Bug 1453456 - Replace nsCRT::IsAscii{Alpha,Digit} with mfbt/TextUtils.h versions. r=froydnj
--HG--
extra : rebase_source : b31986c0e6828be79442cfb0cf369eb80c232139
2018-04-12 20:19:30 -07:00
Ryan VanderMeulen
effc958e89 Backed out changeset 91406356569c (bug 1453339) for landing without review. 2018-04-14 10:25:15 -04:00
Boris Zbarsky
a0ee72689e Bug 1453339 - Make it harder to mess up Promise::All. r=peterv
MozReview-Commit-ID: UO4wssYHj7
2018-04-12 17:03:49 -04:00
Emilio Cobos Álvarez
9083c33e83 Bug 1453206: Fix IsInAnonymousSubtree to account for XBL in Shadow DOM. r=smaug
MozReview-Commit-ID: B2aYury8K7i
2018-04-14 11:59:06 +02:00
Cameron McCormack
7498850f28 Bug 1453877 - Remove unused RestyleHintData struct. r=xidorn
And fix a comment mentioning nsCSSSelectorList that I came across.

MozReview-Commit-ID: 1BOcDqV5dUr

--HG--
extra : rebase_source : 5fbdae6da74cf4fac145fbdd721723e81839e4b3
2018-04-13 15:16:13 +10:00
Masayuki Nakano
c389fb3752 Bug 1440189 - Stop dispatching keypress event to the default event group in web content (only Nightly and early Beta) unless web page isn't in blacklist r=smaug
UI Events declares that keypress event should be fired only when the keydown
sequence produces some characters.  For conforming to UI Events and
compatibility with the other browsers, we should stop dispatching keypress
events for non-printable keys.

For getting regression reports, we should enable this new behavior only
on Nightly.

However, some web apps actually broken with the standardized behavior.  For
protecting testers from known broken web apps, this patch introduces a
blacklist to take the traditional behavior under specific domain (and path in
it, optionally).  Currently, docs.google.com and mail.google.com are set by
default.

MozReview-Commit-ID: HSrYX8LUB0p

--HG--
extra : rebase_source : a2677d07410af289534db051767543a25c9a957a
2018-03-23 12:06:55 +09:00
Andrew McCreight
3f7472aec1 Bug 1449670, part 1 - Convert IsNodeOfType(nsINode::eTEXT) to IsText(). r=bz
This method is not a virtual call, and also looks nicer.

This patch was mostly generated by a Python script, but I manually
cleaned up the code in a few places where statements didn't need to be
split across multiple lines any more.

MozReview-Commit-ID: 8JExxqSRc59

--HG--
extra : rebase_source : df6330a89e8d65dfe7a6fda0c8cb9f9732302efc
2018-04-12 15:41:00 -07:00
Andreea Pavel
69ae5fe098 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-14 00:58:36 +03:00
Andreea Pavel
01f50bc3d8 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-14 00:56:30 +03:00
Jonathan Watt
1e7f76576a Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
--HG--
extra : rebase_source : 2e267ff99de6f52484e34ac15c39e5ca8b473394
2018-04-13 20:34:37 +01:00
Emilio Cobos Álvarez
9509cd7e32 Bug 1453789: Remove Element.createShadowRoot. r=smaug
MozReview-Commit-ID: Hgxbp1Icgvh
2018-04-13 20:51:55 +02:00
arthur.iakab
fca4426325 Merge inbound to mozilla-central. a=merge 2018-04-13 19:01:59 +03:00
Sebastian Hengst
043061beb5 merge mozilla-central to mozilla-inbound 2018-04-13 16:05:58 +03:00
Sebastian Hengst
82f65475ee merge mozilla-central to autoland 2018-04-13 16:04:29 +03:00
Sebastian Hengst
0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
arthur.iakab
b9f0fcc3d6 Merge mozilla inbound to mozilla-central a=merge 2018-04-13 12:43:21 +03:00
Emilio Cobos Álvarez
5421c10ca9 Bug 1452627: Fix nsStyleContentAttr stuff. r=bholley
MozReview-Commit-ID: 4hi75VQcmkN
2018-04-13 01:32:35 +02:00
Emilio Cobos Álvarez
b4219f2952 Bug 1428753: Ensure that vertical-overflowing images always show the zoom-out cursor. r=heycam
MozReview-Commit-ID: HU7f39pFNV8

--HG--
extra : rebase_source : b32865da38c9b152ea77ab19dfba99486cafc8e7
2018-04-12 20:48:02 +02:00
Dão Gottwald
9b45d061fd Bug 1445912 - Remove PopupBoxObject::enableKeyboardNavigator/enableRollup/setConsumeRollupEvent in favor of DOM attributes. r=enn,peterv
--HG--
extra : rebase_source : f6ec04a78d599404e1e76405092669d7c0e04cc9
2018-04-12 16:55:50 +02:00
arthur.iakab
691e26b1b6 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-04-13 12:55:46 +03:00
Jamie Nicol
24b4e59335 Bug 1431778 - Take 3D transforms in to account when deciding whether content is small enough to be prerendered. r=mattwoodrow
MozReview-Commit-ID: 1eV04BMYy97

--HG--
extra : rebase_source : 32889c0455e5e038d2235594240356b0b54792e4
2018-04-06 18:34:13 +01:00
Daniel Holbert
26923e2e3b Bug 1374540 part 4: Change nsFrame::ComputeSize to treat used flex-basis:content as 'max-content'. r=mats
This brings us into alignment with the spec and makes us pass some web-platform
tests, along with the reftests that I've included for this bug.

MozReview-Commit-ID: KoKPi18svGE

--HG--
extra : rebase_source : f00dd814238afd4b09bdcb75b22ea249162252b8
2018-04-13 12:17:51 -07:00
Daniel Holbert
555deebbc9 Bug 1374540 part 3: Refactor nsFrame::ComputeSize methods to handle the two "used flex-basis of content" scenarios with a consistent codepath. r=mats
This patch doesn't change behavior.

It simply makes us share code/data for two different cases that both ended up
producing mainAxisCoord->GetUnit() == eStyleUnit_Auto.  Now, they'll *both* use
the same static nsStyleCoord to represent this "auto" value.

Originally, in one of these cases ("flex-basis:auto;[main-size-property]:auto),
we left the mainAxisCoord untouched. Now we'll point it at this dummy 'auto'
value. Either way we end up with mainAxisCoord->GetUnit() == eStyleUnit_Auto,
so the behavior doesn't change.

The next patch in this series will make further changes to one of these spots,
as noted in the "XXXdholbert" code-comment included here.

MozReview-Commit-ID: 5ClfbNHuKhO

--HG--
extra : rebase_source : 17efe1e9f721324d6182db654e601727c791800b
2018-04-13 12:17:51 -07:00
Daniel Holbert
824342e8e5 Bug 1374540 part 2: Add reftest variants with column-oriented flex container (to verify that used 'flex-basis:content' is treated as max-content). r=mats
This patch's reftests already pass, regardless of whether we have this bug's
fix, because the max-content size in the block axis is the same as the "auto" size
(which is what we were already using in this scenario). I'm just adding these reftests
 for symmetry & completeness.

MozReview-Commit-ID: EOlrpnCxoby

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-basis-content-003-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-basis-content-004-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-basis-content-003a.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-basis-content-004a.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-basis-content-003b.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-basis-content-004b.html
extra : rebase_source : 93942d169018276040ef60450c8f8b17c75e0d12
2018-04-13 12:17:50 -07:00
Daniel Holbert
fc0b5b0a80 Bug 1374540 part 1: Add reftests to verify that used 'flex-basis:content' resolves to the max-content size on flex items in row-oriented flex container. r=mats
Note: These tests fail in current mozilla-central (and hence are marked as
failing), but they start passing as of a patch later on in this series.

MozReview-Commit-ID: ElWJCl1ki0H

--HG--
extra : rebase_source : a5bdb9afae0a3bb902834d07c4c22783c8904104
2018-04-13 12:17:50 -07:00
Andreea Pavel
4784e6b61b Backed out 2 changesets (bug 1453206) for crashtest failures on muliple files e.g. tests/reftest/tests/layout/base/crashtests/416107.xhtml on a CLOSED TREE
Backed out changeset 1844a120acda (bug 1453206)
Backed out changeset b12b7c5b8178 (bug 1453206)
2018-04-13 23:06:55 +03:00
Emilio Cobos Álvarez
1fe3a2d36a Bug 1453206: Fix IsInAnonymousSubtree to account for XBL in Shadow DOM. r=smaug
MozReview-Commit-ID: B2aYury8K7i
2018-04-13 21:05:48 +02:00
Miko Mynttinen
8c3bbd7b8e Bug 1442190 - Part 6: Make three reftests fuzzy r=mattwoodrow
MozReview-Commit-ID: 4zSYL3BxhCg

--HG--
extra : rebase_source : 1e8b484f13e121aad417ae74056b1807a8c9fdbb
2018-03-21 16:18:45 +01:00
Zhang Junzhi
2bdc6774da Bug 1358017 - Part 5: Implements the "honour root" functionality for the auto-dir scrolling feature in APZ r=kats
With this commit, all the auto-dir scrolling functionalities are completed in
APZ.

MozReview-Commit-ID: L7qa3xOD8t9

--HG--
extra : rebase_source : bad2770219a0e6219f91899ab6c78e68f37195ac
2018-03-16 21:20:39 +08:00
Miko Mynttinen
dc109f80d1 Bug 1442190 - Part 5: Use FLBDisplayItemIterator and flatten inactive nsDisplayOpacity in more cases r=mattwoodrow
MozReview-Commit-ID: 9I8YvMDEFHy

--HG--
extra : rebase_source : 0a81f66c97cf4120ee0c5822598e491d0676dc42
2018-03-13 15:55:56 +01:00
Miko Mynttinen
2fe6772b12 Bug 1442190 - Part 4: Add FLBDisplayItemIterator r=mattwoodrow
MozReview-Commit-ID: 2Xtv30VE6Ew

--HG--
extra : rebase_source : f12eaac85b3c71961514790dd655583630850cf5
2018-03-21 12:27:13 +01:00
Miko Mynttinen
24078121c7 Bug 1442190 - Part 3: Add functionality to know whether nsDisplayOpacity::ShouldFlattenAway() applied opacity to children r=mattwoodrow
MozReview-Commit-ID: Bns788u5wmM

--HG--
extra : rebase_source : ff0a457cc9f23bf03ac397c10c8b456523cc0cd1
2018-03-21 12:19:57 +01:00
Miko Mynttinen
e4dfcb5565 Bug 1442190 - Part 2: Virtualize FlattenedDisplayItemIterator and move it to a more appropriate place r=mattwoodrow
MozReview-Commit-ID: CW89yfHUeQA

--HG--
extra : rebase_source : 8596182f13d4fa3ba4d3d2fdc893cefa3d7d9055
2018-03-21 12:15:24 +01:00
Miko Mynttinen
28371ab9cc Bug 1442190 - Part 1: Add nsDisplayOpacityGeometry r=mattwoodrow
MozReview-Commit-ID: K7WqIlib10v

--HG--
extra : rebase_source : 96386e642026fd76f50848173db09fb0cc50cacb
2018-03-21 12:13:05 +01:00
Alexis Beingessner
188ade3741 Bug 1412375 - adjust test expectations for better masking r=kats
* some fuzzy bumps
* lots of now-passing wpt-tests

MozReview-Commit-ID: JuB96mZa72f

--HG--
extra : rebase_source : 611739b9b054b8f577ffd9276783543c6c2783c4
2018-04-11 16:30:08 -04:00
Alexis Beingessner
545f6207bd Bug 1412375 - Add reftest for atomicity of masks. r=kats
MozReview-Commit-ID: 7rckMw1DWFj

--HG--
extra : rebase_source : 8de286b236e1ea68178d8c908a308365f4e169b9
2018-04-11 16:19:03 -04:00
Alexis Beingessner
faa067542e Bug 1412375 - Create a clipped stacking context for nsDisplayMasks. r=kats,mstange
This was only recently made possible by webrender#2600, which introduced special stacking-context
clips

MozReview-Commit-ID: HQAU7IsfDaz

--HG--
extra : rebase_source : 0ac7f0f3f73abdf5b60ca02b37cfaa7abeecb6a3
2018-04-11 13:00:49 -04:00
Emilio Cobos Álvarez
5dea335a87 Bug 1453148: Let overflow parse two values. r=xidorn
Per https://github.com/w3c/csswg-drafts/issues/2484.

MozReview-Commit-ID: D7M3PhnTtD2
2018-04-12 14:48:55 +02:00
Kerem Kat
97ece751a4 Bug 37468 - Implement ServoStyleRule::SetSelectorText method for setting CSS rule selectorText from JS. r=xidorn
--HG--
extra : source : bd0a3fdb037c308ae7eab0be3c68d00fcb9b6056
2018-04-14 19:05:44 +03:00
Coroiu Cristina
4b2644bf85 Backed out 2 changesets (bug 37468) for linting failure at builds/worker/checkouts/gecko/tools/lint/wpt.yml
Backed out changeset 5e7a1db60298 (bug 37468)
Backed out changeset bd0a3fdb037c (bug 37468)
2018-04-15 03:23:36 +03:00
Cosmin Sabou
c8235cb81b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-15 03:05:51 +03:00
Kerem Kat
f2a32c122a Bug 37468 - Implement ServoStyleRule::SetSelectorText method for setting CSS rule selectorText from JS. r=xidorn
--HG--
extra : amend_source : 2572c4d3ae52d0d4f11344b2611ddf847040da02
2018-04-14 19:05:44 +03:00
Kartikaya Gupta
40fd43f644 Bug 1452111 - Simplify dispatch-to-content regions as well. r=mattwoodrow
We already do this for the maybe-hit regions because on some pages we can get
oodles and oodles of regions and unioning them all takes a long time.
Simplifying the regions speeds this up massively. It should be functionally
correct since the dispatch-to-content region is allowed to overestimate the
actual dispatch-to-content region.

MozReview-Commit-ID: 6Wl5nuVXB7w

--HG--
extra : rebase_source : 6067ae048435421918c6ab1de225140e77ae9484
2018-04-13 12:51:59 -04:00
Brindusan Cristian
f25eb19816 Backed out changeset 84fc374da5e3 (bug 1453148) for mochitest failures on layout/style/test/test_bug319381.html CLOSED TREE 2018-04-12 10:13:56 +03:00
Emilio Cobos Álvarez
d8f9719a5b Bug 1453148: Let overflow parse two values. r=xidorn
Per https://github.com/w3c/csswg-drafts/issues/2484.

MozReview-Commit-ID: D7M3PhnTtD2
2018-04-12 07:56:12 +02:00
Cameron McCormack
9e26b4d88e Bug 1375536 - Remove nsStyleVariables. r=emilio,xidorn
MozReview-Commit-ID: BqyhXc4W4Aq

--HG--
extra : rebase_source : f2e00ba1e52437a9e7041aa35e2095038812fc4d
2018-04-10 15:11:12 +10:00
Hiroyuki Ikezoe
1a43163be4 Bug 1443427 - Don't flush throttled animations in Animation::FlushStyle(). r=birtles
Animation::FlushStyle() gets called only for CSS animations/transitions'
playState changes in JS or ready Promise for CSS animations.  In either case
throttled animation state, which is, to be precise, transformed position or
opacity value on the compositor, doesn't affect those results.

The first test case for CSS animations and the first test case for CSS
transitions in this patch fail without this fix.

MozReview-Commit-ID: EVym4qputL4

--HG--
extra : rebase_source : 12524c7db1d59da69687bb123fc65ad4301f5527
2018-04-11 18:01:14 +09:00
Dão Gottwald
8b23aaae8b Bug 1453281 - Remove obsolete menubar binding and styling. r=bgrins,Paolo
MozReview-Commit-ID: Kao3jst0DBJ

--HG--
extra : rebase_source : bed74abc9910ec22295207fdced37f6bfc1648be
2018-04-11 17:29:27 +02:00