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

69187 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack f5dd691a74 Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D32100

--HG--
extra : moz-landing-system : lando
2019-05-24 03:18:44 +00:00
Emilio Cobos Álvarez 980074a5b2 Bug 1544242 - Cleanup selector-matching for nested pseudo-elements, match ::slotted correctly when there's no selector before it, and add tests. r=heycam,mats
D29542 fixed the bogus checks that was making nested pseudo-elements match
author rules. This adds tests and ends up being just a cleanup, though as it
turns out we it also fixes an issue with ::slotted() matched from
Element.matches.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:09:15 +00:00
Andreea Pavel 9ea3c5f4bf Backed out 2 changesets (bug 1552287) for failing contain-layout-suppress-baseline-002.html on a CLOSED TREE
Backed out changeset 815c6657d164 (bug 1552287)
Backed out changeset 888c32d2a32e (bug 1552287)
2019-05-24 03:34:03 +03:00
Daniel Holbert b15f05575d Bug 1552287 part 2: [css-contain] Adjust various reflow & baseline methods so that layout-contained frames behave as if they have no baseline. r=TYLin
We previously (in bug 1491235) adjusted some utility code to make
layout-contained frames behave as if they have no baseline.

But that's not sufficient. To make frames fully report lack-of-a-baseline,
we now do the following for layout-contained frames, as of this patch:

 (a) We now leave the ReflowOutput outparam's BlockStartAscent member at its
     default value (which is what we do for frames without a baseline like
     e.g. nsCheckboxRadioFrame and nsHTMLCanvasFrame). And if the parent cares
     about the baseline, it'll then ask directly, using a baseline getter.

 (b) We now return 'false' in more implementations of bool-returning
     baseline-getter-methods (where 'false' indicates 'no baseline').

 (c) We now return the margin-box-bottom edge, in the nscoord-returning
     'GetLogicalBaseline()' getter method. (We typically do this by deferring
     to the inherited method, which ultimately comes from nsFrame's
     implementation). It's appropriate to use the margin-box-bottom edge when
     there's no baseline, per the definition of 'vertical-align: baseline',
     here: https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align

Depends on D32182

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

--HG--
extra : moz-landing-system : lando
2019-05-23 21:41:35 +00:00
Daniel Holbert 0fb414a70a Bug 1553548: [css-contain] Make table-wrapper-box inherit CSS "contain" from table box. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D32179

--HG--
rename : testing/web-platform/tests/css/css-contain/contain-paint-cell-001.html => testing/web-platform/tests/css/css-contain/contain-paint-table-001.html
rename : testing/web-platform/tests/css/css-contain/contain-paint-cell-001.html => testing/web-platform/tests/css/css-contain/contain-paint-table-002.html
extra : moz-landing-system : lando
2019-05-23 16:52:28 +00:00
Sylvestre Ledru 993c03acb1 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31769

--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Daniel Varga af42676c4a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-05-23 18:59:21 +03:00
Daniel Varga 4cbc287f63 Merge mozilla-inbound to mozilla-central. a=merge 2019-05-23 18:54:21 +03:00
Dorel Luca 262d881f83 Backed out 2 changesets (bug 1553772) for Geckoview failures in org.mozilla.geckoview.test.SelectionActionDelegateTest.collapseToStart[#designmode]
Backed out changeset 7286e18fbc17 (bug 1553772)
Backed out changeset 58d40da71355 (bug 1553772)
2019-05-23 18:30:54 +03:00
Oana Pop Rus d020804eba Backed out changeset 3304277f5bde (bug 1553252) for build bustages on Windows on a CLOSED TREE 2019-05-23 17:52:21 +03:00
mandy cheang 356929b6c2 Bug 1541233 - Remove expired USER_CHROME_CSS_LOADED probe. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D32025

--HG--
extra : moz-landing-system : lando
2019-05-23 12:06:09 +00:00
mandy cheang 5767663a4e Bug 1541233 - Don't load customization style sheets if toolkit.legacyUserProfileCustomizations.stylesheets pref is not set. r=mconley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D31670

--HG--
extra : moz-landing-system : lando
2019-05-23 12:06:09 +00:00
violet 4ab5380719 Bug 1553252 - Use cbindgen for text-overflow r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32285

--HG--
extra : moz-landing-system : lando
2019-05-23 14:02:17 +00:00
Hiroyuki Ikezoe de7c51b158 Bug 1553022 - Don't use the given range in ScrollToWithOrigin in the case where scroll snap will happen. r=botond
ScrollToShowRect calls nsIScrollableFrame::ScrollTo with an nsRange which
will be used to constrain the final scroll position so that if snapping needs
to happen we need to ignore the given range not to constrain the final
destination position in the range.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 10:22:08 +00:00
Hiroyuki Ikezoe 5012767cd8 Bug 1553022 - Stop descending down frame tree if we met another scrollable frame when we collect snap positions. r=botond
From the last sentence of "3. Scroll Snap Model" [1] in the spec;

 Snap positions only affect the nearest ancestor scroll container on the
 element's containing block chain.

[1] https://drafts.csswg.org/css-scroll-snap-1/#overview

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

--HG--
extra : moz-landing-system : lando
2019-05-23 10:27:31 +00:00
Dorel Luca e7b8d1a1ec Backed out 2 changesets (bug 1553022) for build bustage on builds/worker/workspace/build/src/layout/generic/nsGfxScrollFrame.cpp
Backed out changeset d136380e4945 (bug 1553022)
Backed out changeset 9a556ee9f039 (bug 1553022)
2019-05-23 13:08:25 +03:00
Emilio Cobos Álvarez c0ba509142 Bug 1553772 - Bug 1549812 - Try to assert a bit harder about stuff not flushing under our nose. r=TYLin,mats
I think these should hold, everything that runs under them should just schedule
other stuff to some later date:

 * Synth mouse events -> scheduled as refresh driver observers.
 * Scroll events -> Scheduled as well.
 * Caret state change events -> Also scheduled after last patch.
 * IME and accessibility stuff -> I don't think they can reenter layout.

We can always revert this if it causes troubles, plus it shouldn't crash on
release so should be fine.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:45:56 +00:00
Emilio Cobos Álvarez d9bcd0c1e9 Bug 1553772 - Bug 1549812 - Don't run arbitrary script from AccessibleCaretManager callbacks. r=TYLin
Instead, post the event for the next turn of the event loop.

In this case, what killed the frame is ActionBarHandler.jsm via
Selection.toString().

Depends on D31088

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:45:47 +00:00
Hiroyuki Ikezoe 292b43f092 Bug 1553022 - Don't use the given range in ScrollToWithOrigin in the case where scroll snap will happen. r=botond
ScrollToShowRect calls nsIScrollableFrame::ScrollTo with an nsRange which
will be used to constrain the final scroll position so that if snapping needs
to happen we need to ignore the given range not to constrain the final
destination position in the range.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:44:26 +00:00
Hiroyuki Ikezoe 3c13f44aef Bug 1553022 - Stop descending down frame tree if we met another scrollable frame when we collect snap positions. r=botond
From the last sentence of "3. Scroll Snap Model" [1] in the spec;

 Snap positions only affect the nearest ancestor scroll container on the
 element's containing block chain.

[1] https://drafts.csswg.org/css-scroll-snap-1/#overview

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:44:58 +00:00
Hiroyuki Ikezoe d243910c35 Bug 1550105 - Implement the parser for scale values in viewport meta tag as what the spec defines. r=botond
The relevant definition in the spec;
 https://drafts.csswg.org/css-device-adapt/#min-scale-max-scale

Before this change, if both of initial-scale and maximum-scale are negative,
both values are clamped to 0.25. Whereas with this change, negative scale
values are treated as if it's not specified so that initial-scale value is
automatically calculated based on the layout viewport size.
negative-initial-and-maximum-scale.html is a test case for the case.

Also with this change, initial-scale values are going to be clamped to the
range [0.25, 10] during parsing it so that initial-scale-0.html and
initial-scale-100.html need to be modified, now the former is scaled by 0.25x,
the latter is scaled by 10x.
(Before this change, initial-scale=0 and initial-scale=100 were treated as
 invalid scale values in nsViewportInfo::ConstrainViewportValues[1])

[1] https://searchfox.org/mozilla-central/rev/6c9f60f8cc064a1005cd8141ecd526578ae9da7a/dom/base/nsViewportInfo.cpp#15,19

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

--HG--
extra : moz-landing-system : lando
2019-05-23 06:35:52 +00:00
Gurzau Raul 74c555539e Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE.
Backed out changeset 5dd10a365ba9 (bug 1550422)
Backed out changeset 529f5be01ab9 (bug 1550422)
Backed out changeset b6861d3badf8 (bug 1550422)
Backed out changeset 059cff1a3dde (bug 1550422)
Backed out changeset 6ada1116b241 (bug 1550422)
Backed out changeset ca67e8e45262 (bug 1550422)
Backed out changeset a1961a51ae44 (bug 1550422)
Backed out changeset 1c90b9cb3ad4 (bug 1550422)
Backed out changeset 285fa46e4f26 (bug 1550422)
Backed out changeset e2938a444234 (bug 1550422)
Backed out changeset 7a930fc51125 (bug 1550422)
Backed out changeset 898ed02804fe (bug 1550422)
Backed out changeset e1b7abc99ae9 (bug 1550422)
Backed out changeset f781d415cef6 (bug 1550422)
Backed out changeset 2fef10a7cce5 (bug 1550422)
Backed out changeset ea64b4d8d4ff (bug 1550422)
Backed out changeset 86a8ba1b755c (bug 1550422)
Backed out changeset 9c0c9e80f309 (bug 1550422)
Backed out changeset 10c153ddbaea (bug 1550422)
Backed out changeset 60fe635ec2c9 (bug 1550422)
Backed out changeset a38796266b28 (bug 1550422)
Backed out changeset 2db647dcdf1c (bug 1550422)
Backed out changeset 952ddac02972 (bug 1550422)
Backed out changeset ba46b53643ec (bug 1550422)
Backed out changeset ca47ef6c59f7 (bug 1550422)
Backed out changeset f45f471a1a40 (bug 1550422)
Backed out changeset 371b4da5b771 (bug 1550422)
Backed out changeset 02fc78890032 (bug 1550422)
2019-05-23 05:59:44 +03:00
Jean-Yves Avenard d59781ac33 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:46:30 +00:00
Jean-Yves Avenard 2412878bd9 Bug 1550422 - P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31259

--HG--
extra : moz-landing-system : lando
2019-05-22 22:27:37 +00:00
Jean-Yves Avenard 2c0ce1b3ca Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
gfxPrefs Live preferences are almost identical to StaticPrefs.

We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:43:42 +00:00
Hiroyuki Ikezoe d3e6eadc70 Bug 1546219 - Rename mScrollSnapType{X,Y} to mScrollSnapStrictness{X,Y}. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D31746

--HG--
extra : moz-landing-system : lando
2019-05-22 17:43:34 +00:00
Glenn Watson 0f8cee5dd5 Bug 1552984 - Refactor parts of the WR batching and flattening code, to support future picture caching improvements. r=kvark
This patch contains two isolated changes related to upcoming picture
caching improvements. Specifically:

 * Determine the blit reason for stacking contexts with clips
   earlier, during scene building. This simplifies the code and
   allows better detection of redundant stacking contexts.
 * Centralize the code for pushing batch instances into a small
   number of places. This will simplify the switch to adding
   a single primitive to multiple batch lists, in the case of
   dirty regions with different batchers.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 14:57:10 +00:00
Emilio Cobos Álvarez 649de5977c Bug 1549812 - ScrollFrameRectIntoView should handle the frame going away. r=mats
ScrollToShowRect already considers that possibility, so not doing it on the
caller is a bug.

Ideally scroll observers shouldn't be able to run script, more to that in a
second.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 16:33:26 +00:00
Brindusan Cristian 40a5b04ab5 Backed out 3 changesets (bug 1552708, bug 1552878) for build bustages and compiler issues. CLOSED TREE
Backed out changeset 9d4f178bfcbd (bug 1552878)
Backed out changeset 80db9f845237 (bug 1552708)
Backed out changeset 1bdbfbb5b342 (bug 1552708)
2019-05-27 17:00:03 +03:00
Miko Mynttinen 81f2affed9 Bug 1496491 - Check for modified ancestors when updating WeakFrameRegion r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D32487

--HG--
extra : moz-landing-system : lando
2019-05-26 22:25:12 +00:00
Emilio Cobos Álvarez a6bdf94e22 Bug 1552878 - Use cbindgen for filters. r=jwatt
Had to implement some OwnedSlice bits that the canvas code used.

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

--HG--
extra : moz-landing-system : lando
2019-05-27 12:37:37 +00:00
Emilio Cobos Álvarez f2190857bb Bug 1552708 - Use cbindgen for URIs. r=heycam
This doesn't clean up as much as a whole, but it's a step in the right
direction. In particular, it allows us to start using simple bindings for:

 * Filters
 * Shapes and images, almost. Need to:
   * Get rid of the complex -moz- gradient parsing (let
     layout.css.simple-moz-gradient.enabled get to release).
 * Counters, almost. Need to:
   * Share the Attr representation with Gecko, by not using Option<>.
     * Just another variant should be enough (ContentItem::{Attr,Prefixedattr},
       maybe).

Which in turn allows us to remove a whole lot of bindings in followups to this.

The setup changes a bit. This also removes the double pointer I complained about
while reviewing the shared UA sheet patches. The old setup is:

```
SpecifiedUrl
 * CssUrl
   * Arc<CssUrlData>
     * String
     * UrlExtraData
 * UrlValueSource
   * Arc<CssUrlData>
   * load id
   * resolved uri
   * CORS mode.
   * ...
```

The new one removes the double reference to the url data via URLValue, and looks
like:

```
SpecifiedUrl
 * CssUrl
   * Arc<CssUrlData>
     * String
     * UrlExtraData
     * CorsMode
     * LoadData
       * load id
       * resolved URI
```

The LoadData is the only mutable bit that C++ can change, and is not used from
Rust. Ideally, in the future, we could just use rust-url to resolve the URL
after parsing or something, and make it all immutable. Maybe.

I've verified that this approach still works with the UA sheet patches (via the
LoadDataSource::Lazy).

