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

63991 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 893f311711 Bug 1450850 - Disable font-matching/1394311.htm on Windows 7 for frequent failures. r=jmaher
--HG--
extra : rebase_source : ba34a583da86957dc161d6f0e6c7df4138e5f4a4
2018-04-17 17:19:58 +03:00
Kartikaya Gupta 878b4beba1 Bug 1454485 - Remove redundant fields from WebRenderLayerScrollData and ensure the ScrollbarData is always correctly populated instead. r=botond
MozReview-Commit-ID: JQ9ooeiEIox
2018-04-17 15:04:25 -04:00
Jason Kratzer a84194adea Bug 1453342: Crashtest. r=emilio
MozReview-Commit-ID: ATiwKE2KMyd
2018-04-17 20:46:07 +02:00
Brad Werth ab42af0fc5 Bug 1451196: Disable the intermittent part of test layout/style/test/test_shape_outside_CORS.html. r=dholbert
MozReview-Commit-ID: GQbQ0HQFlJX

--HG--
extra : rebase_source : b940dff3c84a47e98526714f90c61a76f04c833c
2018-04-17 09:16:32 -07:00
Kartikaya Gupta 77476d5a6b Bug 1453688 - Update reftest annotations for WR PR 2662. r=jrmuizel
MozReview-Commit-ID: B1ts2B1dTA4

--HG--
extra : rebase_source : 8e71036ce898f3ccdf384c225c8a06fb803fad6e
2018-04-17 08:23:39 -04:00
Kartikaya Gupta f882affd01 Bug 1453688 - Update reftest annotations for WR PR 2642. r=jrmuizel
MozReview-Commit-ID: 1KGWcXiGdN3

--HG--
extra : rebase_source : 54034286b712a4058ebabfba21e464ff06fa0711
2018-04-17 08:23:33 -04:00
Narcis Beleuzu 405829db90 Bug 1442637 - Disable on Windows 7 - Intermittent writing-mode/1175789-underline-overline-1.html for frequent failures. r=jmaher 2018-04-17 09:24:00 +03:00
Andreea Pavel 1b610a02c9 Backed out 7 changesets (bug 1452542) for failing toolkit/content/tests/chrome/test_arrowpanel.xul on a CLOSED TREE
Backed out changeset f206acff283f (bug 1452542)
Backed out changeset be97e652391f (bug 1452542)
Backed out changeset 4d3a028edaed (bug 1452542)
Backed out changeset 5619bba37cdd (bug 1452542)
Backed out changeset e83a797bdc61 (bug 1452542)
Backed out changeset 255e2feff19f (bug 1452542)
Backed out changeset fac55b1a0706 (bug 1452542)
2018-04-18 20:10:35 +03:00
Daniel Holbert acccfe6d00 Bug 1454822 part 2: Cache the results of nsFlexContainerFrame::GetMinISize/GetPrefISize. r=mats
Assuming we call MarkIntrinsicISizesDirty in the appropriate scenarios, this
patch shouldn't change behavior - it just caches these values so we don't
needlessly recalculate them.

MozReview-Commit-ID: 8QY4AZJXshy

--HG--
extra : rebase_source : a7c87b03ac8240ba71efd2198ce1976d96c91f64
2018-04-17 17:06:26 -07:00
Daniel Holbert 14267669bd Bug 1454822 part 1: Refactor nsFlexContainerFrame::GetMinISize/GetPrefISize to be implemented via a common helper function. r=mats
This patch does not change behavior; it just merges the implementations of
these two functions into a single common function.

MozReview-Commit-ID: BqsRt3p2NQT

--HG--
extra : rebase_source : e8792f2bed3fd0708ffb38b91cf15a78cb6fbd59
2018-04-17 17:06:23 -07:00
Bobby Holley 38a23e8931 Bug 1346988 - Parse sheets on the thread pool. r=bz,r=emilio
Note that we also drop the dead optional aReusableSheets argument from
the async parsing path, since it was always null.

MozReview-Commit-ID: KddpGFdaqEe
2018-04-18 13:52:57 -07:00
Bobby Holley 3f98737f56 Bug 1454460 - Hoist SRI helper into Loader.cpp. r=bz
MozReview-Commit-ID: 2wgVAJDgHDl
2018-04-17 16:27:09 -07:00
Bobby Holley 9cff749db5 Bug 1454460 - Pass a bonafide nsACString to Servo. r=bz
This will allow the Rust code hold a copy-free strong reference to the string
past callstack unwind.

MozReview-Commit-ID: HCop9h2abZU
2018-04-17 16:27:08 -07:00
Bobby Holley 055086766b Bug 1454460 - Buffer the potentially-BOM-related bytes separately and handle them on the fly. r=bz
MozReview-Commit-ID: 5zrKyadBppO
2018-04-17 16:27:08 -07:00
Bas Schouten 0dee5c2745 Bug 1387399: Add SIMD optimizations for methods used frequently in nsRect. r=jrmuizel
This improves the DisplayList Mutate Talos test by about 5% on windows, as well as numerous smaller improvements on DisplayList heavy tasks.

MozReview-Commit-ID: tlEtPjqWI4
2018-04-19 15:56:29 +02:00
Xidorn Quan 018214f00b Bug 1452542 part 7 - Replace some uses of nsCSSPropList.h and nsCSSPropAliasList.h with ServoCSSPropList.h. r=emilio
MozReview-Commit-ID: 5TVYITjAYy7

--HG--
extra : rebase_source : 66b132aed72fa58ba8be1fa7aacd1c9035845458
2018-04-17 16:57:04 +10:00
Xidorn Quan ddcc60ec27 Bug 1452542 part 6 - Replace uses of PythonCSSProps.h with the data file generated from Servo. r=froydnj
Some content in Makefile.in is removed because after this change, the
scripts no longer invoke the preprocessor and thus don't have unknown
dependencies anymore outside what is provided in their inputs array.

The order of exports.PREFERENCES in properties-db changes because the
data file has shorthands placed after longhands. The only usage of it
is in test_css-properties-db.js which doesn't care about the order.

MozReview-Commit-ID: AMjzTRf2HYN

--HG--
extra : rebase_source : f9db0659a81bea28b335806ac70e23dc0d36e493
2018-04-17 14:40:12 +10:00
Xidorn Quan 4eca80828d Bug 1452542 part 5 - Generate property list from Servo data. r=emilio,froydnj
With this change, we first generate a data file ServoCSSPropList.py from
Servo data, and then use this data to generate ServoCSSPropList.h.

This change itself serves as a checkpoint with a runtime check that all
information generated from Servo side matches what we have in the Gecko
side. Following patches will start replacing uses of nsCSSPropList.h
with either the data file or the header file.

The reason that it generates data file rather than header directly is
that, many users of PythonCSSProps.h invokes C++ preprocessor manually
to extract data from nsCSSPropList.h without passing in search paths,
so it is non-trivial to replace the use of nsCSSPropList.h there with
a generated header. Generating a Python data file would hopefully
simplify those users rather than adding more complexity to them.

I also thought about generating JSON rather than plain Python file, but
JSON doesn't allow trailing comma in array, which makes it less pretty
to generate via mako template.

MozReview-Commit-ID: CwK2oL88r6F

--HG--
extra : rebase_source : 926cca8548d42ecb0dd364ea5c52a46a4973e819
2018-04-16 14:08:20 +10:00
Xidorn Quan 77184169de Bug 1452542 part 4 - Have ENABLED_IN flags in nsCSSPropList.h match those in Servo side. r=emilio
MozReview-Commit-ID: 48t5u1D5rZX

--HG--
extra : rebase_source : 2040c6eb9bef18f39c591ddf364e0b7a9d948996
2018-04-11 13:46:08 +10:00
Xidorn Quan 2b130b95d1 Bug 1452542 part 3 - Use snake_case naming for nsCSSPropertyID of alias as well. r=emilio
MozReview-Commit-ID: 242ms8wBDIU

--HG--
extra : rebase_source : 548378fc6c8380bf5ca0ecb68e9b7bd624f77236
2018-04-11 13:44:30 +10:00
Xidorn Quan ca68696433 Bug 1452542 part 2 - Sort nsCSSPropAliasList.h in alphabetic order so that we can list them in Servo side. r=dholbert,emilio
MozReview-Commit-ID: GmrjJHI8fqw

