Commit Graph

9771 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
9d8364e9b2 Bug 1498639 - Mark the reftest random-if since it passes sometimes.
CLOSED TREE
2018-11-28 21:25:21 +01:00
Emilio Cobos Álvarez
966d9cdd49 Bug 1498639 - Add a reftest (failing in WR). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12217

--HG--
extra : moz-landing-system : lando
2018-11-28 19:07:35 +00:00
Dzmitry Malyshau
54ba2010c1 Bug 1503447 - Always use zero origin for WR reference frames and stacking contexts r=kats
Previously, WebRender was getting a rectangle for reference frames
and stacking contexts, and it had to carefully treat the origin of this rectange:
  - by offseting all the items in a stacking context
  - by negatively compensating the sticky frame scroll port according to the
parent reference frame origin

With this change, we stop providing any non-zero origins. Instead we accomplish
the same behavior using existing API primitives, such as reference frames:
  1. when a stacking context has an origin, we push another reference frame for it
  2. when computing the sticky frame scroll port, we take this origin into account

This slightly simplifies Gecko-WR API, but more importantly it would allow WR to
get rid of this logic (of handling origins), which in turn would allow to switch
the reference frames from push()/pop() model to just define(), like we do for
scroll/sticky frames already.

Differential Revision: https://phabricator.services.mozilla.com/D13081

--HG--
extra : moz-landing-system : lando
2018-11-28 15:32:41 +00:00
Hiroyuki Ikezoe
d745109dfb Bug 1504065 - Drop text in the child element inside background-color animated element to avoid fuzziness on Windows 7 GPU. r=birtles
Depends on D13002

Differential Revision: https://phabricator.services.mozilla.com/D13171

--HG--
extra : moz-landing-system : lando
2018-11-28 01:43:55 +00:00
Rob Thijssen
d5df040c64 Bug 1509973 - move reftest from gecko-t-win10-64-hw to gecko-t-win10-64-gpu r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D12972

--HG--
extra : moz-landing-system : lando
2018-11-27 16:27:32 +00:00
WR Updater Bot
ef022fddde Bug 1510082 - Update reftest annotations for changes in WR PR #3346. r=kats
Depends on D13026

Differential Revision: https://phabricator.services.mozilla.com/D13027

--HG--
extra : moz-landing-system : lando
2018-11-27 02:53:03 +00:00
Daniel Holbert
43d2e1f178 Bug 1507663 part 5: Remove stray/unused markup for "basic"/"basc" class in contain-size-fieldset-002-ref.html. r=TYLin
This class wasn't applied due to a typo, and it's unnecessary anyway -- there's
a separate 'fieldset {...}' CSS rule further down in the file that has the same
effect (hiding the border and the textual contents).

Differential Revision: https://phabricator.services.mozilla.com/D12618

--HG--
extra : moz-landing-system : lando
2018-11-26 22:02:22 +00:00
Daniel Holbert
861b0e54bb Bug 1507663 part 4: Add dedicated reftests to verify that "contain:layout" suppresses baseline alignment. r=TYLin
Note that we don't get this correct for form controls yet, so the -002 test is annotated as "fails" for now.

Differential Revision: https://phabricator.services.mozilla.com/D12617

--HG--
extra : moz-landing-system : lando
2018-11-26 22:00:46 +00:00
Daniel Holbert
cfb6ab418b Bug 1507663 part 3: Update titles to remove stale references to baseline alignment, in two reftests that don't test baseline alignment. r=TYLin
Depends on D12615

Differential Revision: https://phabricator.services.mozilla.com/D12616

--HG--
extra : moz-landing-system : lando
2018-11-26 21:17:52 +00:00
Daniel Holbert
6c0b28dbdd Bug 1507663 part 2: Adjust reftest 'contain-size-button-001.html' to expect that contain:size *does not* suppress baseline alignment. r=TYLin
Note that Firefox doesn't actually match this expectation yet, so I've added a
'fails' annotation to the manifest with the followup bug number.