The reordering of mWillChange is to avoid nsStyleDisplay from going over the
size limit. We want to split it up anyway in bug 1552587, but mBinding gains a
tag member, which means that we were having a bit of extra padding.

One thing I want to explore is to see if we can abuse rustc's non-zero
optimizations to predict the layout from C++, but that's something to explore at
some other point in time and with a lot of care and help from Michael (who sits
next to me and works on rustc ;)).

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

--HG--
extra : moz-landing-system : lando
2019-05-27 11:45:12 +00:00
Emilio Cobos Álvarez 998419a429 Bug 1554433 - Hide -moz-gtk-buttonactivetext from content. r=stransky
This prevents exposing the value to web content.

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

--HG--
extra : moz-landing-system : lando
2019-05-27 11:25:02 +00:00
Cameron McCormack e82b3826f9 Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D32100
2019-05-22 15:18:48 +10:00
Cosmin Sabou c1685882cc Merge mozilla-central to mozilla-inbound. 2019-05-24 12:56:42 +03:00
Ciure Andrei 1f4007dfc0 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-05-24 01:38:06 +03:00
Mats Palmgren e38772d545 Bug 1553824 - [css-grid-2] Invalidate any stored used track sizes on subgrids too. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D32372

--HG--
extra : amend_source : a4f1ebc717a5b9205e89a5b3651e956d33958089
2019-05-23 21:11:48 +02:00
Daniel Varga 2056f57259 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-05-23 19:03:36 +03:00
Jonathan Watt cb54619aa0 Bug 1553324. Remove nsIPrintSettings.printFrameTypeUsage. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D32068

--HG--
extra : rebase_source : 939cce38c90a39bd002f95e71e1de94a62f895e1
extra : amend_source : 1be783028096f61145727492fa3c3f41e363c205
2019-05-13 16:30:20 +01:00
Jonathan Watt c1abf2081c Bug 1553318. Remove nsIPrintSettings.kRangeFocus. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D32064

--HG--
extra : rebase_source : 396f01bc0f4401bdb6cdc094890751d4f0cbf45c
extra : amend_source : 5cd92d2a76b7053861f8af9e6d65ab2feb6cc1c0
2019-05-13 14:52:25 +01:00
Jonathan Watt d2aa925402 Bug 1550531. Fix -moz-element memory leak and related shutdown hangs. r=emilio
--HG--
extra : rebase_source : 84d57ea5ee2cb4c7e74305aea50aa641168d11b3
extra : amend_source : f97e0207157eaf6662c421ad32a0f846d2eeb178
2019-05-22 20:14:47 +01:00
Cosmin Sabou 12b64c4e93 Merge mozilla-central to inbound.
--HG--
extra : amend_source : 55eacae86aadd789db07df60f5783c3dc5a040e9
2019-06-03 19:32:32 +03:00
Mats Palmgren 0ba61eca7b Bug 1552357 - Improve intrinsic sizing of inlines. r=jfkthame
This is primarily to fix sizing of 'box-decoration-break:clone' inlines,
but also some 'slice' edge cases by recognizing more break opportunities,
and to improve sizing when BIDI-continuations are involved.

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

--HG--
extra : rebase_source : 45a76e55e3eb5ac41fd60b11eb2acce24c6a1dd1
extra : amend_source : d8980854573522ddf761f0cf036aaa4ee0d96cac
2019-05-29 01:25:12 +02:00
shindli bdf94edb89 Merge inbound to mozilla-central. a=merge 2019-05-22 18:26:18 +03:00
Emilio Cobos Álvarez 7874fd4a2d Bug 1552636 - Remove eStyleImageType_URL. r=TYLin
It was introduced in bug 1352096 to reduce complexity with Stylo (apparently).

Right now it doesn't look like it reduces any complexity, and it's a bit
annoying with some of the patches that I'm writing at the moment.

So unless there's any objection I think it should go away.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 11:34:23 +00:00
Jonathan Kew 5ee1a7fd40 Bug 1418472 - Flush line-breaks when encountering a Placeholder for an absolutely-positioned frame. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32023

--HG--
extra : moz-landing-system : lando
2019-05-22 11:33:21 +00:00
Noemi Erli 98ff24cc58 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-22 06:45:38 +03:00
Christoph Kerschbaumer b633427366 Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D27654

--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:27 +00:00
Emilio Cobos Álvarez ca59532ce8 Bug 1553227 - Remove old CSS scroll snap implementation. r=hiro
This will save us some time from figuring out what's the best thing to do in
bug 1552587, so that other patches I have in flight (mainly bug 1552708) can
land, since we cannot add a single byte to nsStyleDisplay right now otherwise.

The code removed here is well isolated and not that complicated, so it seems to
me that should be easy to bring back should we have an emergency (and I commit
to doing that while preserving the nsStyleDisplay size limit if we need to :)).

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

--HG--
extra : moz-landing-system : lando
2019-05-21 22:51:54 +00:00
Emilio Cobos Álvarez 9839cdb574 Bug 1546255 - When an @import stylesheet is cloned, we should also make sure to restyle. r=heycam
We need to notify the whole parent chain (using NOTIFY) rather than just
mStyleSets, since mStyleSets is empty for @import-ed sheets.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 06:01:51 +00:00
Mats Palmgren 29ee64cea5 Bug 1547560 - [css-grid-2] Add subgrid gaps to its items contributions in track sizing and recompute the subgrid tracks size/position to center the subgrid gaps. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D31630

--HG--
extra : rebase_source : 5357831ac1395ae8f8f9252bb5a75b4c08eab25d
2019-05-17 16:50:42 +02:00
Cosmin Sabou ce81aa750c Backed out 7 changesets (bug 1519577) for mochitest failures. CLOSED TREE
Backed out changeset 5192370c4f79 (bug 1519577)
Backed out changeset 2999bbc0422b (bug 1519577)
Backed out changeset bcedf1e9b09c (bug 1519577)
Backed out changeset 293af339be51 (bug 1519577)
Backed out changeset 9f311461ad1e (bug 1519577)
Backed out changeset cf4e91d423b4 (bug 1519577)
Backed out changeset 4f53ad1e3674 (bug 1519577)
2019-05-22 02:20:08 +03:00
Boris Chiou 9c6dd560e5 Bug 1552911 - Drop the constructor of ResizeObserverEntry. r=dholbert,smaug
There is a spec issue about should we expose this API:
https://github.com/w3c/csswg-drafts/issues/3946