--HG--
extra : rebase_source : 1a1100eae07fc35118323766fc7aa00eb64f7317
2018-04-11 13:42:13 +10:00
Xidorn Quan 5ae4ee5e04 Bug 1452542 part 1 - Fix the order in nsCSSPropList.h. r=emilio
MozReview-Commit-ID: GnzDsJb7KlB

--HG--
extra : rebase_source : a976749cafa2011f4121d51c6ac39bf93c487da4
2018-04-11 13:38:44 +10:00
Cosmin Sabou 10a811163d Bug 1365177 - Disable w3c-css/submitted/masking/mask-image-1c.html for frequent failures on Windows 10. r=jmaher
--HG--
extra : rebase_source : 006c592b1de230db6dbf12eca4f782e242980726
2018-04-17 04:26:00 +03:00
Jonathan Kew 6f1e2a29b3 Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt 2018-04-19 13:28:13 +01:00
Emilio Cobos Álvarez 417ce944be Bug 1436782: Insert the prefs sheet at the UA level. r=bholley
Since that's what it's effectively happening anyway.

MozReview-Commit-ID: AZGONTbCTNa
2018-04-19 14:19:38 +02:00
Emilio Cobos Álvarez 7b41eaf443 Bug 1454596: Update font-weight property and descriptor to css-fonts-4. r=xidorn
Need to change the tests still, but that should be trivial.

MozReview-Commit-ID: 27aS2UrgXjs
2018-04-19 12:49:37 +02:00
Kevin Brosnan 645b842fbe Kevin Brosnan - Bug 1435988 disable border radius styling on the range element - r=snorp
MozReview-Commit-ID: G9Hy7hXvAKY

--HG--
extra : rebase_source : 7a602c7a3bba151f35939847fd352547f33283dd
2018-02-16 13:21:07 -08:00
Xidorn Quan 17bc121eff Bug 1453258 - Support calc in cursor. r=emilio
MozReview-Commit-ID: 1ZzxkYboWZg

--HG--
extra : rebase_source : 075d3e504dcfc0ba6df4110db79c8769de5a4df7
2018-04-17 21:18:37 +10:00
Brindusan Cristian 667fae7dc8 Merge inbound to mozilla-central. a=merge 2018-04-17 12:53:33 +03:00
Jeff Muizelaar 5153b29720 Bug 1454507. Avoid asserting that we don't end up with an empty result. r=mstange
This adds a crash test that would previously trigger the assert.

--HG--
extra : rebase_source : f167a85bf219cf3eac1192be05c297fc5e383072
2018-04-16 18:00:35 -04:00
Xidorn Quan fdb9d8b7d8 Bug 1454528 - Remove trailing underscore of float ident. r=heycam
MozReview-Commit-ID: DN7rQu3adSB

--HG--
extra : rebase_source : c0fb1df20a6612a96abb1e6a74fde61b6ee870f8
2018-04-17 11:07:57 +10:00
shindli 805cb19c1d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-17 01:45:58 +03:00
Jonathan Kew 7b924dade9 Bug 1436048 part 2 - Store FontWeight as a fixed-point value to support fractional font-weight values. r=jwatt 2018-04-16 20:26:08 +01:00
Emilio Cobos Álvarez 4d7ccac45c Bug 1454340: Get rid of SetAsUndisplayedContent. r=mats
Move the assertion to the earliest point where it can happen instead, and do it
automatically on exit if it's generated content instead of relying on manual
calls.

MozReview-Commit-ID: 5oPwXg2o22V
2018-04-16 19:53:38 +02:00
Joel Maher 60ef996d43 Bug 1452522 - add fuzzy-if to mathml/font-inflation-1.html for webrender given high frequency intermittent failures. r=kats 2018-04-16 13:41:21 -04:00
Ryan VanderMeulen bd9e5194af Bug 1386138 - Add Android fuzz for 568441.html. r=me
--HG--
extra : rebase_source : 017b417bb8389378cc4d3bf637a4cefdb0da5f6e
2018-04-16 13:15:49 -04:00
Boris Zbarsky ecac16fefa Bug 1453339. Make it harder to mess up Promise::All. r=peterv
MozReview-Commit-ID: UO4wssYHj7
2018-04-13 19:31:42 -04:00
Emilio Cobos Álvarez e5e108a524 Bug 1453702: [css-display] Move unboxing to style, and handle display: contents before other suppressions. r=mats,xidorn
This also adopts the resolution of [1] while at it, and switches XUL to not
support display: contents until a use case appears.

This makes our behavior consistent both with the spec and also in terms of
handling dynamic changes to stuff that would otherwise get suppressed.

Also makes us consistent with both Blink and WebKit in terms of computed style.
We were the only ones respecting "behaves as display: none" without actually
computing to display: none. Will file a spec issue to get that changed.