Also, this patch makes several other improvements to this test:

 - remove red background in testcase.  This was making the testcase spuriously
   fail in Chrome, because Chrome paints (at least) a 1px-tall background-area
   on empty buttons, which meant a 1px-tall red area in the testcase vs. a
   1px-tall gray area in the reference case.
 - clear floats to prevent them from piling up awkwardly.
 - use 'vertical-align:top' to turn off baseline alignment in parts of the test
   where the testcase has text and the reference case does not (and where we're
   not intentionally testing the baseline's influence on layout).

Depends on D12614

Differential Revision: https://phabricator.services.mozilla.com/D12615

--HG--
extra : moz-landing-system : lando
2018-11-26 21:05:34 +00:00
Daniel Holbert
856c7058bc Bug 1507663 part 1: Uncomment/invert expectations in some reftests to now expect that contain:size *does not* interfere with baseline alignment. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D12614

--HG--
extra : moz-landing-system : lando
2018-11-26 20:01:57 +00:00
Miko Mynttinen
2b4258fadd Bug 1504233 - Part 2: Add a reftest r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D12613

--HG--
extra : moz-landing-system : lando
2018-11-26 20:14:21 +00:00
Hiroyuki Ikezoe
816436998c Bug 1506860 - Revert the workaround that we did in bug 1504929. r=birtles
That's because the underlying issue which had caused intermittent failure
has been fixed in 1506988.

Here is the link to the workaround commit;
https://hg.mozilla.org/mozilla-central/rev/c84f0ad36ce9

Differential Revision: https://phabricator.services.mozilla.com/D12861

--HG--
extra : moz-landing-system : lando
2018-11-26 01:35:10 +00:00
WR Updater Bot
68f4347fa8 Bug 1509495 - Update reftest annotations for changes in WR PR #3277. r=kats
Depends on D12809

Differential Revision: https://phabricator.services.mozilla.com/D12810

--HG--
extra : moz-landing-system : lando
2018-11-23 23:33:51 +00:00
Daniel Varga
5e7f34b25d Merge mozilla-inbound to mozilla-central. a=merge 2018-11-22 23:48:53 +02:00
Kartikaya Gupta
496d87ba26 Bug 1509304 - Update fuzz for change in WR PR 3317. r=lsalzman
Depends on D12647

Differential Revision: https://phabricator.services.mozilla.com/D12648

--HG--
extra : moz-landing-system : lando
2018-11-22 17:04:25 +00:00
Kartikaya Gupta
7b573a2913 Bug 1509054 - Follow-up to fix fuzziness annotation on windows opt as well. r=me 2018-11-22 10:34:48 -05:00
Hiroyuki Ikezoe
dec4d0e964 Bug 1506988 - Don't incorporate properties that are prevented from running on the compositor in GetPropertiesForCompositor. r=birtles
Now we no longer update the corresponding display items for the animations that
are prevented from running on the compositor if the animations themselves don't
generate any change hints, e.g the same value is specified in both 'from' and
'to' keyframes.  So that we can enable the reftests that we had been suffering
from continuous MozAfterPaint events.

Depends on D12397

Differential Revision: https://phabricator.services.mozilla.com/D12369

--HG--
extra : moz-landing-system : lando
2018-11-22 03:57:59 +00:00
Joel Maher
6ae712cb2a Bug 1509054 - add fuzzy-if statements to allow reftests to run on new windows10 AMI image. r=kats
add fuzzy-if statements to allow reftests to run on new windows10 AMI image

Differential Revision: https://phabricator.services.mozilla.com/D12553

--HG--
extra : moz-landing-system : lando
2018-11-21 16:11:24 +00:00
Paolo Amadini
9004df8f9b Bug 1499947 - Part 2 - Remove the "progressmeter" element and related tests. r=bgrins,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12145

--HG--
extra : rebase_source : a322611933b371e726b25dd4223456a8f761e886
2018-11-20 14:12:33 +00:00
Emilio Cobos Álvarez
d0ac8ac82b Bug 1508645 - Upstream the test for bug 1495791 to WPT. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D12427
2018-11-20 15:40:35 +01:00
Emilio Cobos Álvarez
e26af16187 Bug 1495791 - Add a reftest.
Before https://github.com/servo/webrender/pull/3315 this rendered a red square
under the green square on WR.
2018-11-20 14:23:11 +01:00
Hiroyuki Ikezoe
9bebe3cf91 Bug 1423709 - Reftests for auto initial zoom value calculation. r=botond
There are 7 test cases in this commit.

 - no-viewport.html
   A test case that wider contents should be scaled down even if no viewport
   meta tag exists.

 - viewport-width.html
   A test case that wider contents should be scaled down (i.e. fit to the
   device screen).

 - minimum-scale.html
   A test case that the initial zoom value is clamped by minimum-scale.

 - initial-scale-0.html
   A test case that specified initial-scale value is less than the default
   minimum scale value (0.1), in such cases we shrink the content to fit
   the display size.

 - initial-scale-100.html
   A test case that specified initial-scale value is greater than the default
   maximum scale value (10), in such cases we shrink the content to fit
   the display size.

 - initial-scale-1.html
   A test case that the auto initial zoom calculation doesn't apply to the
   documents specifying initial-scale.

 - box-shadow.html
   A test case that box-shadow-ed area isn't incorporated into the initial zoom
   value.

Depends on D10197

Differential Revision: https://phabricator.services.mozilla.com/D10198

--HG--
extra : moz-landing-system : lando
2018-11-20 01:24:58 +00:00
Daniel Holbert
03a5bc2fc3 Bug 1494801: Don't add additional "contain:paint" clipping on scroll frames. r=mattwoodrow
The contain:paint clipping would be redundant and hence unnecessary in this
scenario, because:
- Scroll frames already clip their descendant frames.
- contain:paint has other (non-clipping-related) effects that prevent
descendant frames from escaping the scrollframe ancestor.

So, no further clipping is required.

This is a behavior change - it works around an issue that makes us fail to
repaint mousewheel-scrolled content inside of any scrollframe that returns true
from ShouldApplyOverflowClipping().

Differential Revision: https://phabricator.services.mozilla.com/D12056

--HG--
extra : moz-landing-system : lando
2018-11-19 23:45:19 +00:00
Ting-Yu Lin
1209bed8a8 Bug 1491915 - Fix bullet frame creation for columns. r=bzbarsky
The modification to nsLayoutUtils::GetFirstLinePosition() is needed because we
need to get the correct first line position from child (i.e. ColumnSet) when
there's an outside bullet on ColumnSetWrapperFrame.

The difference between the two newly added tests is "overflow: hidden" on
the columns.

Differential Revision: https://phabricator.services.mozilla.com/D7009

--HG--
extra : moz-landing-system : lando
2018-11-16 21:46:23 +00:00
Mats Palmgren
505d7f9d3c Bug 1317870 - Make intrinsic sizing for <input type=range> work properly and make its default margin/padding compatible with Chrome/Safari. r=jwatt 2018-11-15 20:47:33 +01:00
Mats Palmgren
977a22a9c2 Bug 1481593 - Make <input type=range> layout more compatible with WebKit/Blink. r=jwatt
In particular:
-webkit-appearance:none inhibits the range track.
An author-specified 'border' or 'background' does NOT disable the theme.
The default non-themed background-color is opaque.
2018-11-15 20:47:33 +01:00
Jan Varga
de23109c58 Bug 1286798 - Part 21: Base domain needs to be handled too if strict file origin policy is not in effect; r=bholley,asuth,dholbert 2018-11-29 21:48:22 +01:00
Kartikaya Gupta
cd40821489 Bug 1511042 - Back out some commits from bug 1503447 for introducing correctness and perf regressions. r=backout
This backs out hg commits 1e214baf8fc1, 7d4adeee5236, and f5ffebdcc014.
2018-11-29 14:24:25 -05:00
Nicolas Silva
c4557c9062 Bug 1510447 - Adjust reftest expectation. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D13412

--HG--
extra : source : e92d34bd8ebc56f3dfb1f4951e0d28e6a4c84ae2
2018-11-29 15:11:58 +01:00
Cosmin Sabou
6677a73f36 Bug 1503525 - Disable svg/outline.html on Linux and OSX debug for frequent failures. r=jmaher 2018-11-15 12:49:06 +02:00
Timothy Guan-tin Chien
2b5881e46b Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183

--HG--
extra : moz-landing-system : lando
2018-11-15 06:51:07 +00:00
Andreea Pavel
d51566f085 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Joel Maher
da9a639a11 Bug 1507152 - add fuzzy-if to transforms-1.html to support refreshed win10 image. r=mattwoodrow
add fuzzy-if to transforms-1.html to support refreshed win10 image

Differential Revision: https://phabricator.services.mozilla.com/D11894

--HG--
extra : moz-landing-system : lando
2018-11-14 22:43:15 +00:00
Joel Maher
ac44a96cd0 Bug 1507154 - disable grid-placement-auto-implicit-001.html on win10. r=mats
disable grid-placement-auto-implicit-001.html on win10

Differential Revision: https://phabricator.services.mozilla.com/D11895

--HG--
extra : moz-landing-system : lando
2018-11-14 19:11:00 +00:00
Joel Maher
65cec285ac Bug 1507161 - adjust fuzzy-if statements for win10 tests that are failing on new windows10 ami image. r=ahal
adjust fuzzy-if statements for win10 tests that are fialing on new windows 10 ami image

Differential Revision: https://phabricator.services.mozilla.com/D11914

--HG--
extra : moz-landing-system : lando
2018-11-14 18:37:30 +00:00
Timothy Guan-tin Chien
c0cc4f74e7 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

Differential Revision: https://phabricator.services.mozilla.com/D11183

--HG--
extra : moz-landing-system : lando
2018-11-14 19:34:52 +00:00
Emilio Cobos Álvarez
8e1f58b955 Bug 1506592 - Make sure to only display the broken image icon if there's a request at all. r=bzbarsky
This is enough to fix the devtools regression and matches what other browsers
do in the no-attribute case.

Also, I think this change over all makes sense: it doesn't make any sense to
display the broken image icon if there's no request, and we already assume in
EnsureIntrinsicSizeAndRatio() that we don't paint the icon for those (and make
the intrinsic size 0x0).