It's no clear that should we really need this API, so let's match
Chromium for now.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 18:17:16 +00:00
Emilio Cobos Álvarez 8f8161be87 Bug 1553245 - Use cbindgen for border-image-width. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D32032

--HG--
extra : moz-landing-system : lando
2019-05-21 21:07:55 +00:00
Andrew Swan cf3c87c462 Bug 1519577 Remove support for unused toolbarbutton anchor attribute r=NeilDeakin
This code contains an undesirable dependency between the layout code and
the implementation of toolbarbutton.  Since it isn't actually used anywhere
by the firefox UI, remove it here.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 19:26:25 +00:00
Emilio Cobos Álvarez 78aebf4d00 Bug 1552719 - Bump an assertion count in the XBL + lists test, since we run the code that asserts more often now. r=bustage
CLOSED TREE
2019-05-21 20:42:58 +02:00
Emilio Cobos Álvarez 6759592377 Bug 1552719 - Make nsBulletFrame::Ordinal() O(1) again. r=mats
I did this instead of just (ab)using the fact that every list item has at least
one counter-increment node because:

 * I don't have the bullet frame around by the time we initially compute the
   counter increment, which means that I'd need to grow nsBlockFrame / add a
   frame property for the list item ordinal, which I think would be unfortunate.

 * It feels more consistent with the way regular CSS counters work and with the
   way we want ::marker to eventually work.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 17:30:42 +00:00
Emilio Cobos Álvarez 07adac9c29 Bug 1552719 - Make nsGenConList::NodeAfter handle correctly nested pseudo-elements. r=mats
When you have a ::after::marker, and you compare one against the other we ended
up with the wrong result because of the pseudotype stuff.

I think this is cleaner now that DoCompareTreePosition handles pseudos properly
(which is really the thing this was working around).

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

--HG--
extra : moz-landing-system : lando
2019-05-21 17:29:26 +00:00
Emilio Cobos Álvarez f6e2bfc64b Bug 1552719 - Make nsLayoutUtils::DoCompareTreePosition handle pseudos more diligently. r=mats
I'm going to need it to fix the counters code in presence of nested
pseudo-elements.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 17:29:17 +00:00
Emilio Cobos Álvarez 2917763ba5 Bug 1552719 - Do some cleanup in the counter initializer code. r=mats
I thought I was going to need it but turns out I don't. Still this is worth it I
think.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 17:29:06 +00:00
Razvan Maries 366383f783 Merge mozilla-inbound to mozilla-central a=merge 2019-05-21 19:29:01 +03:00
Miko Mynttinen a89d7cedff Bug 1552789 - Check NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO flag for every line r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D31865

--HG--
extra : moz-landing-system : lando
2019-05-20 22:54:18 +00:00
Razvan Maries fa4ff6f653 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-05-21 12:37:53 +03:00
Daniel Varga f7e7132f8f Merge mozilla-central to mozilla-inbound 2019-05-21 07:22:34 +03:00
Daniel Varga 9c4661a44f Merge mozilla-central to mozilla-inbound. a=merge 2019-05-21 01:00:21 +03:00
Bogdan Tara 6150afdc54 Backed out 2 changesets (bug 1359240) for gfxSVGGlyphs.cpp bustages CLOSED TREE
Backed out changeset 02eea6ec83db (bug 1359240)
Backed out changeset a31ec848a1ef (bug 1359240)
2019-05-20 15:21:39 +03:00
Matt Woodrow 42c9b79f0b Bug 1544995 - Always update overflow areas up to the preserve-3d root. r=dbaron
We don't store post-transform overflow areas for frames within preserve-3d, but we do store pre-transform overflow areas.
Rather than just recomputing the changed overflow for the root, we should recompute overflows for all ancestors up to the 3d root.

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

--HG--
extra : moz-landing-system : lando
2019-05-19 22:39:58 +00:00
Matt Woodrow 90ea5fbc78 Bug 1551389 - Compare line pointers directly, since we're ok with it failing if the lines are in different lists. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D31152

--HG--
extra : moz-landing-system : lando
2019-05-19 21:56:21 +00:00
violet f30d87431e Bug 1383650 - Add reftest for rect, circle, ellipse and foreignObject r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D30807

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:22 +00:00
violet 4cb90f9c62 Bug 1383650 - Use CSS to layout foreignObject r=longsonr
Should also update layout code for foreignObject to use CSS geometry property.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:22 +00:00
violet 8ebdbe5a90 Bug 1383650 - Notify style system when SMIL animation changes length r=birtles,longsonr
When animating geometry attribute, we need to notify style system about the change of SMIL override style.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:20 +00:00
violet cadaa5cf8e Bug 1383650 - Invalidate path cache when geometry changed via CSS r=longsonr
We cached the path of an element. Previously we only need to invalidate
the cached path if an geometry attribute is changed. Now we also need
to invalidate if the corresponding CSS is changed.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:20 +00:00
violet 30fa1da169 Bug 1383650 - Add SVG geometry property support in CSS r=emilio
This patch adds SVG geometry properties to CSS, it doesn't deal with
how SVG handles them.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:19 +00:00
Jonathan Kew adff1a5b06 Bug 1359240 - Reftest for SVG-in-OT font using gzip-compressed SVG glyph documents. r=jrmuizel
Depends on D31107

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

--HG--
extra : moz-landing-system : lando
2019-05-15 21:25:54 +00:00
Emilio Cobos Álvarez f041512168 Bug 1492739 - Unprefix usage of -moz-user-select from UA stylesheets. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D31154

--HG--
extra : moz-landing-system : lando
2019-05-17 13:16:35 +00:00
Emilio Cobos Álvarez c1954c0d3a Bug 1492739 - Unprefix user-select. r=mats
The CSSWG decided that our behavior regarding inheritance is what we want,
see [1].

[1]: https://github.com/w3c/csswg-drafts/issues/3344

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

--HG--
extra : moz-landing-system : lando
2019-05-17 02:43:59 +00:00
Brian Birtles 65f06d35fe Bug 1253476 - Implement Animation.commitStyles; r=boris,emilio,bzbarsky,smaug
Differential Revision: https://phabricator.services.mozilla.com/D30327

--HG--
extra : moz-landing-system : lando
2019-05-20 06:04:23 +00:00
Brian Birtles 050372ea8e Bug 1253476 - Don't composite removed animations; r=boris
Differential Revision: https://phabricator.services.mozilla.com/D30324

--HG--
extra : moz-landing-system : lando
2019-05-20 05:55:52 +00:00
Brian Birtles 5b145a6de4 Bug 1253476 - Add remove events; r=boris,bzbarsky
This patch introduces the machinery for dispatching remove events but does not
actually cause removing to do anything to the output of the animation beyond
updating its replaceState member.

The expected behavior is defined in:

  https://drafts.csswg.org/web-animations-1/#removing-replaced-animations

And the corresponding IDL members are defined in:

  https://drafts.csswg.org/web-animations-1/#animation
  https://drafts.csswg.org/web-animations-1/#enumdef-animationreplacestate

Tests for these events are added in the next patch in this series.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 05:48:29 +00:00
Brian Birtles 25c05a66db Bug 1253476 - Run microtask checkpoint for updating timing after updating all timelines; r=hiro
According to the procedure to update animations and send events[1] the UA should
update all timelines first and _then_ run a microtask checkpoint.

As a result, when we run callbacks for the finished promise on an Animation they
should see the fully up-to-date state of all animations, regardless of which
timeline they are attached to.

However, that is currently not the case since we run a microtask checkpoint
after updating each individual timeline.

This difference will become more significant later in this patch series when we
introduce another step--removing replaced animations--that _also_ should happen
before we run the microtask checkpoint (so that the promise callbacks always see
a fully-up-to-date state).

This patch makes our handling a little more in line with the spec. It's not
quite the same because it's possible there may be other refresh driver observers
that trigger a microtask checkpoint in between ticking the different timelines
but that case is expected to be rare and fixing it would require maintaining
a separate queue for timeline observers that we run after all other observers--
so it is probably not necessary to fix that case at this stage.

The test added in this patch fails without the code changes in this patch.

[1] https://drafts.csswg.org/web-animations-1/#update-animations-and-send-events

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

--HG--
extra : moz-landing-system : lando
2019-05-20 05:22:03 +00:00
Boris Chiou 6f268e4980 Bug 1429299 - Part 4: Make offset-distance animatable. r=hiro
Use ComputedValue to animate offset-distance.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:56 +00:00
Boris Chiou 1842658992 Bug 1429299 - Part 3: Layout update for offset-distance. r=birtles
Just need to take offset-distance into account to get the final matrix.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:54 +00:00
Boris Chiou ce15d305e2 Bug 1429299 - Part 2: Implement offset-distance. r=emilio
Define the offset-distance property in style system.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:52 +00:00
Boris Chiou 718aaf17f9 Bug 1429299 - Part 1: Unpack StyleMotion and use cbindgen for OffsetPath. r=emilio
Unpack StyleMotion and move its members into nsStyleDisplay, use
cbindgen to generate StyleOffsetPath.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:50 +00:00
Boris Chiou d51a3cc85c Bug 1429299 - Reorder nsStyleDisplay members to minimize padding. r=emilio
In order to use cbindgen for offset-path and add offset-distance in the
following patches, we need to repack nsStyleDisplay to make sure
nsStyleDisplay doesn't exceeds 512 bytes. (Actually, we still use 504
bytes after applying the following patch series.)

Note:
1. Use cbindgen for offset-path (i.e. StyleOffsetPath): the size becomes
   16 bytes. (The original size of UniquePtr<...> is 8 bytes.)
2. Add offset-distance: the size of LengthPercentage is 12 bytes.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:40 +00:00
Matt Woodrow cb6ab5e32f Bug 1528957 - Use the frame's rect to advance nsTableRowGroupFrame's cursor, since that's what the max overflow values are computed relative to. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D29448