It also makes us match Blink and WebKit in terms of respecting display: contents
before other suppressions, see the reftest which I didn't write as a WPT
(because there's no spec supporting neither that or the opposite of what we do),
where a <g> element respects display: contents even though if it had any other
kind of display value we'd suppress the frame for it and all the descendants
since it's an SVG element in a non-SVG subtree.

Also, this removes the page-break bit from the display: contents loop, which I
think is harmless.

As long as the tests under style are based in namespace id / node name /
traversal parent, this should not make style sharing go wrong in any way, since
that's the first style sharing check we do at [2].

The general idea under this change is making all nodes with computed style of
display: contents actually honor it. Otherwise there's no way of making the
setup sound except re-introducing something similar to all the state tracking
removed in bug 1303605.

[1]: https://github.com/w3c/csswg-drafts/issues/2167
[2]: https://searchfox.org/mozilla-central/rev/fca4426325624fecbd493c31389721513fc49fef/servo/components/style/sharing/mod.rs#700

MozReview-Commit-ID: JoCKnGYEleD
2018-04-16 12:56:30 +02:00
Jonathan Kew 94238d9823 Bug 1452973 - Update NS_FONT_STRETCH_* constants to values based on the percentage definitions in css fonts 4. r=jwatt 2018-04-16 10:00:57 +01:00
Narcis Beleuzu 72df6941d4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-16 01:28:00 +03:00
Emilio Cobos Álvarez 7bce4fa96c Bug 37468: followup: Cleanup line terminators. r=me
DONTBUILD, since it's whitespace-only.

MozReview-Commit-ID: D61WzJbTgXZ
2018-04-15 14:24:25 +02:00
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
Nicholas Nethercote 51f2b494ea Bug 1448222 - Remove MediaPrefs. r=jya
This patch converts all the prefs in MediaPrefs to the new StaticPrefs system.

Note that the "media.wmf.skip-blacklist" pref was present in both MediaPrefs
and gfxPrefs. The copy in MediaPrefs was never used; this explains why this
patch does not add an entry for it to StaticPrefList.h.

Note also that the patch removes themedia.rust.mp4parser pref, because it's
unused.

MozReview-Commit-ID: IfHP37NbIjY

--HG--
extra : rebase_source : df84ea813b7c366d7be663c696891325610149c8
2018-03-20 09:48:56 +11:00
Bobby Holley c67597649b Bug 1454030 - Stop asserting main thread when looking up CSS keywords. r=emilio
MozReview-Commit-ID: 2BolVJXz8pz
2018-04-16 15:15:43 -07:00
Geoff Brown ca43a015dc Bug 1454404 - Pass adb path from Android mach commands to test harnesses; r=jmaher 2018-04-16 14:05:32 -06: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
Matt Woodrow 8a8cc8c9a7 Bug 1453668 - Restrict the retained display list stacking context optimization to frames that are also containing blocks for position:fixed. r=miko
MozReview-Commit-ID: GP4uMpR2Lq0

--HG--
extra : rebase_source : 6142080157be59e189dbd0e8cc56a42375afb2f0
2018-04-16 14:23:47 +12:00
shindli 5898cbcbdf Backed out changeset b584ff6f5afa (bug 1453668) for R failures in file:///C:/Users/task_1523893739/build/tests/reftest/tests/layout/reftests/display-list/retained-dl-style-change-stacking-context-1.html on a CLOSED TREE 2018-04-16 20:15:19 +03:00
Matt Woodrow 61b0638917 Bug 1453668 - Restrict the retained display list stacking context optimization to frames that are also containing blockks for position:fixed. r=miko
This makes the optimization rarer, but is significantly simpler, since we should now be guaranteed that all placeholder frames have their out of flow frames in the same stacking context.

MozReview-Commit-ID: 1Nf8Sx1dca7

--HG--
extra : rebase_source : 74856420fdf6108fe749c94418a20bc9faa6fc5e
2018-04-16 14:23:47 +12:00
Andreea Pavel fc3488c8d7 Backed out changeset ee5f61737378 (bug 1452805) for failing awsy/test_memory_usage.py on a CLOSED TREE 2018-04-16 17:05:13 +03:00
Matt Woodrow 552eaff7ef Bug 1453942 - Invalidate if any content ancestor of the display item frame is modified, not just frame tree ancestors. r=miko
We already rebuild all display items for out-of-flow descendants of a modified frame, but we don't currently mark them modified.
In this case, a scrollframe becomes active, and causes position:fixed descendants to use nsDisplayFixedPosition instead of nsDisplayWrapList.
Not invalidating means that we end up with both versions, instead of removing the old one.

MozReview-Commit-ID: LXjjsQhzxiB

--HG--
extra : rebase_source : e286bad815f2d799ec641e5b2ef6507eb57d22cd
2018-04-16 10:14:00 +12:00
Matt Woodrow 7594997fb9 Bug 1452805 - Make sure we rebuild contents infront and behind stacking contexts if their size might have changed. r=miko
The test invalidates the z-index element, so that we do a partial build with just that and the DAG no longer knows the relative ordering between it and the other blue elements.
We then expand the size of the 'first' elements stacking context, and ensure that we provide enough intersecting items to know that we're on top of the z-index element.

MozReview-Commit-ID: 13aRGm1eucp

--HG--
extra : amend_source : 11d530fbec816b3dbcfa7228625e0ba0e73064d0
2018-04-13 11:09:11 +12:00
Matt Woodrow e9a5b8eda1 Bug 1452225 - Rebuild the whole subdoc when the caret changes, but don't invalidate the nsDisplaySubdocument. r=miko
MozReview-Commit-ID: K0KLXTo4GG

--HG--
extra : rebase_source : 54fc03744cb9df58497ba843fb6786c4db98fb64
2018-04-13 15:32:48 +12:00
Andreea Pavel 72d998676c Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-16 12:55:43 +03:00
Xidorn Quan 2186981cee Bug 1454299 - Remove ServoPropPrefList.h. r=emilio
MozReview-Commit-ID: 5wbFNahv4BW

--HG--
extra : rebase_source : 709d7e7ac2dabc6afa70c2441bb22a5544e69a4c
extra : source : 6521d2b9db63bed2386792ba33b45e083bdb6360
2018-04-16 18:59:23 +10:00
Xidorn Quan 9b466fa2d1 Bug 1454297 - Remove CSS_PROP_LOGICAL and friends. r=emilio
MozReview-Commit-ID: Euzbjf9qkmO

--HG--
extra : rebase_source : 9b76e8b303d89f65e28ced8cb15b7422f6d31775
2018-04-16 16:23:33 +10:00
Emilio Cobos Álvarez cbdd3db954 Bug 1454140: Invalid URLs with ref also exist. r=heycam
MozReview-Commit-ID: HsH3ERcTeLm

--HG--
extra : rebase_source : 0cac89785ba837bbbe1a56e5d7b217e98f0996bb
2018-04-14 17:24:45 +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
Boris Zbarsky 5956959873 Bug 1455807. Align MediaList idl bits a bit better with the CSSOM draft. r=heycam
MozReview-Commit-ID: GdPASJilQXC
2018-04-23 12:36:10 -04:00
Emilio Cobos Álvarez 97df4f2a87 Bug 1454883: Let inspector know that font-stretch supports percentages. r=xidorn
MozReview-Commit-ID: 3gGZ4AX5eVO
2018-04-23 18:22:17 +02:00
Emilio Cobos Álvarez 46c5356b75 Bug 1454883: Fix animation tests to account for font-stretch animating as percentage. r=hiro
MozReview-Commit-ID: KPXUJSI930X
2018-04-23 18:22:14 +02:00
Jonathan Watt 156c4af1ec Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>

MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Emilio Cobos Álvarez 4c83f165d9 Bug 1454747: Assert more tightly about StyleNewChildRange. r=bz
After bug 1303605 we can assert this, since we make sure all children have the
same flattened tree parent, and thus insertion point.

MozReview-Commit-ID: 7AHuGGw2uJI
2018-04-23 11:38:38 +02:00
Emilio Cobos Álvarez 641cd64f67 Bug 1452143: Fix two more tests which don't run on debug try on a CLOSED TREE. r=me
MozReview-Commit-ID: B3kj7tzn3Oq
2018-04-17 14:31:20 +02:00
Brindusan Cristian 8bcf097e09 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-17 13:10:25 +03:00
Emilio Cobos Álvarez 467bef5590 Bug 1454503: Remove unused nsFrameManager::mIsDestroyingFrames. r=xidorn
MozReview-Commit-ID: 4105FqU8Xxm
2018-04-17 11:25:04 +02:00
Emilio Cobos Álvarez 14e4bbb398 Bug 1454503: Remove unneeded refcounting in nsAnimationManager / nsTransitionManager. r=hiro
MozReview-Commit-ID: 1zgUfDhH8bm
2018-04-17 11:24:59 +02:00
Emilio Cobos Álvarez 592affc9c0 Bug 1454503: Remove unused RestyleManager refcounting. r=xidorn
MozReview-Commit-ID: DILRptmC8wJ
2018-04-17 11:24:52 +02:00
Emilio Cobos Álvarez a54fb3300f Bug 1452143: Fix dom / style tests. r=bholley
MozReview-Commit-ID: 95JfwBVDdRD
2018-04-17 11:24:47 +02:00
Emilio Cobos Álvarez ec2824c99f Bug 1452143: Make InspectorUtils.getAllStyleSheets handle Shadow DOM, and also optionally not return UA / User sheets. r=bholley
We don't want to reparse over and over shared sheets, and that confused code
pretty heavily.

MozReview-Commit-ID: 7qkXoCoPNFW
2018-04-17 11:23:36 +02:00
Emilio Cobos Álvarez 8fc8563d65 Bug 1452143: Expose and honor a cssErrorReportingEnabled in the docshell. r=bholley
The idea would be for parallel CSS parsing to check the static methods in
ErrorReporter before loading the sheet.

MozReview-Commit-ID: D7cedJQpz9K
2018-04-17 11:23:31 +02:00
Daniel Zielas aa51622886 Bug 1453469 - Remove nsDisplayOwnLayer::mScrollTarget. r=botond
MozReview-Commit-ID: 1LAWH96mm5m

--HG--
extra : rebase_source : fe2bf1d16dc1921057f718cd5f7dd00b11e566c5
extra : amend_source : 53a8a2c0cd03b94002ba0600859e6c18d3a466b6
2018-04-14 09:42:45 +02: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
shindli 108a654fb8 Merge inbound to mozilla-central. a=merge 2018-04-12 02:45:34 +03:00
Noemi Erli b57bd05828 Backed out 6 changesets (bug 1442190) for reftest failures on /anonymous-block.html on a CLOSED TREE
Backed out changeset e8dc919d0f42 (bug 1442190)
Backed out changeset e406251cf5ea (bug 1442190)
Backed out changeset ce317da6a8fc (bug 1442190)
Backed out changeset cebcdd61afcb (bug 1442190)
Backed out changeset 7a1185d616dc (bug 1442190)
Backed out changeset f8c99ac6bf0d (bug 1442190)
2018-04-11 20:14:53 +03:00
Andreea Pavel 29ba7b4974 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-11 17:40:37 +03:00
Andreea Pavel 4114ad2cfc Merge mozilla-inbound to mozilla-central. a=merge 2018-04-11 17:36:09 +03:00
Ciure Andrei 3f4a118829 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-11 12:00:35 +03:00
Ciure Andrei cc3eafe546 Merge autoland to mozilla-central. a=merge 2018-04-11 11:56:26 +03:00
Ciure Andrei 873d562bc3 Backed out 8 changesets (bug 1451169) on request from njn a=backout
Backed out changeset b92f856e15a8 (bug 1451169)
Backed out changeset 348e825756fa (bug 1451169)
Backed out changeset 624d82428726 (bug 1451169)
Backed out changeset 4d51610ca08e (bug 1451169)
Backed out changeset bb76a9589717 (bug 1451169)
Backed out changeset c145fbd03947 (bug 1451169)
Backed out changeset 6d36289e0f54 (bug 1451169)
Backed out changeset 914fb7cd9fc3 (bug 1451169)

--HG--
extra : histedit_source : 94de6631919f895dec422bc0e564f5baf885ba4a%2C18f52c6c11d3064d3137a6847575effb7d407894
2018-04-11 11:22:05 +03:00
Bob Clary cc77040a96 Bug 1440714 - make sure to use root=True with chmod /sdcard/tests/, r=gbrown. 2018-04-10 23:12:28 -07:00
Xidorn Quan 686d95c786 Bug 1453180 - Remove -x-system-font. r=emilio,heycam
We need to add the system font keywords separately in InspectorUtils so
that we don't regress values listed in inspector.

MozReview-Commit-ID: 7a8CKGeSn4K

--HG--
extra : rebase_source : 12a1fcd0294b42568d8da596639b2733ba57186e
2018-04-11 10:12:16 +10:00
Coroiu Cristina c22c3be855 Merge inbound to mozilla-central a=merge 2018-04-11 00:56:08 +03:00
Cameron McCormack 3a70eaa88b Bug 1317541 - Merge number-control.css back into forms.css. r=mats
MozReview-Commit-ID: AGfsSF4dORN

--HG--
extra : rebase_source : b0fbe05bcef3e7228f43f6fb417fdaf430961f03
2018-04-10 11:04:41 +10:00
Cameron McCormack 9dfabd795c Bug 1317539 - Remove dom.forms.number pref. r=bz
MozReview-Commit-ID: EgeUfWMcE8D

--HG--
extra : rebase_source : 74cb7f69e21fd1a773259a53919fb04a82af2f5d
2018-04-10 11:02:28 +10:00
Kartikaya Gupta 0f89486f32 Bug 1452658 - Mark many reftests as fuzzy instead of failing for windows-qr. r=jrmuizel
MozReview-Commit-ID: BDvtV6trKkK

--HG--
extra : rebase_source : 0591564f6cea5c782de6baecc24c3defcef0c4fb
2018-04-10 17:48:16 -04:00
Tristan Bourvon a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Geoff Brown e947c0c1e9 Bug 1452956 - Use newlines when dumping Android logcat to test log; r=jmaher 2018-04-10 13:26:08 -06:00
arthur.iakab bbca7c7700 Merge mozilla-central to inbound 2018-04-11 01:17:20 +03:00
Nika Layzell 952f6a915a Bug 1443954 - Part 3: Add support for RefCounted types to IPDL, r=bz,froydnj,baku
This patch was reviewed in parts, however the intermediate states would not build:

Bug 1443954 - Part 3A: Strip pointers from the argument to WriteParam and WriteIPDLParam before selecting the ParamTraits impl, r=froydnj

Bug 1443954 - Part 3B: Move nsIAlertNotification serialization to the refcounted system, r=bz

Bug 1443954 - Part 3C: Move geolocation serialization to the refcounted system, r=bz

Bug 1443954 - Part 3D: Move nsIInputStream serialization to the refcounted system, r=baku

Bug 1443954 - Part 3E: Move BlobImpl serialization to the refcounted system, r=baku

Bug 1443954 - Part 3F: Correctly implement ParamTraits for actors after the ParamTraits changes, r=froydnj
2018-04-10 17:49:48 -04:00
Nika Layzell 8822e43271 Bug 1434768 - Part 2: Replace nsDocShell::mSessionHistory with ChildSHistory, r=bz 2018-04-10 17:49:45 -04:00
Nika Layzell 58eeb66cb3 Bug 1438026 - Part 4: Remove the old nsPresState code completely, r=baku 2018-04-10 17:49:44 -04:00
Nika Layzell 242c9ce313 Bug 1438026 - Part 3: Replace nsPresState with the new PresState type, r=baku 2018-04-10 17:49:44 -04:00
Nika Layzell 998263091d Bug 1438026 - Part 2: Add IPDL definitions for the PresState data structures, r=baku 2018-04-10 17:49:43 -04:00
Matt Woodrow 5f47a3aed8 Bug 1451971 - Rebuild the whole page when we have perspective or preserve-3d. r=miko
MozReview-Commit-ID: 2SkKvpdLWMi

--HG--
extra : rebase_source : 6b19d557a93fb3e0f2a2faf34f238b96c3e0f0bd
2018-04-11 21:49:30 +12:00
Matt Woodrow 886a720461 Bug 1451971 - Add new reftest for changing content within perspective without breaking sorting. r=miko
MozReview-Commit-ID: BaxNJGStRCM

--HG--
extra : rebase_source : a346c9aa3d582fa8bd5052a963fd01b8b7a3ff22
2018-04-11 21:36:51 +12:00
Andreea Pavel 525c9e7907 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-11 17:38:56 +03:00
Miko Mynttinen 4d47286a15 Bug 1442190 - Part 6: Make three reftests fuzzy r=mattwoodrow
MozReview-Commit-ID: 4zSYL3BxhCg

--HG--
extra : rebase_source : 39b0fce4b541d4d6a099fba85d083c3daa6d7b46
2018-03-21 16:18:45 +01:00
Henrik Skupin 71a6b2d154 Bug 1452913 - Prevent hang of reftests when reading test objects list fails. r=gbrown
For the promise as returned by "OS.File.read()" the catch handler
is missing, and as such the tests will never be started when
the call to "read()" triggers an exception. It also results in
a hang of the reftest harness.

To prevent this, the failure has to be handled and appropriately
reported.

MozReview-Commit-ID: IX9thgjjahS

--HG--
extra : rebase_source : 963cd0aeb593b7627603566d1ad08d5e0863142f
2018-04-10 14:20:02 +02:00
Emilio Cobos Álvarez 014cbed7df No bug: Update expectations for minor serialization changes. r=me
MozReview-Commit-ID: 3nq9Qbwy9td
2018-04-11 01:49:58 +02:00
arthur.iakab 8fe9a4d75a Merge mozilla-central to autoland 2018-04-11 01:12:49 +03:00
Emilio Cobos Álvarez a1a1b8ea34 Bug 1452916: Remove dead error reporting code. r=bholley
MozReview-Commit-ID: GAn0ASQzBt
2018-04-10 23:58:18 +02:00
Emilio Cobos Álvarez b3819d4cd5 Bug 1452916: Expose the error reporting pref. r=bholley
MozReview-Commit-ID: wkUSJ50Nne
2018-04-10 23:57:39 +02:00
Henrik Skupin 68abd19c16 Bug 1452957 - reftests should support preferences with Unicode strings. r=gbrown
Switching from {get|set}CharPref to {get|set}StringPref allows
the reftest extension to also support preferences with Unicode
strings.

MozReview-Commit-ID: FUBjhmr0VIS

--HG--
extra : rebase_source : 53e1a020f8e2875c35ce1dfc06aff41ea18ce127
2018-04-10 16:45:14 +02:00
Miko Mynttinen 88ed321351 Bug 1442190 - Part 5: Use FLBDisplayItemIterator and flatten inactive nsDisplayOpacity in more cases r=mattwoodrow
MozReview-Commit-ID: 9I8YvMDEFHy

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

--HG--
extra : rebase_source : 830b45b588eced4fafd43a8e6d7e31113604dd1a
2018-03-21 12:27:13 +01:00
Miko Mynttinen ac9f1159b1 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 : c8da49ae5ac2d4db1f2d0966ca6538867ed791ec
2018-03-21 12:19:57 +01:00
Miko Mynttinen 4c51e6a721 Bug 1442190 - Part 2: Virtualize FlattenedDisplayItemIterator and move it to a more appropriate place r=mattwoodrow
MozReview-Commit-ID: CW89yfHUeQA

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

--HG--
extra : rebase_source : ccc6a2f531541b0d6dfce79bf0d1685cb9298f01
2018-03-21 12:13:05 +01:00
Andreea Pavel 4e68a27bb1 Backed out 6 changesets (bug 1442190) for failing reftest text-overflow/anonymous-block.html, at least on OS X on a CLOSED TREE
Backed out changeset db65cdb10a34 (bug 1442190)
Backed out changeset 1ca2a0266f20 (bug 1442190)
Backed out changeset c992deef1ec5 (bug 1442190)
Backed out changeset 9503cb9d5fc1 (bug 1442190)
Backed out changeset 8018f83c161b (bug 1442190)
Backed out changeset 7f82627c75fa (bug 1442190)
2018-04-11 17:04:36 +03:00
Miko Mynttinen 4e7075c1b7 Bug 1442190 - Part 6: Make three reftests fuzzy r=mattwoodrow
MozReview-Commit-ID: 4zSYL3BxhCg

--HG--
extra : rebase_source : 082c98aa8248364ebf912e08061a309ec45e9ee8
2018-03-21 16:18:45 +01:00
Miko Mynttinen ee5554305c Bug 1442190 - Part 5: Use FLBDisplayItemIterator and flatten inactive nsDisplayOpacity in more cases r=mattwoodrow
MozReview-Commit-ID: 9I8YvMDEFHy

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

--HG--
extra : rebase_source : 830b45b588eced4fafd43a8e6d7e31113604dd1a
2018-03-21 12:27:13 +01:00
Miko Mynttinen 4dd4bfd525 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 : c8da49ae5ac2d4db1f2d0966ca6538867ed791ec
2018-03-21 12:19:57 +01:00
Miko Mynttinen 8b458da113 Bug 1442190 - Part 2: Virtualize FlattenedDisplayItemIterator and move it to a more appropriate place r=mattwoodrow
MozReview-Commit-ID: CW89yfHUeQA

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

--HG--
extra : rebase_source : ccc6a2f531541b0d6dfce79bf0d1685cb9298f01
2018-03-21 12:13:05 +01:00
Emilio Cobos Álvarez 9ab1873cd3 Bug 1452987: Simplify ImageValue. r=heycam
MozReview-Commit-ID: 5LRaaEPSSdY

--HG--
extra : rebase_source : 2654a870e2a985bf7a609ee436ba1800bf6033a3
2018-04-10 16:54:57 +02:00
Ciure Andrei e375de1d26 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-11 11:59:34 +03:00
Emilio Cobos Álvarez 41af367294 Bug 1452881: Remove usechromesheets support. r=heycam
MozReview-Commit-ID: I7BAxAHMZAK
2018-04-11 08:45:39 +02:00
Emilio Cobos Álvarez 7e8faed759 Bug 1452947: Remove useless PtrHolder / PtrHandle stuff now that URIs are thread-safe. r=heycam
MozReview-Commit-ID: 5f2B8bqBnDp
2018-04-11 08:41:49 +02:00
Emilio Cobos Álvarez cdfc46b1e5 Bug 1452839: Adjust an assertion to account for the document node. r=me
MozReview-Commit-ID: 9DUFOIlGdr5
2018-04-10 14:43:05 +02:00
Henrik Skupin 340ebbc7bd Bug 1451727 - [marionette] Remove deprecated WebDriver commands. r=ato
Removes the following deprecated WebDriver commands from marionette
client: Element.size, Element.location, set_script_timeout,
set_search_timeout, and set_page_load_timeout.

It doesn't touch get_window_position, set_window_position,
window_size, and set_window_size because those are covered
by bug 1348145.

MozReview-Commit-ID: 9b74toO1Rzm

--HG--
extra : rebase_source : a9a73cf8cc36ed3d428ce1c7c54b83b9f0f4a63c
2018-04-06 12:12:24 +02:00
Csoregi Natalia 2b084713ed Merge inbound to mozilla-central. a=merge 2018-04-10 12:56:48 +03:00
Daniel Zielas 471ef50beb Bug 1420512 - Try unifying data structures for scrollbar container and scrollbar thumb info. r=botond
MozReview-Commit-ID: 9zPkrA3CwsN

--HG--
extra : rebase_source : b52bef52576558f03afc65120a40a5312ae7eba3
2018-03-02 19:00:03 +01:00
Mats Palmgren 2414745e12 Bug 1434478 part 7 - Update tests and enable some previously temporarily disabled Grid reftests from bug 1427608. 2018-04-10 00:16:58 +02:00
Mats Palmgren c0348042e9 Bug 1434478 part 6 - Propagate a percentage basis to nsIFrame::IntrinsicISizeOffsets for resolving padding/margin. r=dholbert
This is needed only for CSS Grid since in other cases we're
only using IntrinsicISizeOffsets in the inline-axis and
the percentage basis is always indefinite for *intrinsic
sizing*.  When calculating the intrinsic size of grid items
in the grid container's block axis however, we do have
a definite size for the grid area in the inline-axis and it
should be used per:
https://drafts.csswg.org/css-grid/#algo-overview
"2. Next, the track sizing algorithm resolves the sizes of
the grid rows, using the grid column sizes calculated in
the previous step."

(Percentage padding/margin for grid items is always resolved
against the grid area's inline-size nowadays.)
2018-04-10 00:16:58 +02:00
Mats Palmgren 5e6f2b92bb Bug 1434478 part 5 - Create nsLayoutUtils::ResolveToLength for resolving CSS <length-percentage> (idempotent patch). r=dholbert 2018-04-10 00:16:58 +02:00
Mats Palmgren f9c1c7eeb0 Bug 1434478 part 4 - Factor out constants like NS_UNCONSTRAINEDSIZE so they can be used in headers without needing nsIFrame.h (idempotent patch). r=dholbert 2018-04-10 00:16:58 +02:00
Mats Palmgren a1704030d4 Bug 1434478 part 3 - Remove IntrinsicISizeOffsetData::hPctPadding/hPctMargin members since they are now unused. r=dholbert 2018-04-10 00:16:58 +02:00
Mats Palmgren 7674d544b7 Bug 1434478 part 2 - Stop back-computing percentage padding/margin when the percentage basis is indefinite. Treat them as zero sized instead. r=dholbert 2018-04-10 00:16:57 +02:00
Mats Palmgren 004a0a318d Bug 1434478 part 1 - [css-grid] Stop back-computing percentage grid gaps when the percentage basis is indefinite. Treat them as zero sized instead. r=dholbert 2018-04-10 00:16:57 +02:00
Boris Zbarsky 1483606219 Bug 1452235 part 4. Remove nsIDOMSerializer. r=qdot
MozReview-Commit-ID: 5foaztSLyEC
2018-04-09 16:30:33 -04:00
Boris Zbarsky f2f3fe42ff Bug 1452185 part 3. Remove unnecessary nsIDOMXULElement includes. r=qdot
MozReview-Commit-ID: Ft5MnbFtyB9
2018-04-09 16:30:32 -04:00
Noemi Erli b55e1a1cbc Merge inbound to mozilla-central. a=merge 2018-04-09 19:46:07 +03:00
Emilio Cobos Álvarez b7a244d28f Bug 1452525: Deduplicate proto bindings, not bindings. r=xidorn
MozReview-Commit-ID: 2NWALzUhDjn

--HG--
extra : rebase_source : f70a79915e8a4d72c8803439ded6021759be77fe
2018-04-09 15:25:41 +02:00
Prathiksha 917db06bfd Bug 1444439 - Remove unsafeSetInnerHTML from bug418986-2.js. r=johannh
MozReview-Commit-ID: 96RxqSwYvj0

--HG--
extra : rebase_source : 83aef91b75cda105f7d7dbba40947733776f1fa9
2018-04-07 09:13:31 +05:30
Kartikaya Gupta aa3aba2c35 Bug 1451453 - Update reftest annotations for WR PR 2626. r=jrmuizel
MozReview-Commit-ID: E6QyBRRAB3m

--HG--
extra : rebase_source : 3009056624edf1222e72980f8459a2565c4b528c
2018-04-09 08:27:16 -04:00
Kartikaya Gupta e60c9afa92 Bug 1451453 - Update some reftest annotations for changes in WR PR 2618. r=jrmuizel
MozReview-Commit-ID: H1C2K14MiGZ

--HG--
extra : rebase_source : bb7df9f89b3e6fd307bc068065765a957190c8f3
2018-04-09 08:27:16 -04:00
Kartikaya Gupta a95486dbd8 Bug 1451453 - Update for API change in WR PR 2600. r=jrmuizel
MozReview-Commit-ID: H5NL0Zmk9Vq

--HG--
extra : rebase_source : 6d8dd0067b58b1258587972ca88b323466561c15
2018-04-09 08:27:16 -04:00
Kartikaya Gupta 5cbb6be895 Bug 1426199 - Re-enable more crashtests that are now passing. r=sotaro 2018-04-09 08:02:12 -04:00
Jonathan Watt ef1290712d Bug 1452170 follow-up - Fix Windows unified build bustage by adding missing AutoRestore.h includes. r=me on CLOSED TREE 2018-04-09 10:21:42 +01:00
Jonathan Watt 782365b415 Bug 1452170 - Remove RestyleLogging.h, RestyleTrackerInlines.h and related RESTYLE_LOGGING cruft. r=heycam 2018-04-09 09:33:56 +01:00
Xidorn Quan 2cf16e2fd3 Bug 1452534 part 4 - Remove unused ComputedStyle::{IsReset,IsInherited}. r=emilio
MozReview-Commit-ID: DHOhrznm3ac

--HG--
extra : rebase_source : 9ca0d5208fbdbc34057f4e59a344dbf085b1addf
2018-04-09 15:57:53 +10:00
Xidorn Quan 61654ba862 Bug 1452534 part 3 - Remove stylestruct_ field from CSS_PROP macro. r=emilio
MozReview-Commit-ID: 5SLzttlLlIH

--HG--
extra : rebase_source : 4246fd0cbfad53f41dbb654b9313bc73144011d2
2018-04-09 15:21:00 +10:00
Xidorn Quan 6447b04ac3 Bug 1452534 part 2 - Remove nsCSSProps::kSIDTable. r=emilio
MozReview-Commit-ID: DD7sHVmIRIv

--HG--
extra : rebase_source : 9b8a35d2d4773f62a7bfa907fae4932c22f18f53
2018-04-09 14:34:15 +10:00
Xidorn Quan abf64e1d80 Bug 1452534 part 1 - Use Servo code to check whether a property is inherited. r=emilio
MozReview-Commit-ID: GtJWDmPlsAq

--HG--
extra : rebase_source : 9f63a1cb2cfd50ff71fb6d393d5e8937d37ca937
2018-04-09 14:33:30 +10:00
Emilio Cobos Álvarez b27ddd74b9 Bug 1452080: Rename ComputedStyle::PresContext to PresContextForFrame. r=xidorn
And make nsIFrame its only caller, modulo a safety assertion.

The safety assertion will be removed at the same time as the pres context
member, since the only purpose of it is to ensure we don't keep a pres context
reference for too long.

MozReview-Commit-ID: CD5zOHVO9ub
2018-04-09 11:19:50 +02:00
Emilio Cobos Álvarez f39eaa5d48 Bug 1452080: Remove ComputedStyle::PresContext usage from layout and canvas code. r=xidorn
Couldn't find an easy way of splitting these up :(

MozReview-Commit-ID: 2kTZ5McREUT
2018-04-09 11:19:49 +02:00
Noemi Erli 5d9588e156 Backed out 3 changesets (bug 1452080) for bustage in /builds/worker/workspace/build/src/layout/base/nsCSSFrameConstructor.cpp on a CLOSED TREE
Backed out changeset 7f5104c7a242 (bug 1452080)
Backed out changeset 806a9c95a243 (bug 1452080)
Backed out changeset bffebe8aa254 (bug 1452080)
2018-04-09 11:18:12 +03:00
Emilio Cobos Álvarez b6bb80b714 Bug 1452080: Rename ComputedStyle::PresContext to PresContextForFrame. r=xidorn
And make nsIFrame its only caller, modulo a safety assertion.

The safety assertion will be removed at the same time as the pres context
member, since the only purpose of it is to ensure we don't keep a pres context
reference for too long.

MozReview-Commit-ID: CD5zOHVO9ub
2018-04-09 09:57:57 +02:00
Emilio Cobos Álvarez 2a427429ff Bug 1452080: Remove ComputedStyle::PresContext usage from layout and canvas code. r=xidorn
Couldn't find an easy way of splitting these up :(

MozReview-Commit-ID: 2kTZ5McREUT
2018-04-09 09:57:55 +02:00
L. David Baron e2d0b2c595 Bug 1439398 followup: remove trailing space to satisfy web-platform-tests lint. No review (trivial and test-only). 2018-04-08 12:20:29 +09:00
Emilio Cobos Álvarez bf9afde936 Bug 1451874: Respect the -moz- gradient pref again. r=xidorn
MozReview-Commit-ID: 2MDRZLmLMM0
2018-04-07 18:18:09 +02:00
Emilio Cobos Álvarez 2cf945b0da Bug 1439398: Upstream a few more ib-split tests. r=dbaron
MozReview-Commit-ID: 3Ah1bb8dmwq


--HG--
rename : layout/reftests/ib-split/emptyspan-1-ref.html => layout/reftests/w3c-css/submitted/ib-split/emptyspan-1-ref.html
rename : layout/reftests/ib-split/emptyspan-1.html => layout/reftests/w3c-css/submitted/ib-split/emptyspan-1.html
rename : layout/reftests/ib-split/emptyspan-2-ref.html => layout/reftests/w3c-css/submitted/ib-split/emptyspan-2-ref.html
rename : layout/reftests/ib-split/emptyspan-2.html => layout/reftests/w3c-css/submitted/ib-split/emptyspan-2.html
rename : layout/reftests/ib-split/emptyspan-3-ref.html => layout/reftests/w3c-css/submitted/ib-split/emptyspan-3-ref.html
rename : layout/reftests/ib-split/emptyspan-3.html => layout/reftests/w3c-css/submitted/ib-split/emptyspan-3.html
rename : layout/reftests/ib-split/emptyspan-4-ref.html => layout/reftests/w3c-css/submitted/ib-split/emptyspan-4-ref.html
rename : layout/reftests/ib-split/emptyspan-4.html => layout/reftests/w3c-css/submitted/ib-split/emptyspan-4.html
rename : layout/reftests/ib-split/float-inside-inline-between-blocks-1-ref.html => layout/reftests/w3c-css/submitted/ib-split/float-inside-inline-between-blocks-1-ref.html
rename : layout/reftests/ib-split/float-inside-inline-between-blocks-1.html => layout/reftests/w3c-css/submitted/ib-split/float-inside-inline-between-blocks-1.html
rename : layout/reftests/ib-split/percent-height-1-ref.html => layout/reftests/w3c-css/submitted/ib-split/percent-height-1-ref.html
rename : layout/reftests/ib-split/percent-height-1.html => layout/reftests/w3c-css/submitted/ib-split/percent-height-1.html
rename : layout/reftests/ib-split/split-inner-inline-1-ref.html => layout/reftests/w3c-css/submitted/ib-split/split-inner-inline-1-ref.html
rename : layout/reftests/ib-split/split-inner-inline-1.html => layout/reftests/w3c-css/submitted/ib-split/split-inner-inline-1.html
rename : layout/reftests/ib-split/split-inner-inline-2-ref.html => layout/reftests/w3c-css/submitted/ib-split/split-inner-inline-2-ref.html
rename : layout/reftests/ib-split/split-inner-inline-2.html => layout/reftests/w3c-css/submitted/ib-split/split-inner-inline-2.html
rename : layout/reftests/ib-split/table-pseudo-in-part3-1-ref.html => layout/reftests/w3c-css/submitted/ib-split/table-pseudo-in-part3-1-ref.html
rename : layout/reftests/ib-split/table-pseudo-in-part3-1.html => layout/reftests/w3c-css/submitted/ib-split/table-pseudo-in-part3-1.html
rename : layout/reftests/ib-split/whitespace-present-1-ref.html => layout/reftests/w3c-css/submitted/ib-split/whitespace-present-1-ref.html
rename : layout/reftests/ib-split/whitespace-present-1a.html => layout/reftests/w3c-css/submitted/ib-split/whitespace-present-1a.html
rename : layout/reftests/ib-split/whitespace-present-1b.html => layout/reftests/w3c-css/submitted/ib-split/whitespace-present-1b.html
2018-04-07 16:18:06 +02:00
Emilio Cobos Álvarez 384cc13fa7 Bug 1439398: Tidy a few more tests in preparation to upstreaming. r=dbaron
MozReview-Commit-ID: 2QLhO7iu01e
2018-04-07 16:18:06 +02:00
Emilio Cobos Álvarez 89a200a966 Bug 1439055: Export the ib-split remove-* reftests. r=bz
MozReview-Commit-ID: Ey94P8sPyhp


--HG--
rename : layout/reftests/ib-split/remove-from-split-inline-1-noib-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-1-noib-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-1-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-1-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-1.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-1.html
rename : layout/reftests/ib-split/remove-from-split-inline-2-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-2-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-2.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-2.html
rename : layout/reftests/ib-split/remove-from-split-inline-3-noib-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-3-noib-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-3-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-3-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-3.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-3.html
rename : layout/reftests/ib-split/remove-from-split-inline-4-noib-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-4-noib-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-4-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-4-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-4.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-4.html
rename : layout/reftests/ib-split/remove-from-split-inline-5-noib-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-5-noib-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-5-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-5-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-5.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-5.html
rename : layout/reftests/ib-split/remove-from-split-inline-6-noib-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-6-noib-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-6-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-6-ref.html
rename : layout/reftests/ib-split/remove-from-split-inline-6.html => layout/reftests/w3c-css/submitted/ib-split/remove-from-split-inline-6.html
rename : layout/reftests/ib-split/remove-split-inline-1-ref.html => layout/reftests/w3c-css/submitted/ib-split/remove-split-inline-1-ref.html
rename : layout/reftests/ib-split/remove-split-inline-1.html => layout/reftests/w3c-css/submitted/ib-split/remove-split-inline-1.html
2018-04-07 16:04:05 +02:00
Emilio Cobos Álvarez 2e3a1ef397 Bug 1439055: Add a few <body> tags to match better test and references. r=bz
MozReview-Commit-ID: J7NYrh9gtK9
2018-04-07 16:04:03 +02:00
Emilio Cobos Álvarez 1bbda277e4 Bug 1439055: Tidy the ib-split remove-* tests. r=bz
Mostly removing some unneeded tags (<meta name=flags> is no longer needed, and
tagging it "dom" didn't seem appropriate to me). Also adding some tags that
match the WPT test template (charset / titles mostly). Also using consistent
indentation.

Finally, adding the needed

<link rel="match">

tags so that the exported tests work correctly upstream.

MozReview-Commit-ID: Lt83JmJE4pO
2018-04-07 16:03:59 +02:00
Emilio Cobos Álvarez e1aec7cd95 Bug 1447827: Rename the reparenting stuff. r=xidorn
MozReview-Commit-ID: H7tl6O8Ju32
2018-04-07 15:51:19 +02:00
Emilio Cobos Álvarez a2cb2d85cd Bug 1447827: Remove unused hover generation. r=xidorn
Not worth to keep the dead code, even if we may end up having to do something
about it in bug 1376082.

MozReview-Commit-ID: 8GG7O9ujtk0
2018-04-07 15:50:59 +02:00
Emilio Cobos Álvarez e128bf7b1a Bug 1447827: Remove ServoRestyleManager. r=xidorn
MozReview-Commit-ID: CFafQsb4rQn
2018-04-07 15:50:06 +02:00
Emilio Cobos Álvarez 7839e70676 Bug 1447827: Move ServoRestyleManager.cpp into RestyleManager.cpp. r=xidorn
Only moving implementation files, and s/ServoRestyleManager/RestyleManager/,
plus some indentation fixes.

MozReview-Commit-ID: 2WZ7KJfTrPS
2018-04-07 15:49:03 +02:00
Emilio Cobos Álvarez b508e66696 Bug 1447827: Move members from ServoRestyleManager to RestyleManager. r=xidorn
This leaves ServoRestyleManager as just a typedef.

MozReview-Commit-ID: 5wfTkiDc2Nr
2018-04-07 15:40:00 +02:00
Emilio Cobos Álvarez 0ea369c6a3 Bug 1450717: Remove unneeded / inconsistent arguments from nsCSSFrameConstructor. r=mats
Much in the spirit of bug 1442207.

They're not only unneeded, and cheap to get, but also we call them
inconsistently with the light DOM and flattened tree parent (like ContentRemoved
for display: contents), so they're really confusing, and kind of a footgun.

MozReview-Commit-ID: 9u3Kp8Kpp5i
2018-04-07 15:37:39 +02:00
Emilio Cobos Álvarez 93fa973783 Bug 1303605: Make LazyFC assertions actually hold. r=bz
The code was trying to assert that we had frames constructed for all the nodes
in the parent chain, but we don't bail out in the
!GetContentInsertionFrameFor(aContainer) in the case that it's a children
element, because they actually have no insertion frame, though their children
do.

Move the LazyFC check after the insertion point check. That makes the previous
check work on the insertion point of the child, which makes it sound.

This also fixes bug 1410020, and with it a Shadow DOM test-case that was failing
because we had two sibling assigned to two different <slot>s, and the second one
wasn't getting properly flagged, and thus the second sibling never got a frame.

The other two test failures in this test are an event dispatch failure, where
the position of the target is not what the test expects (we don't account for
margin and padding). Filed that as bug 1450027.

Also, added a test for which we have wrong layout without these patches, and
that crashes with "Called Servo_Element_IsDisplayNone" with the first patch of
this bug applied but not this one, due to the bogus check mentioned above.

MozReview-Commit-ID: 6OeaVrZhTDv
2018-04-07 15:22:06 +02:00
Emilio Cobos Álvarez c0f2f96f66 Bug 1303605: Remove the undisplayed maps. r=bz,mats
This is mostly code removal, changing GetDisplayContentsStyle(..) checks by an
FFI call to Servo.

The tricky parts are:

 * MaybeCreateLazily, which I fixed to avoid setting bits under display: none
   stuff. This was a pre-existing problem, which was wallpapered by the
   sc->IsInDisplayNoneSubtree() check, which effectively made the whole
   assertion useless (see bug 1381017 for the only crashtest that hit this
   though).

 * ContentRemoved, where we can no longer know for sure whether the element is
   actually display: contents if we're removing it as a response to a style
   change. See the comment there. That kinda sucks, but that case is relatively
   weird, and it's better than adding tons of complexity to handle that.

 * GetParentComputedStyle, which also has a comment there. Also, this function
   has only one caller now, so we should maybe try to remove it.

The different assertions after DestroyFramesForAndRestyle are changed for a
single assertion in the function itself, and the node bit used as an
optimization to avoid hashtable lookups is taken back.

MozReview-Commit-ID: AZm822QnhF9
2018-04-07 15:21:56 +02:00
Brindusan Cristian 74a6eccce8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-07 12:59:20 +03:00
Brindusan Cristian c5ba0f0766 Merge inbound to mozilla-central. a=merge 2018-04-07 12:57:02 +03:00
Jonathan Watt f8cb572b4e Bug 1452169 - Remove nsNthIndexCache.h. r=dholbert 2018-04-06 19:10:43 +01:00
Jonathan Watt 81ccf0c0e4 Bug 1452040 - Get rid of NS_STYLE_FONT_WEIGHT_NORMAL and NS_STYLE_FONT_WEIGHT_BOLD. r=emilio 2018-04-06 14:53:25 +01:00
Noemi Erli eb61878455 Merge inbound to mozilla-central. a=merge 2018-04-07 00:55:15 +03:00
Adrian Wielgosik 2837c659de Bug 1170771 - Remove now-empty nsDOMClassInfo. r=bz
MozReview-Commit-ID: 7XsiPD1kTt9

--HG--
extra : rebase_source : 2935c0fe1a51083f37e113c3e0599760f40829e2
2018-04-05 14:20:44 +02:00
Kartikaya Gupta 57f2b51436 Bug 1452240 - Fuzz a high-frequency intermittent failure. r=kats
MozReview-Commit-ID: LrN1XACIefT
2018-04-06 20:07:19 -04:00
Bobby Holley 5c354190dc Bug 1451421 - Stop using Gecko namespace ids in servo. r=xidorn
MozReview-Commit-ID: 2532dHCGPXW
2018-04-06 15:30:58 -07:00
Noemi Erli 758bc8158f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-07 01:02:43 +03:00
Cameron McCormack 80e0b61efb Bug 1079292 - Re-enable test 18 of test_font_loading_api.html. r=xidorn
MozReview-Commit-ID: IPcebw8CC4i

--HG--
extra : rebase_source : a80cd84bfc5c736d464d10eb9fc33d54b20f9883
2018-04-05 18:31:47 +10:00
Sebastian Hengst adbdb76dd0 merge mozilla-central to mozilla-inbound 2018-04-06 18:38:19 +03:00
Andrew Halberstadt 2ce99e8054 Backout hunk from a9c5a53970bf (bug 1451384) which accidentally turned off reftest run-by-manifest, r=me 2018-04-06 11:30:07 -04:00
Emilio Cobos Álvarez 92232a9bc4 Bug 1451239: Remove resolved namespace id and tag from FCItems. r=bz
Tag is unused.

This changes how some mixes of MathML and html get wrapped in anonymous table
boxes (in particular, it changes whether it uses a MathML or an HTML table
frame). The main thing this affects is whether the frame responds to certain
attributes. Responding to mathml attributes on its mContent when that mContent
is not a MathML element is weird. So arguably this is also more correct.

However, that seems acceptable to me, and you can already get that mixing
manually. On a few (arguably simple) manual test-cases mixing MathML and HTML
tables I couldn't manage to get the patched build to render differently.

Plus, neither our reftests nor the WPT MathML test-suite upstreamed by Fred Wang
for WebKit rely on this.

MozReview-Commit-ID: 8IV3iF5xIs0
2018-04-06 11:51:47 +02:00
Ben Kelly e8a484cfaa Bug 1451467 Check for nullptr mDocument->GetWindow() in a few more places in nsPresContext. r=smaug
--HG--
extra : rebase_source : a6ac4af614b261ec44162011daddfff0c8536f0c
2018-04-05 18:33:00 +03:00
Sebastian Hengst 5f003efbc6 merge mozilla-central to autoland. CLOSED TREE 2018-04-06 18:37:03 +03:00
Andreea Pavel eed7d2803f Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-06 17:54:45 +03:00
Emilio Cobos Álvarez f1145db772 Bug 1339656: [css-align] Upstream our shorthand serialization tests. r=mats
MozReview-Commit-ID: 2EYnkBavecs
2018-04-06 14:27:40 +02:00
Emilio Cobos Álvarez 2dbc4842b7 Bug 1339656: Make the shorthand serialization test account for 'unsafe' serialization. r=mats
This should make the test upstreamable.

MozReview-Commit-ID: DeJt5HzMJHE
2018-04-06 14:27:31 +02:00
Emilio Cobos Álvarez fff326ce5c Bug 1339656: [css-align] Don't restrict shorthand parsing now that's not ambiguous. r=mats
MozReview-Commit-ID: AnYBt6zwnPl
2018-04-06 14:27:12 +02:00
Jonathan Watt af9d95013e Bug 1452057 - Remove remaining AsGecko() cruft. r=emilio 2018-04-04 08:53:06 +01:00
Jonathan Watt 3a5bebcfbf Bug 1452052 - Remove nsCSSRules.h. r=emilio 2018-04-03 12:47:20 +01:00
Hiroyuki Ikezoe e38ae704a5 Bug 1412716 - Drop forward declarations of GeckoComputedStyle. r=emilio
MozReview-Commit-ID: CeI958wmdPE

--HG--
extra : rebase_source : 36b7fcb8dbcaaef118dc07cd691da1fb1199115f
2018-04-10 07:03:05 +09:00
Hiroyuki Ikezoe f910ea3c3b Bug 1412716 - Drop redundant forward declarations of ComputedStyle. r=emilio
MozReview-Commit-ID: ALMQ9Ws6eE1

--HG--
extra : rebase_source : 82222446e1ee52a05b4234855f07a400792f4e96
2018-04-10 07:03:03 +09:00
Hiroyuki Ikezoe 4db8cda1bf Bug 1412716 - De-templatize functions in nsTransitionManager. r=emilio
MozReview-Commit-ID: 6u1fOrIH8PA

--HG--
extra : rebase_source : f1401719ba8afb509edad84d610a7cf5e4077dc3
2018-04-10 07:03:00 +09:00
Hiroyuki Ikezoe 8d59f30dfa Bug 1412716 - De-templatize functions used for in nsAnimationManager. r=emilio
MozReview-Commit-ID: Kj4pLgmgF0x

--HG--
extra : rebase_source : fb3789bbcfb90c6f20765bc7d093ce4680090bf0
2018-04-09 20:16:00 +09:00
Miko Mynttinen 09ad9f120d Bug 1440690 - Don't build WebRender display list if the gecko display list hasn't changed r=kats
MozReview-Commit-ID: BQidturR8x8

--HG--
extra : rebase_source : f773a40c19c9c698fc81121413fbc36605d3ec4a
2018-04-09 16:53:38 +02:00
Kartikaya Gupta 87c5ab8f3d Bug 1452236 - Follow-up to increase pre-existing fuzz slightly. r=kats
MozReview-Commit-ID: GwBtJHil0Ci

--HG--
extra : rebase_source : d6f91cd5eb93fd6657984743ff82e14bc72986ab
2018-04-06 17:30:08 -04:00
Kartikaya Gupta 2eefaf54ec Bug 1344350 - Mark reftests passing with webrender on Windows. r=jrmuizel
This covers all the reftests that have lower fuzz (or zero fuzz) and
were producing an UNEXPECTED-PASS result with webrender on windows. In
many cases I just adjusted the lower bound of the existing webrender
fuzz. In other cases existing fails-if conditions had to be tweaked to
exclude webrender.

MozReview-Commit-ID: 49LvS0vuYWR

--HG--
extra : rebase_source : d194e24affb87fe4560a127ff4016f9c38f414fd
2018-04-06 11:58:44 -04:00
Kartikaya Gupta 9a9c13a09f Bug 1344350 - Mark reftests failing with webrender on windows. r=jrmuizel
Many of these could probably be fuzzed but in the interests of getting
the reftest suite turned on sooner I'm doing a blanket fails-if. This
covers all the reftests where there is more fuzz with webrender on
windows than any of existing annotations account for. In some cases the
fuzz is only a few pixels more than the equivalent Linux fuzz already
annotated, but I'll clean that up in a future bug.

MozReview-Commit-ID: IaKarbnL46d

--HG--
extra : rebase_source : 71889340305b0b12fa8eace722e42bb3faf14419
2018-04-06 11:58:43 -04:00
Daniel Holbert 28f04532eb Bug 1451723: Annotate first load of reftest 'font-matching/1394311-ref.htm' as random on Win7.
This test started failing after a reftest rebucketing.  It's likely a
particularly-bad special case of known win7 intermittent bug 1392106.  For now,
let's mark it as random on Win7 and continue investigating the general issue in
bug 1392106.

MozReview-Commit-ID: KX707Y9ycIC
2018-04-05 21:57:49 -07:00
Ryan VanderMeulen e4e015b51b Bug 1449976 - Add a pinch more fuzz on Windows. r=me 2018-04-05 20:40:54 -04:00
Daniel Holbert 479a00ac23 Bug 1441348: Add Win10 fuzzy annotation to reftest flexbox-resizeviewport-1.xhtml.
MozReview-Commit-ID: LdSjKPWBAR0
2018-04-04 10:20:47 -07:00
Bas Schouten 994ab9fbd6 Bug 1440753: Replace pixman regions with our own region code. r=mattwoodrow
MozReview-Commit-ID: KPsTAw3Uwa2
2018-03-09 05:27:15 +01:00
Ryan VanderMeulen 91454f0b4c Bug 1449976 - Add fuzz for OSX and Windows. r=me 2018-04-05 15:06:44 -04:00
Geoff Brown 146ff5998a Bug 1440714 - Convert Android mach commands to adb.py; r=bc 2018-04-05 12:50:29 -06:00
Lee Salzman ff2a78845b Bug 1448667 - use ColorMatrix effect instead of LuminanceToAlpha effect for DrawTargetD2D1::IntoLuminanceSource. r=bas
MozReview-Commit-ID: LHbSiFBx6HK
2018-04-05 14:07:18 -04:00
Jonathan Kew c66fb1e660 Bug 1451296 - Make enabling of font-variation-settings and font-optical-sizing properties dependent on adequate platform support at runtime. r=lsalzman 2018-04-05 18:53:56 +01:00
Alexis Beingessner 912939d028 Bug 1449976 - Add regression test for fast-shadow clipping. r=jrmuizel
--HG--
extra : amend_source : c72fa00d3895d87d6802488673e4ceee023e7ca6
2018-04-03 13:01:00 -04:00