We still show the border, which matches other UAs (note that devtools
effectively masks the border away with mask-image).

This technically also can change behavior of <object> and <input>, but I think
it's better to be consistent, since EnsureIntrinsicSizeAndRatio also doesn't
special-case <img> either.

Differential Revision: https://phabricator.services.mozilla.com/D11659

--HG--
extra : moz-landing-system : lando
2018-11-13 10:55:59 +00:00
Hiroyuki Ikezoe
23793e3a21 Bug 1504929 - Start animations once after a MozReftestInvalidate event is received. r=sotaro
We need the same workaround for
https://bugzilla.mozilla.org/show_bug.cgi?id=1489327 .

And unfortunately we have to disable animate-backface-hidden.html on MacOSX opt
builds for WebRender because the test fails intermittently, we will enable it
in bug 1506758.

Depends on D11601

Differential Revision: https://phabricator.services.mozilla.com/D11726

--HG--
extra : moz-landing-system : lando
2018-11-13 10:18:30 +00:00
Cosmin Sabou
00f29cfcf6 Merge mozilla-central to mozilla-inbound. 2018-11-10 13:51:14 +02:00
Razvan Maries
f502ea6ce1 Merge mozilla-central to mozilla-inbound. a=merge 2018-11-10 02:24:04 +02:00
Lee Salzman
81c20a9e90 Bug 1506129 - Fuzz for fixed WebRender DWrote text render mode. r=kats
Depends on D11509

Differential Revision: https://phabricator.services.mozilla.com/D11510

--HG--
extra : moz-landing-system : lando
2018-11-09 18:55:58 +00:00
Kartikaya Gupta
f1f647e1fd Bug 1505424 - Increase fuzz due to nondeterminism. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D11481

--HG--
extra : moz-landing-system : lando
2018-11-09 16:37:43 +00:00
Emilio Cobos Álvarez
ea43a5393a Bug 1196668 - Make images without alt generate a replaced box regardless of src. r=bz
Behavior-wise this only removes the HasAttr(src) check, and adds the IsEmpty()
check to the alt attribute value, since this function is only called for <img>
and <input>.

But it also cleans up a bit.

Differential Revision: https://phabricator.services.mozilla.com/D11194
2018-11-09 18:10:14 +01:00
Gurzau Raul
139c9b897f Backed out 2 changesets (bug 1196668) for assertion count failures at child-constraints/available-size-for-percentages-vrl-htb.https.html
Backed out changeset ff03b0b8ed81 (bug 1196668)
Backed out changeset 8e423aa1c94e (bug 1196668)
2018-11-09 06:33:16 +02:00
Mats Palmgren
754a89bb89 Bug 1501506 - Add -webkit-appearance:progress-bar and make that the default for <progress> for compatibility with other UAs. r=jwatt
Keep our old 'progressbar' as an alias for now, but unship
'progresschunk' by restricting it to UA/chrome sheets only.
Unship 'progresschunk-vertical' by removing it since it's
not used internally for anything.
2018-11-09 04:25:56 +01:00
Emilio Cobos Álvarez
54599e6187 Bug 1196668 - Make images without alt generate a replaced box regardless of src. r=bz
Behavior-wise this only removes the HasAttr(src) check, and adds the IsEmpty()
check to the alt attribute value, since this function is only called for <img>
and <input>.

But it also cleans up a bit.

Differential Revision: https://phabricator.services.mozilla.com/D11194

--HG--
extra : source : 803b224d52a0940b4fb4b3b9cffc6a1fa6e5d4ee
2018-11-07 18:26:17 +01:00
Gurzau Raul
ecadb55316 Backed out changeset 803b224d52a0 (bug 1196668) for failures at dom/html/reftests/468263-2.html on a CLOSED TREE 2018-11-09 05:00:56 +02:00
Emilio Cobos Álvarez
b0577a5771 Bug 1196668 - Make images without alt generate a replaced box regardless of src. r=bz
Behavior-wise this only removes the HasAttr(src) check, and adds the IsEmpty()
check to the alt attribute value, since this function is only called for <img>
and <input>.

But it also cleans up a bit.

Differential Revision: https://phabricator.services.mozilla.com/D11194
2018-11-09 02:56:56 +01:00
Mats Palmgren
c9053c4cfd Bug 1499184 - Add some inline-axis padding after the <select size=1> display frame to avoid the text being flush to the dropdown button when we have a display:none <option>. r=jwatt 2018-11-08 22:15:37 +01:00
Nicolas Silva
34e4595832 Bug 1485512 - Adjust reftest expectations. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D9897

--HG--
extra : source : ac7c774de3958660384a2ed6d87ee68d737ca215
extra : intermediate-source : 45d5f97f80213667ed4a070cbcf0abc21914f482
2018-11-05 10:03:10 +01:00
Bobby Holley
cb08a18e30 Bug 1505241 - Update reftest annotations. r=kats
Depends on D11164

Differential Revision: https://phabricator.services.mozilla.com/D11165

--HG--
extra : moz-landing-system : lando
2018-11-07 12:35:09 +00:00
Boris Chiou
d781fa81ce Bug 1500107 - Fix the default behavior of scale:<number>{1}. r=birtles
The current spec says: "If only the X value is given, the Y value
defaults to the same value.", so we should update the behavior.

Besides, we also update the serialization, so we serialization both
specified and computed value by servo. We enable the preference
for all the css-transforms, so some of them are passed now.

Differential Revision: https://phabricator.services.mozilla.com/D10638

--HG--
extra : moz-landing-system : lando
2018-11-06 23:44:24 +00:00
Daniel Varga
3d9ab59490 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : 423e41eec91a44f6e3862da7972a40e4806d79e8
2018-11-07 00:03:28 +02:00
Matt Woodrow
9a919d79fe Bug 1456555 - Enable tiled blobs. r=Gankro
MozReview-Commit-ID: JRpQ5nVFx0r

Depends on D10043

Differential Revision: https://phabricator.services.mozilla.com/D10044

--HG--
extra : moz-landing-system : lando
2018-11-06 21:05:48 +00:00
Gurzau Raul
1da9ef02c4 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html => testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.sub.html
rename : testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.html => testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.sub.html
2018-11-06 11:57:49 +02:00
Brindusan Cristian
1be798764e Backed out 5 changesets (bug 1456555) for reftests failuress on /reftests/svg/text/pattern-content.svg.
Backed out changeset 0f2854553c21 (bug 1456555)
Backed out changeset 5e3b20a19162 (bug 1456555)
Backed out changeset 6cc965ecc095 (bug 1456555)
Backed out changeset 595abbb5bf3e (bug 1456555)
Backed out changeset c4df6309a5be (bug 1456555)
2018-11-06 07:39:19 +02:00
Matt Woodrow
dfc9d42d93 Bug 1456555 - Enable tiled blobs. r=Gankro
MozReview-Commit-ID: JRpQ5nVFx0r