--HG--
extra : moz-landing-system : lando
2019-05-20 23:17:12 +00:00
Matt Woodrow 17a9052fe9 Bug 1409114 - Part 11: Create an AutoBuildingDisplayList when we create background items for table columns and column groups, so that we initialize the invalidation state correctly. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D31563

--HG--
extra : moz-landing-system : lando
2019-05-20 23:16:59 +00:00
Matt Woodrow dfc3175e1c Bug 1409114 - Part 10: Make sure we build display items for table parts where only the normal position is visible, since we may need to create background items for ancestors at that position. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D29447

--HG--
extra : moz-landing-system : lando
2019-05-20 23:16:39 +00:00
Matt Woodrow 0b73d82714 Bug 1409114 - Part 9: Used cached values instead of calling nsDisplayListBuilder::ToReferenceFrame when possible, since it can be expensive when the requested frame isn't the builder's current frame. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D29281

--HG--
extra : moz-landing-system : lando
2019-05-20 23:16:22 +00:00
Matt Woodrow 9f39c7b608 Bug 1409114 - Part 8: Create column and column group background display items as part of the cell's BuildDisplayList. r=dbaron
This is the main performance improvement, and means that we no longer have to iterate all the cells for each column.

It has a couple of behaviour changes:

The first is that we no longer apply stacking context effects (like opacity) to column and column group backgrounds.
I believe this is correct as per both CSS2.1 Appendix E, and css-tables-3 (quoted in nsTableColFrame::BuildDisplayList).
This matches the behaviour of blink and WebKit.

We also previously created items in column,row ordering, whereas now they will be in row,column. In cases where two cells
overlap (using rowspan and colspan to extend multiple neighbours in to the same place) this can render backgrounds in a
different order, but the new behaviour matches blink and WebKit.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:16:09 +00:00
Matt Woodrow 1f9adb1ed4 Bug 1409114 - Part 7: Pass rects in display list coordinates to AppendBackgroundItemsToTop. r=miko
This helps for the next patch, since some of the table backgrounds items want to compute this without position:relative taken into account.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:15:54 +00:00
Matt Woodrow 8bf47621c6 Bug 1409114 - Part 6: Store column and column group backgrounds separately, and then append then before the rest of the table contents. r=dbaron
This also changes behaviour a bit, previously we interleaved column and column group backgrounds. where we now put all the column group backgrounds behind all columns.
I believe this is the correct ordering as per CSS2.2 Appendix E.

Column backgrounds can overlap when using 'span', and we now render this in a different order, but this matches what other browsers do.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:15:39 +00:00
Matt Woodrow 1d7c011e9b Bug 1409114 - Part 5: Skip box-shadow for table column and column groups. r=dbaron
This is a behaviour change, but I believe it matches the quoted spec text, and neither blink nor WebKit render these.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:15:19 +00:00
Matt Woodrow d45480f672 Bug 1409114 - Part 4: Hoist outline skipping into col(group) frame code. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D29275

--HG--
extra : moz-landing-system : lando
2019-05-20 23:14:59 +00:00
Matt Woodrow 7ddcc024a6 Bug 1409114 - Part 3: Add helpers for box shadow creation. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D29274

--HG--
extra : moz-landing-system : lando
2019-05-20 23:14:52 +00:00
Matt Woodrow 1b955945aa Bug 1409114 - Part 2: Get rid of generic table painting code, and handle each class separately. r=dbaron
Most of the code in DisplayGenericTablePart was all within a per-class if statement, so it doesn't add much value, and makes the control flow harder to understand.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:14:45 +00:00
Matt Woodrow a40b05d67d Bug 1409114 - Part 1: Remove current table item, as it's never set. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D29272

--HG--
extra : moz-landing-system : lando
2019-05-20 23:14:40 +00:00
Sean Feng 170e44e58f Bug 1534012 - Use a low priority ThrottledEventQueue for postMessages during page load r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D27386

--HG--
extra : moz-landing-system : lando
2019-05-16 19:35:30 +00:00
Jonathan Kew e0b346b916 Bug 1359240 - Reftest for SVG-in-OT font using gzip-compressed SVG glyph documents. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31108

--HG--
extra : moz-landing-system : lando
2019-05-20 21:01:28 +00:00
Jonathan Kew 9ac5b6c1af Bug 1011369 - Pass word-break and line-break properties to the line-breaker as two distinct enum class parameters. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D30786

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:35 +00:00
Jonathan Kew 837368bc29 Bug 1011369 - Add parsing of the loose|normal|strict values of the CSS line-break property. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D30785

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:28 +00:00
Jonathan Kew eb2e0187f1 Bug 1531715 - Implement the CSS line-break property, with values "auto | anywhere". r=emilio
Note that the "loose | normal | strict" values are not yet parsed/implemented.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:07 +00:00
Daniel Holbert eef685d1fd Bug 1550535: Mark outer svg frames as reflow roots. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D30671

--HG--
extra : moz-landing-system : lando
2019-05-15 04:04:38 +00:00
Brendan Dahl 543c10a1d2 Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31295

--HG--
extra : moz-landing-system : lando
2019-05-20 16:50:28 +00:00
Jonathan Watt ab59fdb945 Bug 1552880 p2. Document nsPritJob's Initialize, Print and PrintPreview and rename their document params. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31812

--HG--
extra : rebase_source : efec6fb9c74212ff615510ec743870bed2e03f38
extra : amend_source : 61944f4a34d531a333f77403ed7e9ea23e0e0d24
extra : source : c5ee693121dd2e614dd801f6301d8da5b3f43935
2019-05-09 23:26:59 +01:00
Jonathan Watt 21321fb45e Bug 1552880 p1. Pass a document to nsPrintJob::PrintPreview instead of a window. r=bobowen
This stops nsPrintJob::PrintPreview from duplicating work done in
nsDocumentViewer::PrintPreview.

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

--HG--
extra : rebase_source : 062cbac323a2a1a0bcc85039b3671c650c408efa
extra : amend_source : 39d5b8c316f518aa72d560ae4eeec171561ab8fd
2019-05-09 10:40:12 +01:00
Gurzau Raul e0cadccc1d Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-20 16:49:58 +03:00
Jonathan Watt 9398841338 Bug 1552711. Use 'DocShell' instead of 'Container' in nsPrintJob. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31743

--HG--
extra : rebase_source : 5fb2126e8b1e7dca96e5879c0861ce5182c44952
2019-05-08 14:54:26 +01:00
violet 94b46be68b Bug 1520020 - Accept empty argument for some filters r=emilio
Filters blur(), invert(), etc. can omit argument.

Computed/specified style serialization is a little tricky w.r.t the shortest
serialization principle. Ideally we should serialize `invert(1)` to `invert()`,
but that will be a breaking change, so we always serialize them with an
argument.

Note, Blink/WetKit treat specified (but not computed) style serialization
differently when the specified one is originally without argument. Our
current behavior is the same as pre-Chromium Edge.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 07:01:29 +00:00
Emilio Cobos Álvarez f4c39907e0 Bug 1552628 - Remove some more dead nsCSSValue code. r=xidorn
Most of it is not used at this point, this leaves the parts that are used by
MathML, which are minimal.

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

--HG--
extra : moz-landing-system : lando
2019-05-19 00:47:18 +00:00
Hiroyuki Ikezoe ba8e59a283 Bug 1552089 - Don't tweak snapport position even in the case of RTL scroll containers. r=botond
In RTL scroll containers, the right most x-axis scroll position is 0 and
leftward scroll positions are negative values.  And also
nsLayoutUtils::TransformFrameRectToAncestor, which is used to tell whether the
snap target element is inside the destination snapport or not [1], returns
negative x-axis positions for elements in RTL scroll containers if the element
is positioned at places where the elements are outside of the initial scroll
position (0, 0).  So we don't need to tweak snapport postion even in the case
of RTL scroll containers.

Instead, what we needed in the first place is that we choose a proper x-axis
scroll position that the targe element appears inside the snapport.

[1] https://searchfox.org/mozilla-central/rev/11cfa0462a6b5d8c5e2111b8cfddcf78098f0141/layout/generic/nsGfxScrollFrame.cpp#6604-6605,6616-6617

Depends on D31409

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

--HG--
extra : moz-landing-system : lando
2019-05-17 20:36:57 +00:00
Hiroyuki Ikezoe f2920c13d8 Bug 1551806 - Don't try to snap if there is no valid snap positions for the scroll-snap v1 implementation. r=botond
From the spec [1];
  If a valid snap position exists then the scroll container must snap at the
  termination of a scroll (if none exist then no snapping occurs).


Both of test cases in this commit fail without this change.

[1] https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-mandatory

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

--HG--
extra : moz-landing-system : lando
2019-05-17 20:50:24 +00:00
Miko Mynttinen 049dbbcc2c Bug 1529698 - Part 4: Add nsDisplayContainer r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D30840

--HG--
extra : moz-landing-system : lando
2019-05-18 20:11:42 +00:00
Miko Mynttinen af124f7ea0 Bug 1529698 - Part 3: Move DisplayItemData to nsPaintedDisplayItem r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D30839

--HG--
extra : moz-landing-system : lando
2019-05-18 20:11:27 +00:00
Miko Mynttinen 454b6b9b8c Bug 1529698 - Part 2: Move BuildLayer() to nsPaintedDisplayItem r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D30838

--HG--
extra : moz-landing-system : lando
2019-05-18 20:11:18 +00:00
Miko Mynttinen 64dfef85ac Bug 1529698 - Part 1: Make LayerState enum class r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D30837

--HG--
extra : moz-landing-system : lando
2019-05-18 20:11:11 +00:00
Dorel Luca 60706fc799 Merge mozilla-inbound to mozilla-central. a=merge 2019-05-18 13:25:28 +03:00
Kartikaya Gupta e089e9f404 Bug 1550510 - Stop hoisting scrollinfo items inside filters when WR is enabled. r=botond
In bug 1527182 we made it so that APZ can directly drag-scroll scrollframes
that are inside SVG effects, because that's possible with WR on the compositor.
However the code changed in that bug was meant to be kept in sync with
a second piece of code. The second piece of code controls the generation
of ScrollInfo items for scrollframes inside SVG effects - since we can
APZ-scroll them with WR, we don't need the scrollinfo item anymore.
Producing the scrollinfo item was changing the structure of the APZ tree
in terms of where the transform ended up, and was causing badness with
untransforming the drag mouse events.

This patch adds a test that covers the scenario and also corrects the defect
by bringing the two bits of code back in sync.

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

--HG--
extra : moz-landing-system : lando
2019-05-18 00:17:50 +00:00
Emilio Cobos Álvarez cdc584619e Bug 1552344 - Add a test that tests computed style diffing using the property database. r=jwatt
Depends on D31569

Differential Revision: https://phabricator.services.mozilla.com/D31570
2019-05-17 20:36:49 +02:00
Emilio Cobos Álvarez c9ac5a72e1 Bug 1552344 - Diff overflow-anchor values. r=jwatt
Even if we do nothing, we need to know if the value actually changed to see if
we need to propagate it to descendants that explicitly inherit it.

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

Depends on D31568
2019-05-17 20:36:47 +02:00
Emilio Cobos Álvarez 26c5dfdd18 Bug 1552344 - Fix image layer diffing. r=jwatt
It was missing the cases where you changed values, but not count, and the image
was not visible, like:

  mask-image: none;
  mask-mode: match-source, match-source;

Then change mask-mode to `match-source, alpha`, for example.

Differential Revision: https://phabricator.services.mozilla.com//D31568
2019-05-17 20:36:45 +02:00
Mihai Alexandru Michis d0cbcbfaf1 Backed out 2 changesets (bug 1359240) for causing reftest failures. CLOSED TREE
Backed out changeset 10cac54d1bb9 (bug 1359240)
Backed out changeset 50ef8f8c6558 (bug 1359240)
2019-05-20 18:31:21 +03:00
Jonathan Kew 0ac415c764 Bug 1359240 - Reftest for SVG-in-OT font using gzip-compressed SVG glyph documents. r=jrmuizel
Depends on D31107

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

--HG--
extra : moz-landing-system : lando
2019-05-20 12:25:07 +00:00
Jonathan Kew 35bcd113af Bug 1509423 - Test/manifest updates to account for minor rendering differences between HarfBuzz and Core Text. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31095

--HG--
extra : moz-landing-system : lando
2019-05-20 14:29:35 +00:00
Mats Palmgren a697823fed Bug 1471758 - [css-grid-2][css-contain] Make 'contain:paint' and 'contain:layout' inhibit a grid container from being a subgrid. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D29793

--HG--
extra : rebase_source : 8a709b9a0c58fe0ff1f21e1da07905470810bedd
2019-05-03 05:35:18 +02:00
Mats Palmgren de3b35d86d Bug 1548421 - [css-grid-2] Ensure subgrids are never reflow roots. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D29609

--HG--
extra : rebase_source : 95e98daf2806f1bd77e61c2dffc22096577387f6
2019-05-02 03:37:51 +02:00
Mats Palmgren 7457010aa7 Bug 1466358 part 11 - [css-grid-2] Update the frame's subgrid state when the style changes. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D29578

--HG--
extra : rebase_source : 49ffcf3927761705680522750306fabfaa126cb9
2019-05-01 23:53:47 +02:00
Mirko Brodesser 0c5556605c Bug 1552490: rename `nsCopySupport::HTMLCopy`, change `nsDocumentEncoder::IsVisible`, add unit to buffer size name. r=hsivonen
Because it states more clearly what the functions and the constant are
about.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 07:43:43 +00:00
Mats Palmgren 398d7b6736 Bug 1325798 - Add fuzzy factor for anti-aliasing pixels in scrollbar redendering. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D31661

--HG--
extra : rebase_source : 95f5081440679dbfc9b37e99990980978c73e1e4
2019-05-17 20:05:28 +02:00
Jonathan Watt 369d066b0e Bug 1552478. Stop printpreview_bug396024_helper.xul creating a print preview viewer in a normal document window. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31613

--HG--
extra : rebase_source : 5c3d6ca99d38dd9e827c71cb18a8c0f31be883b5
2019-05-07 23:58:30 +01:00
Jonathan Watt f3060a6671 Bug 1552449. Make the nsIDocShell interface to print preview less susceptible to inadvertent misuse. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31598

--HG--
extra : rebase_source : 843908736fcaaab29bd16033d1c077850423521a
2019-05-07 14:12:44 +01:00
Mihai Alexandru Michis 4916ef8c09 Merge mozilla-central to autoland. CLOSED TREE 2019-05-17 12:36:07 +03:00
Matt Woodrow cba8f8f353 Bug 1551061 - Enable test for bug 1551053 with retained display lists. r=test-only
--HG--
extra : amend_source : d78814d86150ebe9097a5a18209a749c2561bedd
2019-05-17 14:33:10 +12:00
Emilio Cobos Álvarez 659be28594 Bug 1551991 - followup: Give up on passing CounterSpeakAs by value since the previous patch busted non-Windows platforms.
CLOSED TREE
2019-05-17 07:01:26 +02:00
Timothy Nikkel d205113458 Bug 1552104. Need to clear display items when we remove a document from the view tree but it sticks around. r=mattwoodrow
This happens in one test on try server that has some iframes that navigate.

I audited everywhere else that we change the view tree, this seems like the only place it can happen.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 21:14:19 +00:00
Timothy Nikkel d87fc8f78d Bug 1552104. Ensure that nsDisplaySubDocument::Disown calls SetDeletedFrame when it clears mFrame. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D31541

--HG--
extra : moz-landing-system : lando
2019-05-17 04:44:56 +00:00
Cameron McCormack 00bc6ad52c Bug 1552098 - Add "Matched CSS Rules" command to the layout debugger. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D31397

--HG--
extra : moz-landing-system : lando
2019-05-16 23:11:50 +00:00
Emilio Cobos Álvarez 98282c37a5 Bug 1551991 - Remove nsCSSValue bindings. r=jwatt
Depends on D31320

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:06:17 +00:00
Emilio Cobos Álvarez 90292a352d Bug 1551991 - Remove usage of nsCSSValue for SpeakAs. r=jwatt
Depends on D31319

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:06:06 +00:00
Emilio Cobos Álvarez 80c89fdda8 Bug 1551991 - Remove nsCSSValue usage of GetSymbols() GetAdditiveSymbols(). r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D31319

--HG--
extra : moz-landing-system : lando
2019-05-16 23:05:54 +00:00
Emilio Cobos Álvarez 88428d31cd Bug 1551991 - Remove nsCSSValue usage for range checks in CounterStyleRule. r=jwatt
Depends on D31317

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:05:38 +00:00
Emilio Cobos Álvarez 7e0fc30e7d Bug 1551991 - Remove nsCSSValue usage for negative / suffix / prefix. r=jwatt
Depends on D31316

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:05:25 +00:00
Emilio Cobos Álvarez 854582f70f Bug 1551991 - Remove nsCSSValue usage from GetPad. r=jwatt
Depends on D31315

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:05:10 +00:00
Emilio Cobos Álvarez 3cf1978b6b Bug 1551991 - Remove legacy transform interpolation code and related dead code. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D31314

--HG--
extra : moz-landing-system : lando
2019-05-16 23:25:10 +00:00
Emilio Cobos Álvarez 835de4b08d Bug 1529002 - Use cbindgen to back CSS transforms. r=boris
This avoids the expensive conversion, and cleans up a bunch.

Further cleanup is possible, just not done yet to avoid growing the patch even
more.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:25:10 +00:00
Emilio Cobos Álvarez 0b89333979 Bug 1550554 - Use OwnedSlice for will-change. r=heycam
We could use ArcSlice if wanted I guess, your call. Though will change is not
supposed to be used very frequently.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:23:28 +00:00
Emilio Cobos Álvarez 987519e4da Bug 1550554 - Add bindings for box shadows, and remove nsCSSShadowArray and friends. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D30547

--HG--
extra : moz-landing-system : lando
2019-05-16 23:04:32 +00:00
Emilio Cobos Álvarez a4ef6a3540 Bug 1550554 - Use ArcSlice for quotes. r=heycam
This saves the intermediate allocation.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:04:31 +00:00
Emilio Cobos Álvarez 5859e667fb Bug 1550554 - Share computed and specified value representation of -moz-context-properties. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D30545

--HG--
extra : moz-landing-system : lando
2019-05-16 23:03:29 +00:00
Emilio Cobos Álvarez 9ed0e9ec6e Bug 1550554 - Implement ArcSlice::default(). r=heycam
Share a singleton to avoid allocating for empty lists.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:22:04 +00:00
Miko Mynttinen 752b633888 Bug 1551986 - Do not create unnecessary items inside opacity: 0 containers r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D31311

--HG--
extra : moz-landing-system : lando
2019-05-16 21:13:49 +00:00
Csoregi Natalia 60874606d0 Merge mozilla-central to autoland. CLOSED TREE 2019-05-17 00:58:59 +03:00
Jonas Allmann 50275c5d2b Bug 1549326 - Remove simpletest.js from eval()-whitelist, r=ckerschb
Amend several test files for triggering eval() assertion through simpletest.js

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:44:36 +00:00
Oana Pop Rus 67a95fdadf Backed out changeset 8a9694ac64f1 (bug 1551986) for crashtest failures on nsDisplayList.h CLOSED TREE 2019-05-16 22:06:34 +03:00
Doug Thayer 75bfa13a86 Bug 1547351 - Use offset relative to reference frame for nsDisplayRenderRoot r=mattwoodrow
Please advise if there is a better alternative. After ensuring that
extension popups are wired up to create an nsDisplayRenderRoot, the
bottom bit of the popup's content is cut off. This fixes that issue,
but I'm not certain if it is the most robust option.

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

--HG--
extra : moz-landing-system : lando
2019-05-14 22:43:40 +00:00
Miko Mynttinen 31779d885f Bug 1551986 - Do not create unnecessary items inside opacity: 0 containers r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D31311