Depends on D10043

Differential Revision: https://phabricator.services.mozilla.com/D10044

--HG--
extra : moz-landing-system : lando
2018-11-06 03:12:53 +00:00
Brindusan Cristian
301c937cee Backed out 5 changesets (bug 1456555) for reftest failures on /reftests/svg/paint-order-03.svg.
Backed out changeset ca90391329b7 (bug 1456555)
Backed out changeset 1f269ed43301 (bug 1456555)
Backed out changeset afb19dd18556 (bug 1456555)
Backed out changeset d46e2737134f (bug 1456555)
Backed out changeset 4261b7dc70f7 (bug 1456555)
2018-11-06 04:52:58 +02:00
Matt Woodrow
4e002bf638 Bug 1456555 - Enable tiled blobs. r=Gankro
MozReview-Commit-ID: JRpQ5nVFx0r

Depends on D10043

Differential Revision: https://phabricator.services.mozilla.com/D10044

--HG--
extra : moz-landing-system : lando
2018-11-06 00:44:58 +00:00
Miko Mynttinen
9fccb7d320 Bug 1482403 - Add reftest r=me
--HG--
extra : rebase_source : 7fb6da1a3105e6e91804f375d55287a89b120446
extra : amend_source : 6dbeff65d539d8362f69f11aeff181d51b343e4c
2018-11-06 16:34:45 +01:00
Henrik Winnemöller
de0535b7e0 Bug 1502761 - Add reftests for ImageRendering on video (NativeTexture external images). r=nical
Add reftests that test the ImageRendering property on video (NativeTexture external images), JS-based ImageRendering changes and inequality of results between different ImageRendering settings. Also include a simple h264 mp4 with minimal lossy encoding. OSX fuzzing values determined by try run.
2018-10-29 00:51:50 +01:00
WR Updater Bot
8de57eee20 Bug 1503845 - Update fuzzy annotations for changes in WR PR 3257. r=kats
Depends on D10680

Differential Revision: https://phabricator.services.mozilla.com/D10681

--HG--
extra : moz-landing-system : lando
2018-11-02 07:25:19 +00:00
Narcis Beleuzu
a2300d08e1 Backed out changeset 62d95b920270 (bug 1502761) for reftest failures on image-rendering-css.html. CLOSED TREE 2018-10-31 22:35:31 +02:00
Henrik Winnemöller
2b2b880128 Bug 1502762 - Add reftests for ImageRendering on list-style-image property. r=nical
Add reftests that test the ImageRendering property on list-style-images, JS-based ImageRendering changes and inequality of results between different ImageRendering settings.

--HG--
extra : rebase_source : a3c6298364dd5c099d6e1a851b2f20e1a2b48ab9
2018-10-29 00:47:59 +01:00
Henrik Winnemöller
141eb43b59 Bug 1502761 - Add reftests for ImageRendering on video (NativeTexture external images). r=nical
Add reftests that test the ImageRendering property on video (NativeTexture external images), JS-based ImageRendering changes and inequality of results between different ImageRendering settings. Also include a simple h264 mp4 with minimal lossy encoding. OSX fuzzing values determined by try run.

--HG--
extra : rebase_source : 7eafbc57935659f73894cab83757dffe1f7e7c60
2018-10-29 00:51:50 +01:00
Henrik Winnemöller
ce69c9b864 Bug 1502759 - Add additional reftests for ImageRendering on Canvas (NativeTexture external images). r=nical
Add additional reftests that test for JS-based changes to the ImageRendering field. Also test for differences between different ImageRendering settings.

--HG--
extra : rebase_source : 3b839704392f0c7b7b91bdaf8f978eb3778409b9
2018-10-29 00:40:10 +01:00
Ting-Yu Lin
f1ae18f596 Bug 1504387 - Remove preference "layout.css.shape-outside.enabled". r=bradwerth,xidorn
shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox
62. We can remove the preference.

The change in devtools/shared/css/generated/properties-db.js is generated by
"./mach devtools-css-db"

The actual shape-image CORS mode tests in file_shape_outside_CORS.html are
moved into test_shape_outside_CORS.html because we don't need the <iframe>
trick to enable the feature.

Differential Revision: https://phabricator.services.mozilla.com/D10804

--HG--
extra : moz-landing-system : lando
2018-11-05 15:27:36 +00:00
Lee Salzman
6aefc4e30e Bug 1502152 - more fuzz. r=me 2018-10-31 00:02:27 -04:00
Lee Salzman
c2b504684d Bug 1502152 - Skia m71 fuzzing. r=rhunt 2018-10-30 22:17:35 -04:00
Boris Chiou
56e8afca3d Bug 1500627 - Treat min-main-size:[keyword] as "auto" for flex items, if main axis is the item's block axis r=dholbert
Keywords on the sizing properties in the block axis should behave as
initial values in the flex frame. We store the keywords as enum, instead
of auto or none in nsStyleCoord, so we have to handle it explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D9438

--HG--
extra : moz-landing-system : lando
2018-10-29 22:56:35 +00:00
Daniel Holbert
e7d21b64b2 Bug 1502510: Provide missing image file for calc-background-position and calc-background-size reftests. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D9951

--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/reftests/w3c-css/submitted/values3/support/blue-32x32.png
extra : moz-landing-system : lando
2018-10-29 00:57:16 +00:00
Emilio Cobos Álvarez
9f8636dee7 Bug 1500885 - Remove tests and other similar bits. r=mats
Also remove specified-value-only keywords, since those are handled
only in Rust code and C++ doesn't need to know about them.

Differential Revision: https://phabricator.services.mozilla.com/D9634

--HG--
extra : moz-landing-system : lando
2018-10-24 20:32:16 +00:00
Mats Palmgren
0feccf9fd7 Bug 1500530 - Make the anonymous child <label> have display:inline-block so that it applies its min-inline-size. r=jfkthame 2018-10-25 16:51:45 +02:00
Mats Palmgren
66c9ef8188 Bug 1453298 - [css-text] Resolve 'text-indent' percentage against the content-box inline-size of the box itself, not its containing block. r=emilio 2018-10-25 16:51:44 +02:00
Dave Townsend
f0f151870f Bug 1419091: Mark reftest that fails on Android debug when XBL bindings aren't attached as fuzzy. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D9681

--HG--
extra : rebase_source : d00cd802a574c326aac6e7655c704e1c010a7ce1
2018-10-24 08:50:14 -07:00
longsonr
34f04a3465 Bug 1501057 - Trivial clipPaths should respect visibility=hidden r=dholbert 2018-10-24 06:01:57 +01:00
arthur.iakab
0d669cb499 Merge inbound to mozilla-central a=merge 2018-10-24 07:15:44 +03:00
Noemi Erli
71c13b613f Bug 1434812 - Disable list-1.html for frequent failures on OSX. r=jmaher 2018-10-23 13:34:00 +03:00
Bobby Holley
8ae065a347 Bug 1501073 - Test expectation adjustments. r=kats
Depends on D9610

Differential Revision: https://phabricator.services.mozilla.com/D9611

--HG--
extra : moz-landing-system : lando
2018-10-24 00:49:16 +00:00
Emilio Cobos Álvarez
8e5db71984 Bug 1501125 - Use WR clips instead of a mask as well for circle() and ellipse() shapes. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9463
2018-10-24 00:43:26 +02:00
Xidorn Quan
9de832b381 Bug 1448317 - Don't include absolutely-positioned and float children in element outline. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D9349

--HG--
extra : moz-landing-system : lando
2018-10-23 06:37:16 +00:00
Emilio Cobos Álvarez
42f80b2b77 Bug 1500575 - De-fuzz another webrender test. r=me 2018-10-23 04:20:24 +02:00
Emilio Cobos Álvarez
d62a793992 Bug 1500575 - Map inset clip paths to WR complex clip regions. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9412

--HG--
extra : moz-landing-system : lando
2018-10-23 00:10:00 +00:00
Gurzau Raul
fcfb479e6f Merge inbound to mozilla-central. a=merge 2018-10-22 12:48:35 +03:00
Kartikaya Gupta
bec97d607b Bug 1500815 - Drop unnecessary Ahem-font styling. r=jfkthame
This is bogus because there is no ahem.css in this folder.

Differential Revision: https://phabricator.services.mozilla.com/D9357

--HG--
extra : moz-landing-system : lando
2018-10-21 23:33:53 +00:00
Mats Palmgren
c33780d631 Bug 1499230 - Make empty <select>s have zero content-box inline-size, like in other UAs. r=emilio 2018-10-22 00:54:56 +02:00
Cristina Coroiu
0846a53f21 Bug 1432941 - Disable multicol-inherit-003.xht on mac for frequent failures. r=jmaher 2018-10-20 08:07:00 -04:00
Emilio Cobos Álvarez
81d70d88d1 Bug 1499386 - Implement @supports selector() syntax. r=heycam
This implements the selector(<complex-selector>) syntax for @supports.

See https://github.com/w3c/csswg-drafts/issues/3207 for explainer and
discussion.

Probably would should wait for that to be sorted out to land this, or maybe we
should put it behind a pref to get the code landed and change our
implementation if the discussion there leads to a change.

Differential Revision: https://phabricator.services.mozilla.com/D8864

--HG--
extra : moz-landing-system : lando
2018-10-17 12:08:14 +00:00
Jonathan Kew
a994b7ec92 Bug 1149304 - Reftest for repaint issues when changing CSS transform. r=roc 2015-03-31 19:30:36 +01:00
Mats Palmgren
9ea1c13256 Bug 1496720 - [css-compat] Unship most of the -moz-appearance values that aren't supported by -webkit-appearance in other UAs. r=emilio 2018-10-12 21:36:02 +02:00
Kartikaya Gupta
e238c01495 Bug 1487831 - Reduce number of reftests flagged as failing on windows-qr. r=jrmuizel 2018-10-10 12:55:14 -04:00
Gurzau Raul
fdf7e4364c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-10 07:43:59 +03:00
Gurzau Raul
fa37566219 Merge inbound to mozilla-central. a=merge 2018-10-10 07:35:14 +03:00
Emilio Cobos Álvarez
5c40ac23c9 Bug 1496014 - Fix shape-outside invalidation. r=dbaron
It's not really invalidated anywhere, and the float manager code only checks for
float region changes. Extend it so that it knows about shapes as well, and avoid
reframing due to a bogus nsChangeHint_ScrollbarChange which really meant to be
UpdateOverflow, which really is useless in this situation..

Differential Revision: https://phabricator.services.mozilla.com/D7583
2018-10-10 01:33:17 +02:00
Daniel Holbert
12fe521b72 Bug 1495470: Only let 'contain:layout/paint' create stacking contexts on frames that support it. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D7926

--HG--
extra : moz-landing-system : lando
2018-10-09 21:04:03 +00:00
Manuel Rego Casasnovas
d9ecddc9fa Bug 1491235: [css-contain] Make 'contain:layout' (not 'contain:size') suppress baseline measurements r=dholbert
The CSSWG has recently resolved that layout containment
suppress baseline alignment, while size containment does not:
https://github.com/w3c/csswg-drafts/issues/2995