--HG--
extra : moz-landing-system : lando
2019-05-16 17:23:45 +00:00
Jonathan Watt e065f6dbc5 Bug 1551946. Refactor nsPrintJob::CheckForPrinters. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31279

--HG--
extra : rebase_source : cd12b6e3d353af0f9055e40a3340345c78d5aa85
extra : amend_source : 347249be7c34f6b10599418d7c8931b8ed95560e
2019-05-02 15:56:29 +01:00
Jonathan Watt 49a88e527a Bug 1551950. Rename nsPrintJob::SetDocAndURLIntoProgress to SetURLAndTitleOnProgress. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31278

--HG--
extra : rebase_source : cf4b537af813d151f8a062efcf23dd4aec4ca2e8
extra : amend_source : 196fe41747f28b87ed5a17748caab94ef4c5df1c
2019-05-02 10:41:14 +01:00
Jonathan Watt 18dcb56a18 Bug 1552162. Fix unified build bustage in nsPrintObject.cpp. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D31446

--HG--
extra : rebase_source : b4ef894cfd919455788c82392d385a41b27c77be
extra : amend_source : d5c3542c4cb15185e65bf85872231a6e8e3055cd
2019-05-01 17:03:35 +01:00
Ciure Andrei 00a73f5055 Backed out 17 changesets (bug 1550554, bug 1549593, bug 1551991, bug 1529002) for failing multiple Android tests and Windows 2012 bustages CLOSED TREE
Backed out changeset 3bb3fafa62e2 (bug 1551991)
Backed out changeset e12a979de502 (bug 1551991)
Backed out changeset d81e4aa6bf0c (bug 1551991)
Backed out changeset c354e61f2a34 (bug 1551991)
Backed out changeset 37fd602bebc2 (bug 1551991)
Backed out changeset 6c1f00cc30ca (bug 1551991)
Backed out changeset 8a7a0329bdc3 (bug 1551991)
Backed out changeset 86159475ddd3 (bug 1551991)
Backed out changeset 35f91a9ea82a (bug 1529002)
Backed out changeset 6798155e71dc (bug 1529002)
Backed out changeset b90c2cf5b8c5 (bug 1550554)
Backed out changeset 882ab9868c95 (bug 1550554)
Backed out changeset b28a48e2ed21 (bug 1550554)
Backed out changeset 2c31fe18eefd (bug 1550554)
Backed out changeset 57f2362aa538 (bug 1550554)
Backed out changeset 45f171b26e95 (bug 1550554)
Backed out changeset 2e4b263c9410 (bug 1549593)
2019-05-16 13:17:10 +03:00
Ciure Andrei a57772d544 Backed out changeset e6913f1de086 (bug 1552104) for causing test_bug660404.html and test_bug590573.html to perma fail CLOSED TREE 2019-05-16 12:54:55 +03:00
Emilio Cobos Álvarez ccf63230f7 Bug 1551991 - Remove nsCSSValue bindings. r=jwatt
Depends on D31320

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

--HG--
extra : moz-landing-system : lando
2019-05-16 14:31:52 +00:00
Emilio Cobos Álvarez 5f06ce58b8 Bug 1551991 - Remove usage of nsCSSValue for SpeakAs. r=jwatt
Depends on D31319

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

--HG--
extra : moz-landing-system : lando
2019-05-16 14:31:50 +00:00
Emilio Cobos Álvarez 0bb1b519c6 Bug 1551991 - Remove nsCSSValue usage of GetSymbols() GetAdditiveSymbols(). r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D31319

--HG--
extra : moz-landing-system : lando
2019-05-16 14:31:42 +00:00
Emilio Cobos Álvarez a3587f05d7 Bug 1551991 - Remove nsCSSValue usage for range checks in CounterStyleRule. r=jwatt
Depends on D31317

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

--HG--
extra : moz-landing-system : lando
2019-05-16 14:31:34 +00:00
Emilio Cobos Álvarez f9dfb61dac Bug 1551991 - Remove nsCSSValue usage for negative / suffix / prefix. r=jwatt
Depends on D31316

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

--HG--
extra : moz-landing-system : lando
2019-05-16 14:31:22 +00:00
Emilio Cobos Álvarez 9968de9376 Bug 1551991 - Remove nsCSSValue usage from GetPad. r=jwatt
Depends on D31315

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

--HG--
extra : moz-landing-system : lando
2019-05-16 14:31:15 +00:00
Emilio Cobos Álvarez b3ab8eea9b Bug 1551991 - Remove legacy transform interpolation code and related dead code. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D31314

--HG--
extra : moz-landing-system : lando
2019-05-16 03:13:26 +00:00
Emilio Cobos Álvarez 5804e8efae Bug 1529002 - Use cbindgen to back CSS transforms. r=boris
This avoids the expensive conversion, and cleans up a bunch.

Further cleanup is possible, just not done yet to avoid growing the patch even
more.

Differential Revision: https://phabricator.services.mozilla.com/D30748
2019-05-16 16:24:38 +02:00
Emilio Cobos Álvarez 6634361c43 Bug 1550554 - Use OwnedSlice for will-change. r=heycam
We could use ArcSlice if wanted I guess, your call. Though will change is not
supposed to be used very frequently.

Differential Revision: https://phabricator.services.mozilla.com/D30548
2019-05-16 16:24:31 +02:00
Emilio Cobos Álvarez 0fe081bb39 Bug 1550554 - Add bindings for box shadows, and remove nsCSSShadowArray and friends. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D30547
2019-05-16 16:24:28 +02:00
Emilio Cobos Álvarez 49f795fd83 Bug 1550554 - Use ArcSlice for quotes. r=heycam
This saves the intermediate allocation.

Differential Revision: https://phabricator.services.mozilla.com/D30546
2019-05-16 16:24:24 +02:00
Emilio Cobos Álvarez 8c06775ab0 Bug 1550554 - Share computed and specified value representation of -moz-context-properties. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D30545
2019-05-16 16:24:20 +02:00
Timothy Nikkel 0e07abb5d9 Bug 1552104. Need to clear display items when we remove a document from the view tree but it sticks around. r=mattwoodrow
This happens in one test on try server that has some iframes that navigate.

I audited everywhere else that we change the view tree, this seems like the only place it can happen.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 09:39:03 +00:00
Coroiu Cristina b4731ed54d Backed out 12 changesets (bug 1383650) for landing in the soft-freeze period
Backed out changeset 4316d55f87be (bug 1383650)
Backed out changeset 0118148f1534 (bug 1383650)
Backed out changeset 447c9248342b (bug 1383650)
Backed out changeset 6730776560c0 (bug 1383650)
Backed out changeset a7b8e6460fb8 (bug 1383650)
Backed out changeset e864696f6cf8 (bug 1383650)
Backed out changeset 2b003d678c58 (bug 1383650)
Backed out changeset 7bc3bff991c4 (bug 1383650)
Backed out changeset f1f7b4ad9547 (bug 1383650)
Backed out changeset 18b030b31660 (bug 1383650)
Backed out changeset 70e74dd6b45d (bug 1383650)
Backed out changeset 55a283e793df (bug 1383650)
2019-05-16 04:47:58 +03:00
Boris Zbarsky f62f4b6026 Bug 1551652. Stop using [array] in nsILayoutHistoryState. r=heycam
I read through
<https://searchfox.org/mozilla-central/search?q=%5B%5EA-Za-z_%5D%5BGg%5DetKeys%5B%5EA-Za-z_%5D&case=true&regexp=true&path=>
and as far as I can tell the only JS consumer is SessionHistory.jsm, which was
not passing the optional "count" arg already.  There are no C++ consumers.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 00:36:41 +00:00
violet 91a6cb1a68 Bug 1383650 - Add reftest for rect, circle, ellipse and foreignObject r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D30807

--HG--
extra : moz-landing-system : lando
2019-05-16 00:55:53 +00:00
violet 504ea1b5aa Bug 1383650 - Use CSS to layout foreignObject r=longsonr
Should also update layout code for foreignObject to use CSS geometry property.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 00:55:25 +00:00
violet a5f610a05c Bug 1383650 - Notify style system when SMIL animation changes length r=birtles,longsonr
When animating geometry attribute, we need to notify style system about the change of SMIL override style.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 00:58:56 +00:00
violet 4e7e1be890 Bug 1383650 - Invalidate path cache when geometry changed via CSS r=longsonr
We cached the path of an element. Previously we only need to invalidate
the cached path if an geometry attribute is changed. Now we also need
to invalidate if the corresponding CSS is changed.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 00:50:15 +00:00
violet 2dad80d965 Bug 1383650 - Add SVG geometry property support in CSS r=emilio
This patch adds SVG geometry properties to CSS, it doesn't deal with
how SVG handles them.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 00:47:20 +00:00
Geoff Brown 0ede01a59a Bug 1552052 - Do not dump mochitest/reftest logcat for successful runs; r=bc
Logcat is available as a separate artifact anyway. This makes the test log
for successful runs much smaller: easier to read, cheaper to store.

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

--HG--
extra : moz-landing-system : lando
2019-05-15 22:48:26 +00:00
Hiroyuki Ikezoe eb76263d34 Bug 1551241 - Add a check for the case where the embedder element is nullptr. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D30982

--HG--
extra : moz-landing-system : lando
2019-05-15 10:55:34 +00:00
Emilio Cobos Álvarez 0869b9bd67 Bug 1550377 - Use ManuallyDrop for style structs. r=jwatt
We destroy them manually, so it's the right thing to do.