Spec text (https://drafts.csswg.org/css-contain/#containment-layout):
  "7. For the purpose of the vertical-align property,
   or any other property whose effects need to relate
   the position of the containing element's baseline
   to something other than its descendants,
   the containing element is treated as having no baseline."

And a note in (https://drafts.csswg.org/css-contain/#containment-size):
  "Note: size containment does not suppress baseline alignment.
   See layout containment for that."

This patch does this change just switching IsContainSize()
by IsLayoutSize() in several places related to baseline alignment
in the source code.

With the patch several WPT tests start to pass. Apart from that,
some of the tests under vendor-imports are updated to follow
the new behavior.

--HG--
extra : amend_source : 05dc9a320afeb1d58981e2bd8bc47b435999f2f9
2018-10-09 14:13:13 -07:00
Mats Palmgren
4ebe60371d Bug 1495153 part 2 - Implement cropping the filename for <input type=file>. r=emilio,jfkthame 2018-10-07 10:08:45 +02:00
Narcis Beleuzu
5786b9be9f Backed out 2 changesets (bug 1495153) for causing perma failures on dynamic-max-width.html
Backed out changeset 6d95f0e0cc76 (bug 1495153)
Backed out changeset 6800eb348ebe (bug 1495153)
2018-10-07 05:14:44 +03:00
shindli
ea18bce030 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-07 00:15:20 +03:00
Mats Palmgren
3eec51d6b3 Bug 1495153 part 2 - Implement cropping the filename for <input type=file>. r=emilio,jfkthame 2018-10-06 19:31:51 +02:00
Emilio Cobos Álvarez
9aeb8183fd Bug 1444185 - More consistently round around fallback data. r=mstange
To avoid trimming pixels at the top / left.

This makes it closer to non-WR[1], and fixes both the checkboxes getting
cut off and the master password field.

[1]: non-WR at least at 124 scaling on a hiDPI display is still perfect, though I saw nin symmetric borders at other resolutions, so we might be able to improve here further.

Differential Revision: https://phabricator.services.mozilla.com/D7251

--HG--
extra : moz-landing-system : lando
2018-10-06 10:34:36 +00:00
Csoregi Natalia
518c1edc03 Merge inbound to mozilla-central. a=merge 2018-10-05 07:43:18 +03:00
Kartikaya Gupta
fea196e2e1 Bug 1496416 - Add a reftest for async-scrolling content with 2D rotation transforms. r=mstange 2018-10-04 16:12:16 -04:00
Csoregi Natalia
991b088ebf Merge mozilla-central to autoland. CLOSED TREE 2018-10-05 01:31:25 +03:00
Hiroyuki Ikezoe
a2880e9d4f Bug 1489327 - Start animation once after a MozReftestInvalidate event is received in continuation-opacity.html. r=kats
The animation in this reftests runs on the compositor.  In the mean time,
reftest harness waits for the state where there is no pending paint in the
initial phase (STATE_WAITING_TO_FIRE_INVALIDATE_EVENT, i.e. before sending
a MozReftestInvalidate event).  So if the animation starts running on the
compositor before a MozReftestInvalidate event is received, it means that
the reftest harness has to wait for the 'no pending paint' state until the
animation finishes because the reftest harness keeps flushing styles in the
initial phase which means the animation causes a paint on every flush.

To avoid above situation, we start the animation in question after we get a
MozReftestInvalidate event.

Differential Revision: https://phabricator.services.mozilla.com/D7681

--HG--
extra : moz-landing-system : lando
2018-10-04 15:15:37 +00:00
Kartikaya Gupta
a91d1a5df9 Back out bug 1415272 for introducing bug 1496416. r=me
The WR change was backed out upstream in WR PR 3165, but I'm landing it
here out-of-band so we don't have to wait for a regular WR update.
2018-10-04 12:13:13 -04:00
Noemi Erli
8bb8254a13 Merge inbound to mozilla-central. a=merge 2018-10-04 07:03:25 +03:00
Jeff Muizelaar
95e70c18bb Bug 1489663. Add test for invalidation inside of a mask r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D7379

--HG--
extra : moz-landing-system : lando
2018-10-02 20:27:54 +00:00
Timothy Guan-tin Chien
05efde21b8 Bug 1483656 - Part VI, Undo reftest.list changes r=jaws
This revert reftest changes in bug 1431255 Part VIII (c42039f3ffe7)
so that we could test UA Widget in these tests.

Depends on D5085

Differential Revision: https://phabricator.services.mozilla.com/D7543

--HG--
extra : moz-landing-system : lando
2018-10-03 15:50:00 +00:00
Jeff Muizelaar
7f2c241eb3 Bug 1496670. Update layout/reftests/async-scrolling/reftest.list for #3173 2018-10-09 23:20:26 -04:00
Jan Henning
f312188507 Bug 1380830 - Enable container-with-clamping reftest again. r=dbaron
Judging from the description in comment 3 and the fact that this test started
failing shortly after bug 1308876 landed, it is highly likely that this test is
being hit by the same issue as bug 1428670.
This also makes sense given that this test is supposed to test the clamping of
the effective container width for font inflation by the actually visible area of
that frame - be that the viewport for a top level document as in bug 1428670, or
the width of an <iframe> as in this test.

Without the patches for bug 1428670, this test is still failing very frequently.
With those patches applied on the other hand, no more failures are encountered.

Differential Revision: https://phabricator.services.mozilla.com/D5580

--HG--
extra : moz-landing-system : lando
2018-10-02 15:23:19 +00:00
Jan Henning
a51fb6feca Bug 1428670 - Part 2: Correctly mark all child frames as dirty when font inflation status changes. r=dbaron
Before bug 1308876, child frames marked themselves as dirty during reflow if
their parent was dirty, too. After bug 1308876, the point where dirtiness is
being propagated to a frame's descendants has been shifted: Now, dirty parents
are responsible for marking all their children as dirty, too, when the parent
starts reflowing.

This means that if a frame wants to mark a whole subtree as dirty *during its
own* reflow, it's no longer sufficient to just mark the root of the subtree as
dirty and then rely on all further children marking themselves as dirty as well
when reflow reaches them.

The font inflation code is one such case. When the font inflation data on a font
inflation flow root has become dirty, or we're resizing the top-level frame
(which because of the effective container width clamping from bug 707855 can
affect the font inflation font size as well), we now need to explicitly mark all
affected children as dirty.

Differential Revision: https://phabricator.services.mozilla.com/D5577

--HG--
extra : moz-landing-system : lando
2018-10-02 15:23:12 +00:00
Jan Henning
8b4d584087 Bug 1428670 - Part 1: Add reftest. r=dbaron
The failure mode this test is testing is the following:
Apart from the relevant preferences (which cannot change without reloading the
page, so they're not relevant in this case), the magnitude of font size
inflation for all content governed by a particular font inflation flow root
depends on the flow root's effective container width, which is calculated by
taking the smaller of the following two values:
- The font inflation flow root's calculated NCAIsize.
- The ISize of the PresContext's currently visible area.
Minimum font size for font inflation then scales linearly with the effective
container width.

While for a plain document without frames, the visible area normally
corresponds to the viewport size, the MobileViewportManager will only calculate
the viewport after the "load" event or the first paint, whichever is sooner.
This means that the initial reflow will proceed using the current window
dimensions (on mobile this is corresponding to the display size) for the
currently visible area, which in portrait mode typically means around
300 - 500 px width.
After the MVM has done its viewport calculations, we'll reflow again using the
new viewport size as our visible area. For non-mobile friendly pages where font
inflation is relevant, the standard viewport width is 980 px.

If a font inflation flow root is wider than the initial window size, this means
that its effective container width is governed by the visible area and will
therefore increase during the second reflow, as will correspondingly font
inflation's minimum font size.

While the font inflation code detects changes in a font inflation flow root's
NCAISize, respectively ISize resizes of the top-level (Viewport)Frame, after bug
1308876 it no longer correctly marks all descendants of the affected flow root
as dirty. If the text is contained inside an element with a fixed width, which
has therefore been unaffected by the viewport width change, this means that
we'll skip reflow for that text entirely, so the text gets rendered at the new,
increased font size, but continues using the old layout laid out assuming the
smaller initial font size.

I didn't manage to force the visible area to be larger than the initial window
size of 800 px using meta viewport tags, so I'm adjusting browser.viewport.
desktopWidth for this test instead. This also more closely mimics the real-life
failure case described above, where the viewport width gets set to a value
larger than the initial window size through the special desktop page viewport
width handling.

Differential Revision: https://phabricator.services.mozilla.com/D5579

--HG--
extra : moz-landing-system : lando
2018-10-02 15:23:10 +00:00
Bogdan Tara
80119cd08f Backed out 5 changesets (bug 1428670, bug 1380830) for perma failing tests/layout/generic/crashtests/742602.html
Backed out changeset f38ac02fefac (bug 1380830)
Backed out changeset 1bf6b5fac1f9 (bug 1428670)
Backed out changeset faec1cb8ab5d (bug 1428670)
Backed out changeset 34736c8507e6 (bug 1428670)
Backed out changeset 6ecb75be4a61 (bug 1428670)
2018-09-29 23:51:23 +03:00
Jan Henning
6371554477 Bug 1380830 - Enable container-with-clamping reftest again. r=dbaron
Judging from the description in comment 3 and the fact that this test started
failing shortly after bug 1308876 landed, it is highly likely that this test is
being hit by the same issue as bug 1428670.
This also makes sense given that this test is supposed to test the clamping of
the effective container width for font inflation by the actually visible area of
that frame - be that the viewport for a top level document as in bug 1428670, or
the width of an <iframe> as in this test.

Without the patches for bug 1428670, this test is still failing very frequently.
With those patches applied on the other hand, no more failures are encountered.

Differential Revision: https://phabricator.services.mozilla.com/D5580

--HG--
extra : moz-landing-system : lando
2018-09-29 15:55:22 +00:00
Jan Henning
972d6e462f Bug 1428670 - Part 2: Correctly mark all child frames as dirty when font inflation status changes. r=dbaron
Before bug 1308876, child frames marked themselves as dirty during reflow if
their parent was dirty, too. After bug 1308876, the point where dirtiness is
being propagated to a frame's descendants has been shifted: Now, dirty parents
are responsible for marking all their children as dirty, too, when the parent
starts reflowing.

This means that if a frame wants to mark a whole subtree as dirty *during its
own* reflow, it's no longer sufficient to just mark the root of the subtree as
dirty and then rely on all further children marking themselves as dirty as well
when reflow reaches them.

The font inflation code is one such case. When the font inflation data on a font
inflation flow root has become dirty, or we're resizing the top-level frame
(which because of the effective container width clamping from bug 707855 can
affect the font inflation font size as well), we now need to explicitly mark all
affected children as dirty.

Differential Revision: https://phabricator.services.mozilla.com/D5577

--HG--
extra : moz-landing-system : lando
2018-09-29 15:55:14 +00:00
Jan Henning
7d55435c2f Bug 1428670 - Part 1: Add reftest. r=dbaron
The failure mode this test is testing is the following:
Apart from the relevant preferences (which cannot change without reloading the
page, so they're not relevant in this case), the magnitude of font size
inflation for all content governed by a particular font inflation flow root
depends on the flow root's effective container width, which is calculated by
taking the smaller of the following two values:
- The font inflation flow root's calculated NCAIsize.
- The ISize of the PresContext's currently visible area.
Minimum font size for font inflation then scales linearly with the effective
container width.

While for a plain document without frames, the visible area normally
corresponds to the viewport size, the MobileViewportManager will only calculate
the viewport after the "load" event or the first paint, whichever is sooner.
This means that the initial reflow will proceed using the current window
dimensions (on mobile this is corresponding to the display size) for the
currently visible area, which in portrait mode typically means around
300 - 500 px width.
After the MVM has done its viewport calculations, we'll reflow again using the
new viewport size as our visible area. For non-mobile friendly pages where font
inflation is relevant, the standard viewport width is 980 px.

If a font inflation flow root is wider than the initial window size, this means
that its effective container width is governed by the visible area and will
therefore increase during the second reflow, as will correspondingly font
inflation's minimum font size.

While the font inflation code detects changes in a font inflation flow root's
NCAISize, respectively ISize resizes of the top-level (Viewport)Frame, after bug
1308876 it no longer correctly marks all descendants of the affected flow root
as dirty. If the text is contained inside an element with a fixed width, which
has therefore been unaffected by the viewport width change, this means that
we'll skip reflow for that text entirely, so the text gets rendered at the new,
increased font size, but continues using the old layout laid out assuming the
smaller initial font size.

I didn't manage to force the visible area to be larger than the initial window
size of 800 px using meta viewport tags, so I'm adjusting browser.viewport.
desktopWidth for this test instead. This also more closely mimics the real-life
failure case described above, where the viewport width gets set to a value
larger than the initial window size through the special desktop page viewport
width handling.

Differential Revision: https://phabricator.services.mozilla.com/D5579

--HG--
extra : moz-landing-system : lando
2018-09-29 15:54:59 +00:00
arthur.iakab
6d5ae40a02 Merge inbound to mozilla-central a=merge 2018-09-29 07:16:35 +03:00
Chris Pearce
6d006bbd02 Bug 1437608 - Enable layout/reftests/bugs/1425243-1.html with WebRender. r=emilio
This test now passes with WebRender enabled, but it's still fuzzy with WebRender
disabled, so just enable it when WebRender is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D7157

--HG--
extra : moz-landing-system : lando
2018-09-28 10:31:08 +00:00
Jeff Muizelaar
4407187413 Bug 1494206. Update tests for blur changes.
--HG--
extra : rebase_source : 88411ee6146fbf2781bcdaee4e3668a2b1473b34
2018-09-27 23:30:38 -04:00
Emilio Cobos Álvarez
d2ed7ef067 Bug 1493645 - Fix line endings in flexbox-dyn-resize-001.html. r=me 2018-09-28 00:28:57 +02:00
Kartikaya Gupta
1ee7800fce Bug 1439571 - Remove fuzzy-if annotation that is no longer necessary. r=Gankro 2018-09-28 13:40:20 -04:00
Jonathan Watt
5c1dd39583 Bug 1494285 p3. Rename nsDisplayFilter to nsDisplayFilters. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D7008

--HG--
extra : rebase_source : 89a1bd3e34666a09bd9d9d26329f183ebc28a1c3
extra : amend_source : 71c0eacf545383c23533ae05c46561159567d667
extra : histedit_source : a1047949377d690bba5cfcf86b16cb2be0610af0
2018-08-30 13:15:47 +01:00
Kartikaya Gupta
194daef76e Bug 1438171 - Re-enable passing reftest. r=nical 2018-09-27 13:04:27 -04:00
Xidorn Quan
cb87cec282 Bug 1494501 - Rename pref "layout.css.scrollbar-colors.enabled" to "layout.css.scrollbar-color.enabled". r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D7030

--HG--
extra : moz-landing-system : lando
2018-09-27 00:38:16 +00:00
Daniel Holbert
62925b4703 Bug 1493645 part 1: When caching flex item sizes, use computed inline size as part of the cache key. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D6991

--HG--
extra : moz-landing-system : lando
2018-09-26 22:51:08 +00:00
Kartikaya Gupta
cca06c782d Bug 1415272 - Enable perspective-scrolling-3 as it passes with WR PR 3154. r=jrmuizel
--HG--
extra : rebase_source : 42d14d3c930f4b9dd4b2e62101fddf4c0b646a7f
2018-10-03 11:39:18 -04:00
Emilio Cobos Álvarez
2c6c40c0a0 Bug 1382896 - Update tests. r=jrmuizel
Mostly straight-forward, the bordercol.css changes are just color renames, but
that file had bogus newlines and such so it looks much bigger.

Differential Revision: https://phabricator.services.mozilla.com/D6604
2018-09-26 15:28:13 +02:00
Emilio Cobos Álvarez
0cf08372ac Bug 1382896 - Align Gecko and WebRender code for 3d border colors. r=mstange
See the discussion in https://github.com/servo/webrender/issues/1280. I think we
should do this sooner rather than later.

Need to update a couple reftests to hardcode the new colors, waiting on try for
that but should be trivial.

This makes a few more tests pass which are just marked as failure in bug 1487407,
because I implementing the border-collapsing reusing a bunch of Gecko code,
including the table 3d border stuff.

Differential Revision: https://phabricator.services.mozilla.com/D6565
2018-09-26 15:28:01 +02:00
Emilio Cobos Álvarez
2afc706839 Bug 1487407 - Properly support beveling bc borders in WR. r=Gankro
The previous border-collapse beveling implementation assumed that there would
only be one beveled border per side in the whole table, which is... not true at all.

So a bunch of borders ended up clobbering other values in mBevelBorders and
never getting painted.

I'm actually somewhat scarily surprised that only this reftest seems to fail
without this patch...

Here we reuse most of the existing one-off beveling / border rendering support
in nsCSSRendering, and convert the Gecko bevels into a WebRender display list
using rects and borders. This is only remotely possible thanks to Gecko not
supporting dotted / dashed beveled borders :)

This would slightly easier and presumably also more efficient with a triangle
display item in WR instead of (ab)using the border display item to render the
bevel, but this is probably relatively edge-casey so maybe not worth it... In
any case I've left a TODO comment there, that can be a nice followup if we deem
it worth it.

Anyway, I'm _so_ sorry for the border trick, I was this (||) close to go and
rewrite our border collapsing code, but after a few tries I realized it'd take
me a whole lot of time (instead of the day that this has taken me).

Differential Revision: https://phabricator.services.mozilla.com/D4793
2018-09-26 15:27:59 +02:00
Jonathan Watt
b389c507af Bug 1494092. Remove SVGFilterObserverList::IsInObserverLists and related code. r=mattwoodrow
This code is no longer necessary since we now invalidate using Display List
Based Invalidation instead of using recursive calls up the frame tree.

The tests that are marked as failing have only been passing due to a bug in the
code that's being removed from nsSVGIntegrationUtils.cpp which coincidentally
hides the fact that we are actually invalidating in those tests given their
particular structure (which the tests are supposed to be checking we're not
doing).

Differential Revision: https://phabricator.services.mozilla.com/D6850

--HG--
extra : rebase_source : cb95359d694dafeca915a22b3c48f580a69679ef
extra : amend_source : 7074f5837170ce0a9243811291782f689666e122
2018-08-27 17:05:37 +01:00
Daniel Holbert
8c7f509c02 Bug 1487537: Add reftest to exercise a scenario where presence of scrollbars influences the need for scrollbars. r=bradwerth
--HG--
extra : rebase_source : 0f4929158a7539e492e13966ea3c612ed30dd345
extra : amend_source : a5c8f74d78bac31262efd7b49f4eb36a04659998
2018-09-25 11:30:45 -07:00
Cosmin Sabou
2731d11658 Merge mozilla-central to inbound. a=merge 2018-10-04 02:40:08 +03:00
Emilio Cobos Álvarez
939fb708fe Bug 1493710 - Don't apply containing shadow-host rules to NAC. r=mats
This is a regression from bug 1487856.

Differential Revision: https://phabricator.services.mozilla.com/D6700
2018-09-25 09:21:23 +02:00
Csoregi Natalia
4a5dd87283 Backed out changeset 73a8628576e4 (bug 1493710) for failures on layout/reftests/forms/input/shadow-rules.html. CLOSED TREE 2018-09-25 03:57:36 +03:00
Emilio Cobos Álvarez
2375a01424 Bug 1493710 - Don't apply containing shadow-host rules to NAC. r=mats
This is a regression from bug 1487856.

Differential Revision: https://phabricator.services.mozilla.com/D6700

--HG--
extra : moz-landing-system : lando
2018-09-24 21:32:59 +00:00
Jonathan Kew
24a9c4ca21 Bug 1493181 - Use rounding instead of ceiling when computing 'ch' width; update test expectations accordingly. r=manishearth 2018-09-22 23:26:55 +01:00
Jonathan Kew
b4332d3149 Bug 1493181 - Test for expected width of CSS 'ch' unit. r=manishearth 2018-09-22 23:26:31 +01:00
Matt Woodrow
a03f5b443d Bug 1492250 - Create a WebRender stacking context for nsDisplayStickyPosition to ensure that all descendants get the same positioning. r=mstange
MozReview-Commit-ID: 5JZo0z3LC7t

Differential Revision: https://phabricator.services.mozilla.com/D6354

--HG--
extra : moz-landing-system : lando
2018-09-21 00:53:19 +00:00
Gurzau Raul
2a3847037c Backed out changeset 471ccb1a377e (bug 1492250) for failing at /reftests/async-scrolling/reftest.list line 36 on a CLOSED TREE 2018-09-21 03:31:24 +03:00
Matt Woodrow
610b7fd423 Bug 1492250 - Create a WebRender stacking context for nsDisplayStickyPosition to ensure that all descendants get the same positioning. r=mstange
MozReview-Commit-ID: 5JZo0z3LC7t

Differential Revision: https://phabricator.services.mozilla.com/D6354

--HG--
extra : moz-landing-system : lando
2018-09-20 23:18:07 +00:00
Andreea Pavel
f5f6c0b588 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-21 00:54:47 +03:00
Miko Mynttinen
43389f7825 Bug 1490518 - Scale areas after clipping to unscaled clip r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D6031

--HG--
extra : moz-landing-system : lando
2018-09-20 18:31:00 +00:00
Jeff Muizelaar
171146f369 Bug 1492566. Increase the fuzz some more so that things pass. 2018-09-20 13:22:58 -04:00
Jeff Muizelaar
3ed96a1b8e Bug 1492566. Adjust test expectations for https://github.com/servo/webrender/pull/3073
--HG--
extra : rebase_source : 7d090510f12caceaff8c2329e47871dbb5f4de55
2018-09-19 15:52:06 -04:00
Coroiu Cristina
fc2422e4c1 Backed out changeset a0179bdde496 (bug 1492250) for reftest failures at tests/layout/reftests/async-scrolling/sticky-pos-scrollable-7.html on a CLOSED TREE 2018-09-20 13:21:44 +03:00
Coroiu Cristina
b287d5ad06 Merge mozilla-central to autoland a=merge 2018-09-20 09:52:11 +03:00
Coroiu Cristina
0b8ed772d2 Backed out 2 changesets (bug 1492389) for causing perma reftest failures at tests/reftest/tests/layout/reftests/transform-3d/1035611-1-ref.html a=backout
Backed out changeset 16995931c819 (bug 1492389)
Backed out changeset 592121f27afe (bug 1492389)
2018-09-20 09:47:22 +03:00
Bogdan Tara
86023d88c4 Merge inbound to mozilla-central. a=merge 2018-09-20 07:13:05 +03:00