This allows us to not run destructors of any members of nsStyle*, which in turn allows us to:

 * Remove the hack that replaced all nsStrings for nsStringReprs.
 * Remove ns{,C}StringRepr (followup)
 * Add members with destructors to the style structs (you see where I'm going :)).

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

--HG--
extra : moz-landing-system : lando
2019-05-15 08:57:36 +00:00
Matt Woodrow 3e231add81 Bug 1549909 - Use display list building order for walking parents in AddFramesForContainingBlock. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D30453

--HG--
extra : moz-landing-system : lando
2019-05-15 03:33:26 +00:00
Narcis Beleuzu 94512af92c Backed out changeset 9d6897b968f6 (bug 1551389) for crashtest failures on 1551389-1.html 2019-05-15 06:15:35 +03:00
Brindusan Cristian b766f8ce38 Backed out changeset 2d0e8bded97a (bug 1550377) for build bustages on `self.gecko`. CLOSED TREE 2019-05-15 04:35:01 +03:00
Matt Woodrow e470ac5993 Bug 1551389 - Compare line lists as well as lines when deciding if two frames are on the same line. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D31152

--HG--
extra : moz-landing-system : lando
2019-05-14 22:26:17 +00:00
Emilio Cobos Álvarez 6770308eb7 Bug 1550377 - Use ManuallyDrop for style structs. r=jwatt
We destroy them manually, so it's the right thing to do.

This allows us to not run destructors of any members of nsStyle*, which in turn allows us to:

 * Remove the hack that replaced all nsStrings for nsStringReprs.
 * Remove ns{,C}StringRepr (followup)
 * Add members with destructors to the style structs (you see where I'm going :)).

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

--HG--
extra : moz-landing-system : lando
2019-05-14 22:44:40 +00:00
Ryan VanderMeulen 434596e533 Bug 1353312 - Add crashtest. r=me 2019-05-14 12:27:21 -04:00
Ryan VanderMeulen c3130be9f7 Bug 1340248 - Add crashtest. r=me
--HG--
extra : rebase_source : 83022554b7033264cca1098ad976983e5d6319e0
2019-05-14 12:21:55 -04:00
Jonathan Watt 7049368112 Bug 1551538. Rename and document nsPrintJob::AfterNetworkPrint (to ResumePrintAfterResourcesLoaded). r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D31063

--HG--
extra : amend_source : 490d85a501f6615c2406663e2d872c8e1e86afe6
2019-04-26 11:43:15 +01:00
Jonathan Watt 85c590de39 Bug 1551333. Rename nsIPrintingPromptService methods to make them more searchable. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D30996

--HG--
extra : rebase_source : dc747a24f01c75d3378fed46bb49bf7dadd5f3df
extra : amend_source : c7dcf55fe7010c31f0e857cdd3c17d28622f289f
2019-04-24 16:01:33 +01:00
Cameron McCormack 4b20fc81c7 Bug 1505908 - Add Gecko profiler labels for when the style threads are doing work. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D30869

--HG--
extra : moz-landing-system : lando
2019-05-14 05:00:45 +00:00
Matt Woodrow 11e9f771db Bug 1551061 - Don't reuse a single DisplayItemData for all items that were previously part of a merged item. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D31004

--HG--
extra : moz-landing-system : lando
2019-05-13 23:40:47 +00:00
Botond Ballo 1e0a063846 Bug 1459260 - Create a MobileViewportManager whenever apz.allow_zooming is set. r=kats
However, we continue to only respect a <meta name="viewport"> tag if
dom.meta-viewport.enabled is set.

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

--HG--
extra : moz-landing-system : lando
2019-05-14 02:16:21 +00:00
Tim Nguyen c1f5b7a338 Bug 1521280 - Convert search-textbox to a custom element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23045

--HG--
rename : toolkit/content/widgets/textbox.xml => toolkit/content/widgets/search-textbox.js
extra : moz-landing-system : lando
2019-05-13 18:12:37 +00:00
Miko Mynttinen 4a60cbef9c Bug 1551053 - Check both list end and non-container items separately during display item merging r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D30941

--HG--
extra : moz-landing-system : lando
2019-05-13 21:13:01 +00:00
Andrew McCreight 2841945140 Bug 1550860 - Mark implicit builtinclass interfaces explicitly. r=nika
If an XPIDL interface has a method or attribute that is [notxpcom],
then it is implicitly treated as [builtinclass], even if it is not
marked as such. For clarity, this patch goes through and marks every
place that relies on this behavior (aside from some test code).

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

--HG--
extra : moz-landing-system : lando
2019-05-13 19:51:49 +00:00
Brad Werth 0cadd363db Bug 1548896 Part 1: Prevent MobileViewportManager::GetCompositionSize from returning negative sizes. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D30736

--HG--
extra : moz-landing-system : lando
2019-05-13 17:26:34 +00:00
Emilio Cobos Álvarez ab3478ba32 Bug 1551137 - <svg:mpath> should work in Shadow DOM. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D30894

--HG--
extra : moz-landing-system : lando
2019-05-13 17:28:59 +00:00
Jonathan Kew c5d721dff7 Bug 1550532 - Avoid auto-hyphenating capitalized words, except for German. r=emilio,mats
This affects a number of our existing reftests, so we'll need to update those
to not expect auto-hyphenation of a sentence-initial (capitalized) word.

(Hyphenation behavior is not sufficiently well-specified for this to be tested
at the WPT level, so we just use Gecko-specific reftests.)

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

--HG--
extra : moz-landing-system : lando
2019-05-13 16:35:44 +00:00
Emilio Cobos Álvarez b4d01303d5 Bug 1551065 - Properly discard empty lines for -webkit-line-clamp. r=heycam
That being said, this code is clearly not getting hit, are we 100% sure that
this is interoperable with what WebKit / Blink do?

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

--HG--
extra : moz-landing-system : lando
2019-05-13 09:14:33 +00:00
Coroiu Cristina cc280c4be9 Backed out changeset c5798de806e2 (bug 1521280) for crashing when searching about:config for upcoming beta (bug 1551013)
--HG--
extra : rebase_source : 8f936159c23d09bf227ce4f5eb6f2d96d33bbff1
2019-05-13 08:50:28 +03:00
Hiroyuki Ikezoe 863f6d62eb Bug 1518919 - Propagate CSS visibility information to descendant documents via IPC call for fission. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D30460

--HG--
extra : moz-landing-system : lando
2019-05-13 01:49:07 +00:00
Nicolas Silva 92e099dc31 Bug 1536021 - Gecko side changes. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D30618

--HG--
extra : source : d9c8971de6ad11a2f5c4331775c2d17c98a12b7e
extra : intermediate-source : b0fc3130f34b72fe01230ae0b231131111a9a9f1
2019-05-10 22:13:31 +02:00
Emilio Cobos Álvarez 8308eb7ea1 Bug 1527392 - Do not clamp computed width and height by min-/max- values. r=mats
The spec says that when there's no box or the property doesn't apply, the
computed value should be returned.

That's not what we're doing right now, we're clamping by min-/max- values, which
is wrong.

This patch makes us match other engines and the spec, and it's an attempt to get
interop on resolved values in:

  https://github.com/w3c/csswg-drafts/issues/3678

WebKit fails the WPT test, but due to a different reason:

  https://bugs.webkit.org/show_bug.cgi?id=197814

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

--HG--
extra : moz-landing-system : lando
2019-05-11 18:01:50 +00:00
Botond Ballo 965a150f32 Bug 1549625 - Avoid clobbering the visual scroll offset if the layout viewport shrinks in size r=kats
Differential Revision: https://phabricator.services.mozilla.com/D30434

--HG--
extra : moz-landing-system : lando
2019-05-10 21:13:17 +00:00
Ting-Yu Lin 3021c0878e Bug 1550729 - Enable column-span pref for contain-size-multicol-{002,003}.html individually. r=dholbert
CSS containment is enabled on early beta or earlier. Using
"default-preferences" to flip column-span pref overrides CSS
containment's pref at the first line in the reftest.list, which make the
two test fail on late beta.

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

--HG--
extra : moz-landing-system : lando
2019-05-10 19:48:53 +00:00
Ting-Yu Lin 8e6b2d246c Bug 1550629 - Fix comments mentioning GetAvailableSpace. r=dholbert
GetAvailableSpace was renamed to GetFloatAvailableSpace in bug 25888.

DONTBUILD because this is a comment-only change.

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

--HG--
extra : moz-landing-system : lando
2019-05-10 21:06:48 +00:00
Daniel Varga fc3b3d6290 Bug 1473859 - Changed skip-if to fuzzy-if on linux disable r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D30378

--HG--
extra : moz-landing-system : lando
2019-05-10 20:37:14 +00:00
Boris Zbarsky 377c937b2d Bug 1550092 part 2. Stop using [array] in numberOfAssignedPaintedLayers. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D30442

--HG--
extra : moz-landing-system : lando
2019-05-10 09:09:25 +00:00
Boris Zbarsky 928476d24c Bug 1550092 part 1. Stop using [array] in sendTouchEvent/sendTouchEventToWindow. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D30441

--HG--
extra : moz-landing-system : lando
2019-05-10 09:03:39 +00:00
Hiroyuki Ikezoe ca71a531a1 Bug 1541253 - Test cases for CSS visibility propagation. r=tnikkel
There are three test cases;

 1) Two iframes are swapped
 2) Changing the visibility of the parent document doesn't clobber a child
    document's visibility in the case where the child document has been hidden
    by another element in the parent document
 3) an iframe is initially inside a visibility:hidden element in the parent
    document

Depends on D26253

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

--HG--
extra : moz-landing-system : lando
2019-05-10 10:35:45 +00:00
Hiroyuki Ikezoe ddb35d3718 Bug 1541253 - Check PresShell::IsUnderHiddenEmbedderElement where we need to check CSS visibility state across the document boundary. r=tnikkel
Depends on D26252

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

--HG--
extra : moz-landing-system : lando
2019-05-10 11:22:28 +00:00
Hiroyuki Ikezoe a7b7f105b5 Bug 1541253 - Propagate CSS visivibility information to descendant documents. r=tnikkel
Depends on D26251

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

--HG--
extra : moz-landing-system : lando
2019-05-10 11:15:43 +00:00
Hiroyuki Ikezoe 88e1c00d24 Bug 1541253 - Make PresShell::IsVisible const. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D26251

--HG--
extra : moz-landing-system : lando
2019-05-10 11:15:30 +00:00
Tim Nguyen 1a57aab68e Bug 1521280 - Convert search-textbox to a custom element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23045

--HG--
rename : toolkit/content/widgets/textbox.xml => toolkit/content/widgets/search-textbox.js
extra : moz-landing-system : lando
2019-05-10 11:46:49 +00:00
Csoregi Natalia 6b3623045e Backed out changeset 7c1fce459b7a (bug 1549909) for crashtest failures on 1458028.html. CLOSED TREE 2019-05-10 14:21:07 +03:00
Matt Woodrow 6f7852c76c Bug 1549909 - Use display list building order for walking parents in AddFramesForContainingBlock. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D30453

--HG--
extra : moz-landing-system : lando
2019-05-10 04:58:39 +00:00
Ting-Yu Lin c169d13a59 Bug 1547162 Part 3 - Strip "-moz" prefix for all column properties in the received tests, and mark multicol-span-000-ref.xht pass. r=dbaron
multicol-span-000.xht passes because the id in

  <div id="column-span">123456</div>

was incorrect replaced by "-moz-column-span". Strip the "-moz" prefix
fixed it.

Except failures.list, other files were modified mechanically by running
import-tests.py against https://github.com/web-platform-tests/wpt commit
15f199c91a72b0d51bf0a12b3b77827ecb5051ff (the same commit in
received/import.log).

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

--HG--
extra : moz-landing-system : lando
2019-05-09 23:32:50 +00:00
Ting-Yu Lin a0b2a1a223 Bug 1547162 Part 2 - Remove all the column properties from gPrefixedProperties in import-tests.py. r=dbaron
Also, build gPrefixRegexp and replace lines only if gPrefixedProperties
is non-empty. Otherwise, the import tests are messed up due to bogus
gPrefixRegexp.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 23:32:00 +00:00
Ting-Yu Lin bb8e9c6ca6 Bug 1547162 Part 1 - Remove unused variables and imports in import-test.py. r=dbaron
This is discovered by running "flake8 import-tests.py" locally.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 23:30:17 +00:00
Masayuki Nakano 1fb845d129 Bug 1543315 - part 17: Mark PresShell::HandleDOMEventWithTarget() as MOZ_CAN_RUN_SCRIPT r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D30494

--HG--
extra : moz-landing-system : lando
2019-05-09 20:21:28 +00:00
Narcis Beleuzu f533451f22 Merge inbound to mozilla-central. a=merge 2019-05-10 00:42:34 +03:00
Emilio Cobos Álvarez f65bcfba56 Bug 1549559 - Add bindings for ArcSlice and ThinArc, and use them to reduce copies of SVG path data. r=heycam
As I said over bug 1549593, the eventual goal is to use ArcSlice in all
inherited properties. But this seemed like a good first candidate that doesn't
require me to move around a lot more code, since we were already using cbindgen
for the path commands.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 12:43:19 +00:00
Emilio Cobos Álvarez 38065025d9 Bug 1548691 - Use the owned slice type for basic shape polygon coordinates. r=TYLin,heycam
This enables destructors for tagged unions in cbindgen, implemented in:

 * https://github.com/eqrion/cbindgen/pull/333

Which allow us to properly generate a destructor for the cbindgen-generated
StyleBasicShape (which now contains an OwnedSlice).

For now, we still use the glue code to go from Box<BasicShape> to
UniquePtr<BasicShape>. But that will change in the future when we generate even
more stuff and remove all the glue.

I could add support for copy-constructor generation to cbindgen for tagged
enums, but I'm not sure if it'll end up being needed, and copy-constructing
unions in C++ is always very tricky.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 11:24:57 +00:00
Emilio Cobos Álvarez 23b7a280bf Bug 1545823 - Implement non-standard CSSStyleSheet.rules, CSSStyleSheet.addRule and CSSStyleSheet.removeRule. r=bzbarsky
It's not worth dying on this hill. Both Blink and WebKit pass the tests.

(Well, WebKit actually fails one of the latest ones I wrote, cssRules and rules
are not the same JS object, WebKit returns a new rule list. I'll file)

Spec PR in https://github.com/w3c/csswg-drafts/pull/3900.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 12:32:52 +00:00
Jonathan Kew e6aa378ae6 Bug 1545177 - Add crashtest. r=heycam
Depends on D27980

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

--HG--
extra : moz-landing-system : lando
2019-05-09 05:15:50 +00:00
Jonathan Kew c8c951fbbe Bug 1545177 - If descriptors of a FontFace are modified after creation, update the associated font entry so that face selection will respect the new values, and mark font sets as dirty. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D27980

--HG--
extra : moz-landing-system : lando
2019-05-09 09:43:42 +00:00
Noemi Erli 34f9686f88 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-09 18:37:16 +03:00
Cameron McCormack d4d63edb8f Bug 1133175 - Remove SVGTests.hasExtension. r=bz,longsonr 2019-05-09 14:39:28 +10:00
Daniel Holbert d4b5b44718 Bug 1548985: Don't let 'contain:size' suppress the intrinsic size of document-root SVG elements. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D30259

--HG--
extra : moz-landing-system : lando
2019-05-08 23:05:04 +00:00
Oana Pop Rus 443bc6002b Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-09 00:58:43 +03:00
Mike Conley f6abfd1e36 Bug 1550157 - Set a pref if the user profile is using a userChrome.css or userContent.css file. r=emilio
This is in preparation to disable (but not remove) support for these customizations
by default. We want to avoid scanning for these files on start-up, but also don't want
to make our users jump through a pref-flipping hoop to get their customizations back.

So we'll detect those files and flip the pref for this release. For the next release,
we'll not load those files unless the pref is flipped.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:50:57 +00:00
Artur Signell 97f51aaa75 dragndrop: Allow drag'n'drop to start from elements inside a shadow root (Bug 1521471) r=emilio
Before this change, only elements inside the shadow root tree were scanned for the
draggable=true attribute. We now check the flattened tree instead so an element
inside a shadow root can start a drag for an element containing the shadow root.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 18:30:45 +00:00
Miko Mynttinen e74a435226 Bug 1549860 - Make display item merging nsDisplayWrapList specific operation r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D30283

--HG--
extra : moz-landing-system : lando
2019-05-08 15:51:23 +00:00
Jonathan Kew fabb0dc4d5 Bug 1549728 - Flush line-breaker whenever the word-break property changes. r=emilio
The patch in bug 1507744 was not sufficient by itself, as the line-breaker could still accumulate a single "current word" across a text-run boundary, and then a single word-break value would be applied to it. We need to flush the line-breaker when word-break changes, so that each part of the word will have break opportunities set according to the appropriate value.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 15:09:44 +00:00
Miko Mynttinen 1ad7ab6372 Bug 1549751 - Part 3: Use nsPaintedDisplayItem in WR and FLB r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D30226

--HG--
extra : moz-landing-system : lando
2019-05-08 13:50:09 +00:00
Miko Mynttinen 2c5cb1519c Bug 1549751 - Part 2: Add nsPaintedDisplayItem r=mattwoodrow
Move ApplyOpacity(), CanApplyOpacity(), Paint() and PaintWithClip() methods to nsPaintedDisplayItem

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

--HG--
extra : moz-landing-system : lando
2019-05-08 13:49:56 +00:00
Miko Mynttinen d31f4467e4 Bug 1549751 - Part 1: Add nsDisplayList::Iterator r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D30224

--HG--
extra : moz-landing-system : lando
2019-05-08 14:11:40 +00:00
Ting-Yu Lin 62831385c7 Bug 1494100 Part 3 - Implement "contain:size" for ColumnSetWrapperFrame. r=dholbert
Add multicol-width-004.html and multicol-width-005.html to test "width:
min-content" and "width: max-content" with column-span:all children.
There's no size containment in these tests.

Note it may be worth to reuse nsBlockFrame's mCachedMinISize and
mCachedPrefISize to cache intrinsic size for ColumnSetWrapperFrame, but
this can be done separately.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 22:58:39 +00:00
Ting-Yu Lin 2598c03a8b Bug 1494100 Part 2 - Check column-span pref before checking the size containment in nsColumnSetFrame. r=dholbert
If column-span is enabled, nsColumnSetFrame becomes an inner frame under
ColumnSetWrapperFrame, and that outer frame is then where we should be
handling size containment.

This patch doesn't change the logic but make the logic easier to
simplify once we start eliminating column-span pref.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 22:49:40 +00:00
Ting-Yu Lin 1dc9d49936 Bug 1494100 Part 1 - Create ColumnUtils, and extract utility functions in nsColumnSetFrame into it. r=dholbert
The functions move to ColumnUtils will be used by ColumnSetWrapperFrame
to implement GetPrefISize() and GetMinISize().

Also, I verify locally that non-unified build is still working by
s/UNIFIED_SOURCES/SOURCES/ in layout/generic/moz.build.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 22:49:31 +00:00
Cameron McCormack f5b7d1380b Bug 866102 - Implement -webkit-line-clamp. r=mats,emilio,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D20115

--HG--
extra : moz-landing-system : lando
2019-05-09 02:32:30 +00:00
Ting-Yu Lin 44b91cdf58 Bug 1548118 Part 4 - Always mark inner ColumnSetWrapper's children dirty before reflowing it if the outer ColumnSetWrapper is balancing. r=dbaron
ColumnSetFrame always tries to reflow column content regardless of it's
dirtiness. Making ColumnSetWrapperFrame's children dirty can have the
same effect.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 03:12:18 +00:00
Ting-Yu Lin 1bfc721a99 Bug 1548118 Part 3 - Remove margin-bottom from column-balancing-nested-001.html and its reference. r=dbaron
Per bug 1487927, margin-bottom value is not always rendered as expected
with our column balancing algorithm. I'd like to remove it from
column-balancing-nested-001.html, and add <br> to separate each cases.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 03:12:18 +00:00
Ting-Yu Lin c52b56e4f0 Bug 1548118 Part 2 - Extract computing column balancing depth logic to a function. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D29434

--HG--
extra : moz-landing-system : lando
2019-05-08 03:12:05 +00:00
Ting-Yu Lin 1582e78c5d Bug 1548118 Part 1 - Advance the column count at the end of the while loop. r=dbaron
We use `columnCount == aConfig.mBalanceColCount - 1` in other places to
determine if we are at the last column. Advancing the column count at
the end of the loop make the condition consistent.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 03:09:19 +00:00
Emilio Cobos Álvarez 98b4f62a61 Bug 1549691 - nsLayoutUtils::GetRealPrimaryFrameFor makes no sense. r=jwatt
The primary frame is always the out of flow frame.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 17:04:36 +00:00