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

71193 Коммитов

Автор SHA1 Сообщение Дата
Gurzau Raul 4246729646 Backed out 2 changesets (bug 1599662) for multiple reftest failures e.g. downscale-moz-icon-1.html on a CLOSED TREE.
Backed out changeset 1a5918cfe128 (bug 1599662)
Backed out changeset a7b980e65413 (bug 1599662)
2019-12-04 03:54:27 +02:00
Matt Woodrow 8ca80cd1af Bug 1599662 - Add process switching to the reftest harness so that we can get better coverage for fission. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D55568

--HG--
extra : moz-landing-system : lando
2019-12-03 22:18:45 +00:00
Jonathan Kew 1598ebe8a8 Bug 1598063 - Don't hide text styled with a pending user font when drawing canvas text, just draw with fallback instead. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D55707

--HG--
extra : moz-landing-system : lando
2019-12-03 21:14:52 +00:00
Cameron McCormack 9f5d778c38 Bug 1600855 - Avoid SVG text calling gfxTextRun::GetAdvanceWidth for ranges that cross text frame boundaries. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D55600

--HG--
extra : moz-landing-system : lando
2019-12-03 21:22:46 +00:00
Bogdan Tara 96c4d7038c Backed out 2 changesets (bug 1600855) for bustages complaining about SVGTextFrame.cpp CLOSED TREE
Backed out changeset a3473bbf2b42 (bug 1600855)
Backed out changeset a9c150ebbf2b (bug 1600855)
2019-12-03 23:09:37 +02:00
Cameron McCormack 27e442a558 Bug 1600855 - Avoid SVG text calling gfxTextRun::GetAdvanceWidth for ranges that cross text frame boundaries. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D55600

--HG--
extra : moz-landing-system : lando
2019-12-03 06:12:39 +00:00
Emilio Cobos Álvarez 7f9ba6e0ec No bug - Fix up a CSS Loader comment to be more accurate. r=bzbarsky
The "has been exposed to CSSOM" thing is a much weaker test, which was meant to
stand for "has been modified or might be modified". We don't care about the
"might be modified" bit anymore, since we don't share rules in that case.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 20:35:20 +00:00
Emilio Cobos Álvarez 2eee21b4c3 Bug 1600372 - When hit-testing for visibility, do not return nodes in opacity: 0 subtrees. r=mattwoodrow,mconley
But note that this is a bit arbitrary, maybe we should just make it a threshold
and the PiP stuff could pass 0.5 or something.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 19:49:52 +00:00
Emilio Cobos Álvarez 3b3de3f3e7 Bug 1590280 - Allow to use the sheet cache to avoid parsing as long as CSSOM hasn't mutated the stylesheet. r=heycam
We need to ensure we have a unique inner so that ruleLists and such have the
right pointer identity (we could do better, really, but it's harder).

But as long as the CSSOM hasn't modified them there should be no reason not to
use the cache. We can do a deep clone synchronously instead of refetching /
reparsing.

This is important because, as of right now, just using the inspector makes the
stylesheets unique, which is unfortunate.

We'll still have the modified rule bit for sheets with @import, because our
notification system for @import is silly, and on parents of imported sheets.

Fixing those are future improvements, but I see no reason not to land this.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 11:04:03 +00:00
Emilio Cobos Álvarez 7683b3d41e Bug 1600624 - Make the StyleSheet children setup simpler. r=heycam
Using an array is much better to reason about than a manually linked list, and
allows us to preserve @import order.

Added a test for a bug that we happened not to have, but that it's not covered
by existing WPT tests.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 10:49:23 +00:00
Emilio Cobos Álvarez 912559b8d2 Bug 1600624 - Fix import rules to properly unlink their stylesheet from its parent. r=heycam
Test is hopefully self-explanatory. The children setup here is a bit bogus as
noted here and other comments, will file a followup to clean it up.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 10:43:57 +00:00
Thomas Nguyen 18482671c9 Bug 1595720 - Disable fullscreen in third party by default r=baku
Differential Revision: https://phabricator.services.mozilla.com/D54194

--HG--
extra : moz-landing-system : lando
2019-12-02 16:01:09 +00:00
Timothy Nikkel 593938d2f2 Bug 1591799. In WheelHandlingUtils::CanScrollOn use scroll range related functions that are aware of the visual viewport of a scroll frame. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D55429

--HG--
extra : moz-landing-system : lando
2019-12-02 22:30:24 +00:00
sotaro 0c611d19d9 Bug 1599653 - Support CanvasContextType::ImageBitmap with WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D54890

--HG--
extra : moz-landing-system : lando
2019-11-28 16:50:43 +00:00
Coroiu Cristina 311cd41f69 Backed out changeset 6c09d8b07585 (bug 1596050) for reftest failures at layout/reftests/high-contrast/selection-001.html on a CLOSED TREE 2019-12-02 21:29:26 +02:00
Emilio Cobos Álvarez fb57a6c09f Bug 1596050 - When ignoring document colors, ignore ::selection styles altogether. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D53171

--HG--
extra : moz-landing-system : lando
2019-12-02 17:42:35 +00:00
jeffin143 be122e52af Bug 1600482 : convert NS_STYLE_RUBY_POSITION_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D55379

--HG--
extra : moz-landing-system : lando
2019-12-02 17:22:42 +00:00
Mats Palmgren 3ef4eee2ea Bug 1600202 - Make test_bug717878_input_scroll.html cope with native themes that has a large padding better, and extend the test to also check non-themed controls. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D55458

--HG--
extra : moz-landing-system : lando
2019-12-02 16:41:02 +00:00
Mats Palmgren d141f0d8ad Bug 1017137 - Don't report Complete status in table-row-group fragmentation if it still has more rows to flow after filling the availble size. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D55397

--HG--
extra : moz-landing-system : lando
2019-12-02 16:40:47 +00:00
Mats Palmgren 4928207161 Bug 1600367 - Check that the available space is constrained before setting Incomplete status. r=TYLin
The testcase doesn't have a fragmentainer at all so we should
never set Incomplete status in this case.  I added an assertion
that would have caught this.  I also made the baseline methods
deal with a null inner frame for good measure.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 16:43:06 +00:00
Jonathan Kew 7ae939ccbc Bug 1581715 - Ensure the fontgroup is refreshed before attempting to (re-)build textrun for a frame. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D53689

--HG--
extra : moz-landing-system : lando
2019-11-29 21:29:15 +00:00
Ciure Andrei 1b5b6af7bd Backed out 2 changesets (bug 1598470, bug 1595720) for causing browser_fullscreen_cross_origin.js to permafail CLOSED TREE
Backed out changeset 02fbe3085e54 (bug 1598470)
Backed out changeset 40f6133b6b61 (bug 1595720)
2019-12-02 12:55:37 +02:00
Thomas Nguyen 8962c61512 Bug 1595720 - Disable fullscreen in third party by default r=baku
Differential Revision: https://phabricator.services.mozilla.com/D54194

--HG--
extra : moz-landing-system : lando
2019-12-02 09:39:33 +00:00
Ting-Yu Lin 373306dcc0 Bug 1594937 - Remove w3c-css/received/css-multicol reftests. r=dbaron
Bug 1594937 comment 2 provides an analysis on why it is OK to remove
css-multicol reftests.

The manual modifications in this patch are:
- Remove `os.path.join("css-multicol")` in import-tests.py.
- Remove css-multicol lines in failures.list
- Migrate geckoview only failures annotations (bug 1558509) in failures.list
  to wpt ini files.
- Add fuzzy-if annotation to dom/tests/reftest/bug453105.html for Android.
  (bug 1600534)

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 02:21:53 +00:00
jeffin143 0070e7ec58 Bug 1600484 : convert NS_STYLE_TEXT_SIZE_ADJUST_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D55382

--HG--
extra : moz-landing-system : lando
2019-12-02 05:09:33 +00:00
jeffin143 f47ebf0317 Bug 1600486 : Remove Redundant #define NS_STYLE_IMAGE_ORIENTATION in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D55383

--HG--
extra : moz-landing-system : lando
2019-12-01 13:04:54 +00:00
jeffin143 0ed9c7c846 Bug 1600483 : convert NS_STYLE_RUBY_ALIGN_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D55380

--HG--
extra : moz-landing-system : lando
2019-12-01 13:08:49 +00:00
jeffin143 6e53ecda96 Bug 1600476 : convert NS_STYLE_TOP_LAYER_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D55377

--HG--
extra : moz-landing-system : lando
2019-12-01 13:05:55 +00:00
Andrew Osmond ff10c198e9 Bug 1555376 - Followup to mark more tests as passing (again).
Differential Revision: https://phabricator.services.mozilla.com/D55375

--HG--
extra : moz-landing-system : lando
2019-11-30 20:26:40 +00:00
Andrew Osmond 4cf164338f Bug 1555376 - Followup to mark more tests as passing.
Differential Revision: https://phabricator.services.mozilla.com/D55372

--HG--
extra : moz-landing-system : lando
2019-11-30 19:32:01 +00:00
Andrew Osmond d9c99acc89 Bug 1555376 - Snap glyphs before clipping in the shader. r=lsalzman
Snapping glyph positions are an internal detail to a primitive. As such,
any snapping required must be taken into account when calculating the
local rect. That ensures that when the clip is applied, it doesn't cut
off parts of the glyph that would have been retained after snapping.

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

--HG--
extra : moz-landing-system : lando
2019-11-30 15:57:44 +00:00
Emilio Cobos Álvarez 0ff42b5218 Bug 1600155 - Remove StyleSheet{Added,Removed} and StyleRule{Added,Removed,Changed} events. r=heycam,smaug
They're only used by tests, and are not exposed.

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

--HG--
extra : moz-landing-system : lando
2019-11-30 12:24:32 +00:00
Emilio Cobos Álvarez a65fe39265 Bug 1600155 - Make @import rules less weird. r=heycam
Have their own notification for when the child sheet loads instead of
piggy-backing in the RuleAdded one, and make the callers check instead.

This prevents incorrectly marking as modified sheets which only have @import
rules.

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

--HG--
extra : moz-landing-system : lando
2019-11-30 12:24:24 +00:00
Emilio Cobos Álvarez 2c0c593033 Bug 1600376 - Remove useless namespace qualifications in layout/style. r=jwatt
All these things are in the mozilla namespace and such. Clean up a bit.

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

--HG--
extra : moz-landing-system : lando
2019-11-30 11:57:10 +00:00
Oana Pop Rus cdef02e3e8 Backed out changeset e02c0652dd43 (bug 1595388) for reftest failures on filter-in-mask.html 2019-11-30 04:50:13 +02:00
Jeff Muizelaar 28618c9230 Bug 1595388. Use mDrawTarget->Rect() instead of Size(). r=mstange
Using Rect() will work properly when mDrawTarget does not have 0,0
origin. It also makes the code's intention more clear.

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

--HG--
extra : moz-landing-system : lando
2019-11-30 00:28:35 +00:00
Timothy Nikkel df4a65de6c Bug 1586843. Pass SideBits for fixed position content to webrender so it can pass it back via the HitTest api. r=botond
We add the SideBits to the data we store in the FixedPosScrollTargetTracker. nsDisplayCompositorHitTestInfo then passes the side bits when it sets hit test info. We then pack the side bits into the hit test info bits; luckily they were only using 12 of 16 bits. The wr HitTest api then extracts the side bits from the hit test info bits and passes them back.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 23:06:59 +00:00
Timothy Nikkel fb46cff121 Bug 1583380. Plumb SideBits from the display list to WebRenderScrollDataWrapper. r=botond
The plumbing from there to the HitTestingTreeNode is already in place for the non-webrender case.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 23:06:34 +00:00
Timothy Nikkel 96304da79f Bug 1583380. Refactor a helper out of nsLayoutUtils::SetFixedPositionLayerData to get the SideBits. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D54401

--HG--
extra : moz-landing-system : lando
2019-11-29 23:06:26 +00:00
Timothy Nikkel 297e2538f7 Bug 1583380. Plumb a fixed position webrender animation id from the display list to the HitTestingTreeNode. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D54399

--HG--
extra : moz-landing-system : lando
2019-11-29 23:11:18 +00:00
Emilio Cobos Álvarez 3c12d374bc Bug 1600362 - Cleanup IntersectionObserver. r=smaug
Initially this was going to be a simple cleanup: Remove some useless namespaces
here and there and so on, remove `using` statements from the header and so on.

But unfortunately, DOMIntersectionObserver.h (which is included in Element.h,
unnecessarily) ended up exposing `Element` unnamespaced to a lot of code, so I
had to fix that.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 20:39:36 +00:00
Emilio Cobos Álvarez 816c826751 Bug 1596361 - Ensure nsGridContainerFrame::GetGridFrameWithComputedInfo really returns a frame with computed info. r=mats
I couldn't repro this with the STR in the bug, but I can repro by inspecting a
grid in print preview, where we don't properly honor the re-reflow request
because $reasons.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 20:24:26 +00:00
Emilio Cobos Álvarez 231400e386 Bug 1594449 - followup: fix some CSS loader comments. r=mayhemer
Relatedly: We only use this to determine priority. It seems we prioritize
<link rel=preload> over <link rel=stylesheet>, is that intended?

That seems a bit weird, as the preloads from the parser are likely to be used
very soon.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 12:55:51 +00:00
enordin d69bff9bdb Bug 1597642 - Have scale function and scale property accept percentage value. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D55012

--HG--
extra : moz-landing-system : lando
2019-11-29 04:40:03 +00:00
Bert Peers 7f8678c11a Bug 1596786 - Arrow keys support for reftest-analyzer r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D53220

--HG--
extra : moz-landing-system : lando
2019-11-27 21:15:51 +00:00
Honza Bambas ce072f8e6a Bug 1594449 - <link rel="preload"> implemented as a speculative load initiated during the prescan phase in the HTML5 parser, disabled by default, only supports "script" and "styles" types, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D52019

--HG--
extra : moz-landing-system : lando
2019-11-27 21:45:12 +00:00
Nicolas Silva 2ba0079dc7 Bug 1596086 - Adjust reftest expectations after gradient fix in WebRender. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D54684

--HG--
extra : moz-landing-system : lando
2019-11-28 16:22:14 +00:00
Markus Stange 58622a911c Bug 1599606 - Don't interleave a non-scrolled canvas background color item and a fixed canvas background image with a scrolled background-color item. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D54855

--HG--
extra : moz-landing-system : lando
2019-11-28 01:14:03 +00:00
Cameron McCormack 55ca01d3b0 Bug 1599173 - Disable SVG text spacing with a pref. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54887

--HG--
extra : moz-landing-system : lando
2019-11-27 23:29:41 +00:00
Arthur Iakab 59355ab529 Backed out 3 changesets (bug 1596086) for causing wrench bustages on result.rs CLOSED TREE
Backed out changeset ad8db62e810c (bug 1596086)
Backed out changeset 3a6f8c6edf4e (bug 1596086)
Backed out changeset db3785d7c430 (bug 1596086)
2019-11-28 01:16:42 +02:00
Nicolas Silva d95492afc2 Bug 1596086 - Adjust reftest expectations after gradient fix in WebRender. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D54684

--HG--
extra : moz-landing-system : lando
2019-11-27 22:40:39 +00:00
Daniel Holbert fe5b5a8b0b Bug 1599619: Wait for a paint before making dynamic change in SMIL reftest "anim-css-font-1.svg". r=boris
This small change seems to help us come out on the good side of a race
condition that this test is failing on our Ubuntu 18.04 test runner platform.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 19:42:31 +00:00
Geoff Brown 253aaf1570 Bug 1599587 - Adjust android mochitest/reftest logging; r=jmaher
Guard against flaky results from the remote is_file and reduce adb traffic
by waiting once for the log file to be created rather than checking for it
throughout the test run.
(Minor ride-along change to reftest.jsm resolves javascript error introduced
by bug 1575266.)

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

--HG--
extra : moz-landing-system : lando
2019-11-27 21:33:38 +00:00
Andrew Osmond b199ff482d Bug 1589198 - Snap the picture's precise local rect the same as the estimated local rect. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D53243

--HG--
extra : moz-landing-system : lando
2019-11-27 20:12:32 +00:00
Emilio Cobos Álvarez 6456b9db4f Bug 1599843 - Element::SetSMILOverrideStyleDeclaration is infallible. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D54996

--HG--
extra : moz-landing-system : lando
2019-11-27 20:12:43 +00:00
Emilio Cobos Álvarez 54400ca93c Bug 1599843 - nsJSProtocolHandler construction should be simpler. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D54981

--HG--
extra : moz-landing-system : lando
2019-11-27 20:05:02 +00:00
Emilio Cobos Álvarez 0af99be32d Bug 1599518 - Deregister ResizeObserver properly from disconnect(). r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54923

--HG--
extra : moz-landing-system : lando
2019-11-27 17:52:17 +00:00
Andrew McCreight b7a0475f37 Bug 1599470, part 2 - Inline the now-infallible NullPrincipalURI::Create(). r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D54818

--HG--
extra : moz-landing-system : lando
2019-11-27 16:08:28 +00:00
Emilio Cobos Álvarez f6b443906e Bug 1599614 - nsAttrValue::Init is not fallible. r=mccr8,bzbarsky
Depends on D54826

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

--HG--
extra : moz-landing-system : lando
2019-11-27 10:57:24 +00:00
Zibi Braniecki 6bdd603252 Bug 1599532 - Update unic-langid-impl to 0.7.2 r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54804

--HG--
extra : moz-landing-system : lando
2019-11-27 10:24:41 +00:00
Cameron McCormack 44c89b66fe Bug 1599286 - Prevent -moz-min-font-size-ratio from interfering with cached scrollbar styles. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54674

--HG--
extra : moz-landing-system : lando
2019-11-27 06:02:47 +00:00
Dorel Luca 3b7542d69e Backed out changeset 82865b3cc6ed (bug 1599286) for Browser-chrome failures in content/minimal-xul.css. CLOSED TREE 2019-11-27 04:32:45 +02:00
Kenny Levinsen 1c5650fe48 Bug 1542808 - Implement widget-local VsyncSource for Wayland windows. r=stransky,lsalzman
Lets Wayland sessions run vsync off wayland surface frame callbacks by creating
an interface for widgets to return a local VsyncSource, if applicable.

This interface is currently used for the compositor, and for refresh drivers
in the parent process. It is not yet used for vsync in content processes.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 00:21:33 +00:00
Cameron McCormack ddbf19d88e Bug 1599286 - Prevent -moz-min-font-size-ratio from interfering with cached scrollbar styles. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54674

--HG--
extra : moz-landing-system : lando
2019-11-26 09:20:28 +00:00
Narcis Beleuzu abfef73a2b Backed out 4 changesets (bug 1596086) for reftest failures on reftest.list . CLOSED TREE
Backed out changeset 651a7556124b (bug 1596086)
Backed out changeset ab2e0e2a9048 (bug 1596086)
Backed out changeset 00ccdb940ea2 (bug 1596086)
Backed out changeset 57869dbf0a8b (bug 1596086)
2019-11-27 01:38:33 +02:00
Narcis Beleuzu dbc0ec279f Bug 1596086 - Fix reftest.list . r=gw CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D54822

--HG--
extra : amend_source : 95b9aad00d0481e8ee64e27aeca7d447c1d3f7b3
extra : histedit_source : 16659aca5b38989cf5b2bf28798626352579402f
2019-11-27 00:01:47 +02:00
Nicolas Silva 6b21103dff Bug 1596086 - Adjust reftest expectations after gradient fix in WebRender. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D54684

--HG--
extra : moz-landing-system : lando
2019-11-26 20:38:18 +00:00
Sylvestre Ledru 8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00
jeffin143 e9711f487b Bug 1598528 : convert NS_STYLE_TEXT_ORIENTATION_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54252

--HG--
extra : moz-landing-system : lando
2019-11-26 04:50:04 +00:00
Cameron McCormack 36e13da4fc Bug 1599294 - Fix URL used for opening layout debugger from the command line. r=dholbert,emilio
Differential Revision: https://phabricator.services.mozilla.com/D54644

--HG--
extra : moz-landing-system : lando
2019-11-26 00:35:18 +00:00
Botond Ballo 83bfe6cee0 Bug 1590857 - Don't prompt to install Android app if the user is running 'mach install'. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D54381

--HG--
extra : moz-landing-system : lando
2019-11-25 22:17:59 +00:00
Emilio Cobos Álvarez 168ff04a41 Bug 1599161 - Remove useless namespace qualifications in GlobalStyleSheetCache. r=heycam
Depends on D54557

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

--HG--
extra : moz-landing-system : lando
2019-11-25 22:30:09 +00:00
Emilio Cobos Álvarez 0eb000c3ae Bug 1599161 - Rename nsLayoutStylesheetCache to GlobalStyleSheetCache. r=boris
It's a better name, and will avoid confusion when I add other stylesheet caches
outside of the CSS loader.

Depends on D54556

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

--HG--
rename : layout/style/nsLayoutStylesheetCache.cpp => layout/style/GlobalStyleSheetCache.cpp
rename : layout/style/nsLayoutStylesheetCache.h => layout/style/GlobalStyleSheetCache.h
extra : moz-landing-system : lando
2019-11-25 22:08:43 +00:00
Emilio Cobos Álvarez 3e643f22f1 Bug 1599161 - Remove some unused declarations. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D54556

--HG--
extra : moz-landing-system : lando
2019-11-25 19:15:07 +00:00
Mats Palmgren 9d05fc8f63 Bug 471015 - [css-break] Implement <fieldset> fragmentation. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D53709

--HG--
extra : moz-landing-system : lando
2019-11-25 21:45:22 +00:00
Brindusan Cristian a79348dd80 Backed out changeset 0186165ee1d8 (bug 471015) for reftest failures at box-shadow/611574-1.html. CLOSED TREE 2019-11-25 21:40:19 +02:00
Emilio Cobos Álvarez da1d6b2724 No bug - Escape \r in the parsing bench.
Some stylesheets you may want to benchmark may contain windows newlines.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 18:27:01 +00:00
Mats Palmgren 84b1973502 Bug 471015 - [css-break] Implement <fieldset> fragmentation. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D53709

--HG--
extra : moz-landing-system : lando
2019-11-25 18:05:16 +00:00
jeffin143 7868d04683 Bug 1597893 : convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53920

--HG--
extra : moz-landing-system : lando
2019-11-25 16:00:23 +00:00
jeffin143 9b7464720b Bug 1598348 : convert NS_STYLE_OBJECT_FIT_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54153

--HG--
extra : moz-landing-system : lando
2019-11-25 15:40:50 +00:00
jeffin143 2293551763 Bug 1598539 : convert NS_STYLE_IME_MODE_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54255

--HG--
extra : moz-landing-system : lando
2019-11-25 15:41:18 +00:00
Masayuki Nakano 3f7057ece8 Bug 1597679 - part 3: Create methods to compare given string with values of `TextControlState`, `nsTextControlFrame`, `HTMLInputElement` and `HTMLTextAreaElement` r=smaug
For avoiding unnecessary copy of string buffer only for comparing setting
value and current value, especially with `nsAutoString`, this patch
creates `*Equals()` methods for every class.

And also this avoids to call `nsContentUtils::PlatformToDOMLineBreaks()` in
most paths.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 06:35:17 +00:00
Masayuki Nakano 20699e2189 Bug 1597679 - part 2: Make `nsITextControlElement` inherit `nsGenericHTMLFormElementWithState` r=smaug
Sub classes of `nsITextControlElement` are only `HTMLInputElement` and
`HTMLTextAreaElement`. And both base class is
`nsGenericHTMLFormElementWithState`.  Therefore, we can make
`nsITextControlElement` inherit `nsGenericHTMLFormElementWithState` and
make `HTMLInputElement` and `HTMLTextAreaElement` inherit
`nsITextControlElement`.  Then, we can get rid of a lot of QI between
`nsINode`/`nsIContent`/`Element` and `nsITextControlElement` (and note that
some of them in a hot path).

Additionally, this patch renames `nsITextControlElement` to
`mozilla::TextControlElement`.

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

--HG--
rename : dom/html/nsITextControlElement.h => dom/html/TextControlElement.h
extra : moz-landing-system : lando
2019-11-25 06:35:15 +00:00
Coroiu Cristina 84bf2b6d25 Backed out 3 changesets (bug 1597679) for Android debug build bustage at build/src/dom/base/nsContentAreaDragDrop.cpp
Backed out changeset 6a73b58e0db4 (bug 1597679)
Backed out changeset 90a172eff2de (bug 1597679)
Backed out changeset d4a156cf28ff (bug 1597679)

--HG--
rename : dom/html/TextControlElement.h => dom/html/nsITextControlElement.h
2019-11-24 09:02:53 +02:00
Masayuki Nakano 12437404e1 Bug 1597679 - part 3: Create methods to compare given string with values of `TextControlState`, `nsTextControlFrame`, `HTMLInputElement` and `HTMLTextAreaElement` r=smaug
For avoiding unnecessary copy of string buffer only for comparing setting
value and current value, especially with `nsAutoString`, this patch
creates `*Equals()` methods for every class.

And also this avoids to call `nsContentUtils::PlatformToDOMLineBreaks()` in
most paths.

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

--HG--
extra : moz-landing-system : lando
2019-11-24 05:38:16 +00:00
Masayuki Nakano eea1784f2d Bug 1597679 - part 2: Make `nsITextControlElement` inherit `nsGenericHTMLFormElementWithState` r=smaug
Sub classes of `nsITextControlElement` are only `HTMLInputElement` and
`HTMLTextAreaElement`. And both base class is
`nsGenericHTMLFormElementWithState`.  Therefore, we can make
`nsITextControlElement` inherit `nsGenericHTMLFormElementWithState` and
make `HTMLInputElement` and `HTMLTextAreaElement` inherit
`nsITextControlElement`.  Then, we can get rid of a lot of QI between
`nsINode`/`nsIContent`/`Element` and `nsITextControlElement` (and note that
some of them in a hot path).

Additionally, this patch renames `nsITextControlElement` to
`mozilla::TextControlElement`.

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

--HG--
rename : dom/html/nsITextControlElement.h => dom/html/TextControlElement.h
extra : moz-landing-system : lando
2019-11-24 05:38:02 +00:00
Mats Palmgren f96607afa0 Bug 1597884 - [css-grid] Make some grid/grid-template values serialize to a shorter form. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53913

--HG--
extra : moz-landing-system : lando
2019-11-23 19:58:35 +00:00
Brindusan Cristian 116ada0728 Backed out changeset f07b485c29ad (bug 1595620) for xpcshell failures at test_css-properties-db.js. CLOSED TREE 2019-11-23 14:48:06 +02:00
Markivo 9dcd8c4485 Bug 1595620 Add support for -webkit-font-feature-settings as an alias of font-feature-settings.r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54159

--HG--
extra : moz-landing-system : lando
2019-11-23 10:29:58 +00:00
Jan de Mooij 83d309574b Bug 1579367 - Initialize XPCJSContext explicitly, after loading user prefs. r=kmag
This way we get the correct values for start-up prefs in the parent process.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 12:40:17 +00:00
Cosmin Sabou f559512182 Backed out changeset 148081b861c8 (bug 1594937) for reftest failures on bug453105.html. 2019-11-23 07:19:55 +02:00
Dzmitry Malyshau abb35dc646 Bug 1598617 - Adjust Android WR expectations for mask-layer-1 and mask-layer-2 tests
Follow-up to https://phabricator.services.mozilla.com/D53999
that brings back just a bit of fuzzy for mask-layer tests on Android only.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 21:14:29 +00:00
Ting-Yu Lin 5fa3794d17 Bug 1594937 - Remove w3c-css/received/css-multicol reftests. r=dbaron
Bug 1594937 comment 2 provides an analysis on why it is OK to remove
css-multicol reftests.

The manual modifications in this patch are:
- Remove `os.path.join("css-multicol")` in import-tests.py.
- Remove css-multicol lines in failures.list
- Migrate geckoview only failures annotations (bug 1558509) in failures.list
  to wpt ini files.

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 20:50:42 +00:00
Noemi Erli 92d932148c Backed out changeset 8cdae49ab472 (bug 1598539) for causing build bustages in EditorBase.cpp CLOSED TREE 2019-11-22 22:04:00 +02:00
jeffin143 058d24f2df Bug 1598539 : convert NS_STYLE_IME_MODE_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54255

--HG--
extra : moz-landing-system : lando
2019-11-22 13:33:59 +00:00
Tim Nguyen 3ae6d270cf Bug 1597120 - Remove platform support for XUL mousethrough attribute. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53349

--HG--
extra : moz-landing-system : lando
2019-11-22 13:15:28 +00:00
Tim Nguyen 9b84d66049 Bug 1597120 - Support dynamic changes to CSS pointer-events on nsMenuPopupFrame. r=karlt,jmathies,mstange,emilio
Differential Revision: https://phabricator.services.mozilla.com/D53379

--HG--
extra : moz-landing-system : lando
2019-11-22 13:14:37 +00:00
Tim Nguyen 65fd34c86b Bug 1597120 - Make nsMenuPopupFrame read pointer-events: none; instead of mousethrough attribute. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53347

--HG--
extra : moz-landing-system : lando
2019-11-22 13:14:06 +00:00
Timothy Nikkel e536dac456 Bug 1598488. Fix nsMenuPopupFrame::GetWidget. r=emilio
It can return the root widget if the menu popup frame doesn't have a widget. None of the callers want this.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 10:38:20 +00:00
Razvan Maries 8520cc6954 Backed out changeset dce49f743139 (bug 1597893) for build bustages on nsCocoaWindow.mm. CLOSED TREE 2019-11-22 14:50:12 +02:00
jeffin143 6967337237 Bug 1597893 : convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53920

--HG--
extra : moz-landing-system : lando
2019-11-21 16:52:06 +00:00
Gabriele Svelto 9283d5f034 Bug 1598258 - Add a list of additional minidumps to the event delivered when a plug-in crashes r=froydnj
This patch adds a new field to the `plugin-crashed` event that holds the list
of additional minidumps associated with a crash report. The test
infrastructure is modified to use it which also fixes a race when processing
the .extra file. The reftest machinery has also been modified to take the new
field into account.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 07:30:23 +00:00
Boris Chiou 7a959a5da5 Bug 1582554 - Add a preference for offset-path:ray(). r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53110

--HG--
extra : moz-landing-system : lando
2019-11-20 22:38:26 +00:00
Hiroyuki Ikezoe 7afdb8487c Bug 1586986 - Fire visual viewport resize events and flush position:fixed elements' layout in the same way what Chrome does. r=botond
On Chrome, visual viewport resize event is fired repeatedly during dynamic
toolbar transitions and visual viewport height obtained by the VisualViewport
API is also changed, but in terms of layout the height value is never used
until the dynamic toolbar height reaches to zero or is changed from zero.
The height used at the time is the height for vh units when the toolbar height
reaches to zero and the ICB height when the toolbar height is changed from zero.
To do so, we need to have another visual viewport size in parallel to the
original one and use them depending on situations.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 21:36:59 +00:00
Hiroyuki Ikezoe 9b165804d8 Bug 1586986 - Deliver 'fixed-bottom' offset to the top of the pres context on the foreground tab. r=geckoview-reviewers,tnikkel,snorp
The dynamic toolbar transition doesn't affect on background tabs since to
switch tabs the dynamic toolbar should be restored to its original state (i.e.,
completely visible state).

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

--HG--
extra : moz-landing-system : lando
2019-11-21 21:15:46 +00:00
Bogdan Tara 6aae1c4aaa Backed out changeset 726c8aa10d1a (bug 1597893) for bustages complaining about nsCocoaWindow.h CLOSED TREE 2019-11-21 15:35:09 +02:00
jeffin143 9f50df6c78 Bug 1597893 : convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53920

--HG--
extra : moz-landing-system : lando
2019-11-21 12:09:03 +00:00
Emilio Cobos Álvarez a46d4afe4b Bug 1559076 - Invalidate parts in nested shadow trees correctly. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D54010

--HG--
extra : moz-landing-system : lando
2019-11-21 10:32:10 +00:00
Emilio Cobos Álvarez b4d798e696 Bug 1559076 - Restyle all descendants when the exportparts attribute changes. r=heycam
This attribute is not expected to change often, so it seems fine to restyle the
whole subtree.

Bug 1598094 tracks further optimizations, should they be needed.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 10:32:17 +00:00
Emilio Cobos Álvarez 74823e8b90 Bug 1559076 - Implement shadow part forwarding (minus invalidation). r=heycam
Some of the stuff, in particular inside GeckoBindings stuff should be
refactored to be less ugly and duplicate a bit less code, but the rest of the
code should be landable as is.

Some invalidation changes are already needed because we weren't matching with
the right shadow host during invalidation (which made existing ::part() tests
fail).

Pending invalidation work:

 * Making exportparts work right on the snapshots.
 * Invalidating parts from descendant hosts.

They're not very hard but I need to think how to best implement it:

 * Maybe get rid of ShadowRoot::mParts and just walk DOM descendants in the
   Shadow DOM.

 * Maybe implement a ElementHasExportPartsAttr much like HasPartAttr and use
   that to keep the list of elements.

 * Maybe invalidate :host and ::part() together in here[1]

 * Maybe something else.

Opinions?

[1]: https://searchfox.org/mozilla-central/rev/131338e5017bc0283d86fb73844407b9a2155c98/servo/components/style/invalidation/element/invalidator.rs#561

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

--HG--
extra : moz-landing-system : lando
2019-11-21 10:32:32 +00:00
jeffin143 74bcc4abb7 Bug 1597979 : convert NS_STYLE_TEXT_ANCHOR_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53956

--HG--
extra : moz-landing-system : lando
2019-11-21 08:48:19 +00:00
jeffin143 aa897e8496 Bug 1597881 : convert NS_STYLE_STROKE_LINECAP_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53908

--HG--
extra : moz-landing-system : lando
2019-11-21 06:07:30 +00:00
Ting-Yu Lin 73021bb855 Bug 1598132 - Add GetPrevContinuationOrIBSplitSibling() and improve GetNextContinuationOrIBSplitSibling() in nsLayoutUtils. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54037

--HG--
extra : moz-landing-system : lando
2019-11-20 22:31:31 +00:00
Dzmitry Malyshau 1e8edf9e02 Bug 1597319 - Use rounded rect FAST_PATH more agressively r=gw
Differential Revision: https://phabricator.services.mozilla.com/D53999

--HG--
extra : moz-landing-system : lando
2019-11-21 00:53:00 +00:00
Daniel Holbert 571fd2eafe Bug 1578586: Don't let the "percentages-can-resolve-against-ancestor" quirk apply to percentages in flex/grid items. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D44583

--HG--
extra : moz-landing-system : lando
2019-11-20 23:50:32 +00:00
Narcis Beleuzu 4305bf1a25 Backed out changeset ab47a4eac76c (bug 1597319) for WR bustages on perspective-box-shadow.yaml . CLOSED TREE 2019-11-21 02:34:15 +02:00
Dzmitry Malyshau 3a063c9858 Bug 1597319 - Use rounded rect FAST_PATH more agressively r=gw
Differential Revision: https://phabricator.services.mozilla.com/D53999

--HG--
extra : rebase_source : 4bde6755f4fa92d85300888dc286b9fd97100c90
extra : source : d65ded00cb51c7c5e3e1a23145b2a8bf15e5e52e
2019-11-20 18:48:50 +00:00
Emma Malysz 273aab2e2a Bug 1596884, replace remaining .xul files in layout/tools with .xhtml r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D53898

--HG--
rename : layout/tools/layout-debug/ui/content/layoutdebug.xul => layout/tools/layout-debug/ui/content/layoutdebug.xhtml
rename : layout/tools/recording/recording.xul => layout/tools/recording/recording.xhtml
rename : layout/tools/reftest/reftest.xul => layout/tools/reftest/reftest.xhtml
extra : moz-landing-system : lando
2019-11-20 20:40:32 +00:00
shindli f1c84ddb25 Backed out changeset d65ded00cb51 (bug 1597319) for causing wrench bustages CLOSED TREE 2019-11-20 22:37:01 +02:00
Dzmitry Malyshau 8fd6f3ba5d Bug 1597319 - Use rounded rect FAST_PATH more agressively r=gw
Differential Revision: https://phabricator.services.mozilla.com/D53999

--HG--
extra : moz-landing-system : lando
2019-11-20 18:48:50 +00:00
Emilio Cobos Álvarez 1ff253ad20 Bug 1507674 - Flush the overflow changed tracker earlier. r=jwatt
So we do it while we're still handling re-entrant changes for SVG, since SVG can
post change hints from UpdateOverflow().

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

--HG--
extra : moz-landing-system : lando
2019-11-20 13:18:31 +00:00
Emilio Cobos Álvarez 44e2f8b6ed Bug 1507674 - Refactor svg observer setup to not do silly things when observing an ancestor. r=longsonr
Right now we post updates and it "works" because we prevent the UpdateOverflow
call if we're during reflow.

If this happens during styling however this is not sound (and it is not sound
in general and has caused badness in the past, as noted by the other
workarounds).

Make it sound by preventing to observe ancestors, and do it everywhere, removing
various ad-hoc hacks that were spread around elsewhere.

This changes expectations of two tests:

 * clip-path-recursion-002.svg: Now we consider the inner clip-path reference
   invalid. This matches WebKit and Blink, and I don't see any spec text
   explicitly asking for our old behavior, so I just changed the test.

 * element-paint-recursion.html: Changes the expectations of elements
   referencing themselves via -moz-element(). Now it is invalid, instead of
   painting ourselves once inside ourselves, which was a bit wild on its own.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 10:05:29 +00:00
Emilio Cobos Álvarez 6ea82affcf Bug 1597588 - Make rust Atom use NonZeroUsize. r=heycam
At first I thought this was going to enable simplifications in the selector
parser (to simplify the attribute selector setup), but I couldn't end up
shrinking the layout enough.

However this should help with bug 1559076, which returns Option<Atom>, and it
was easy to write.

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

--HG--
extra : moz-landing-system : lando
2019-11-20 05:46:56 +00:00
Bob Owen 8b54efceb2 Bug 1547286 Part 2: Adjust fuzz for reftests with differing backends when remote canvas and webrender enabled.
Differential Revision: https://phabricator.services.mozilla.com/D53945

--HG--
extra : moz-landing-system : lando
2019-11-20 13:13:21 +00:00
Cameron McCormack 49adf4ee23 Bug 371787 - Add support for letter-spacing and word-spacing in SVG text. r=jfkthame,longsonr
Differential Revision: https://phabricator.services.mozilla.com/D53376

--HG--
extra : moz-landing-system : lando
2019-11-20 04:10:36 +00:00
Emilio Cobos Álvarez 3088e153e5 Bug 1597160 - Remove nsChangeHint_UpdateWidgetProperties. r=mstange
:ntim was about to add another widget-affecting property (pointer-events) to
menupopups to replace the mousethrough attribute, see bug 1597120.

But pointer-events is inherited, and thus changing pointer-events on any element
would cause a change list of length == the number of descendants of the element,
which is not amazing.

So I suggested using DidSetComputedStyle instead, as this is fairly
popup-specific, but we may as well be consistent and do the same everywhere.

This removes the code to handle the -moz-window-* properties on the root frame,
as I haven't seen any usage of them (we always set them in panel or menupopup).

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

--HG--
extra : moz-landing-system : lando
2019-11-20 02:37:06 +00:00
jeffin143 6482a37fc1 Bug 1597741 : use Enum class for NS_STYLE_SHAPE_RENDERING instead of #define r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53840

--HG--
extra : moz-landing-system : lando
2019-11-20 00:49:19 +00:00
jeffin143 a387bde283 Bug 1597700 : Remove unnecessary #define in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53824

--HG--
extra : moz-landing-system : lando
2019-11-19 16:56:58 +00:00
Brian Grinstead d71d764018 Bug 1592369 - Set [orient], [pack], [dir], and [align] styles with CSS instead of reading the XUL layout attributes r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D51013

--HG--
extra : moz-landing-system : lando
2019-11-19 20:30:54 +00:00
Brian Grinstead 968ce5f08d Bug 1592369 - Rewrite [align="left"] to [align="start"] and [align="right"] to [align="end"] in XUL elements r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D51164

--HG--
extra : moz-landing-system : lando
2019-11-19 20:30:34 +00:00
Emilio Cobos Álvarez 1ce127f931 Bug 1559076 - Minor debugging improvements. r=heycam
These were useful when implementing forwarding, and forgot to send them
earlier.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 06:47:12 +00:00
Botond Ballo 27acc9722e Bug 1589022 - Ignore displayport properties in GetDisplayPortImpl() if APZ is disabled. r=tnikkel
This facilitates disabling APZ "live", such as when moving a tab from an APZ
window into a non-APZ window.

Depends on D51468

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

--HG--
extra : moz-landing-system : lando
2019-11-11 09:23:45 +00:00
Ehsan Akhgari dc998c5c5a Bug 1592599 - Switch nsIDocShell.getDocShellEnumerator() away from using nsISimpleEnumerator; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D51100

--HG--
extra : moz-landing-system : lando
2019-11-18 20:11:58 +00:00
Timothy Nikkel 839f03cfe6 Bug 1593170. Skip 1553571-1.html reftest on android debug webrender. r=mattwoodrow
The changes to make the test harness avoid busy waiting with setTimeout(0)'s made this test fail on Android 8.0 debug webrender. In order to get an active layer the test tweaks a transform slightly that has no visual effect every 74 ms. This is necessary to test the bug as far as I can tell (I wrote the test). The test times out because MakeProgress never makes any progress, there is always an afterpaint pending or an after paint has fired and we need to update the canvas for it. The painting and running through the settimeouts etc of the reftest harness take slightly too long. Before the changes to remove the busy waits we were just barely passing this test, it took 76 seconds in once instance that I checked and hundreds of iterations before we could make progress. Haven't debugged exactly why removing the busywaits makes this fail but it doesn't seem important.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 11:27:49 +00:00
Timothy Nikkel a43e37dbe9 Bug 1593170. Check if contentRootElement is a dead wrapper before using it. r=mattwoodrow,dbaron
With the fission changes everything is more async, meaning some tests can run longer. Some crashtests navigate to a new location meaning the original root element we have a variable for is no longer around, and chrome isn't allowed to keep content nodes alive, so we are left holding a dead wrapper that throws if we try to access anything on it.

So we check if contentRootElement has become a dead wrapper (and null it out) any time we try to access it and it could have become dead. Generally the existing code already handled a null contentRootElement.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 11:27:00 +00:00
Timothy Nikkel c650cc8186 Bug 1593170. Avoid useless painting work in queued up rects to paint by ignoring new rects that are already covered. r=mattwoodrow
I don't think this is strictly necessary but it lets us avoid a bunch of useless work, especially with webrender where these rects are always the full window size.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 11:26:45 +00:00
Timothy Nikkel 87226fdf3b Bug 1593170. Adjust how we deal with the reftest events for async plugin drawing for the fission changes to the reftest harness. r=mattwoodrow
The long code comment explains.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 11:26:33 +00:00
Timothy Nikkel 3566a45a32 Bug 1593170. Make the reftest harness deal with SynchronizeForSnapshot and FlushRendering returning promises. r=mattwoodrow
The code comment mostly explains the design. Basically, we force nothing to happen while we wait for the promises to finish and instead record what we need to do once the promise is finished, and do those pending tasks when it's finished.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 11:26:20 +00:00
Timothy Nikkel 7587502593 Bug 1593170. Make the reftest-content.js functions FlushRendering and SynchronizeForSnapshot work on Fission child oop iframes. r=mattwoodrow,kmag
This changes them to return a promise that resolves when the work is done, but we still need to change the callers to handle this new return type and do the right thing when these functions do their work async-ly.

To do this we add a JSWindowActor called ReftestFission. reftest-content.js communicates with this actor via reftest.jsm.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 11:25:11 +00:00
Emilio Cobos Álvarez ddad5ae430 Bug 1596800 - Remove document.getAnonymousNodes as well. r=smaug
As it always returns null.

Depends on D53342

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

--HG--
extra : moz-landing-system : lando
2019-11-18 19:15:16 +00:00
Mats Palmgren db21395105 Bug 1596310 - Clamp negative available size to zero and ensure page break frames don't apply margins. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D53040

--HG--
extra : moz-landing-system : lando
2019-11-18 20:36:52 +00:00
Micah Tigley 72a0d2c330 Bug 1593708 - Part 2: Get inRDMPane value from BrowsingContext instead of Document. r=smaug
Depends on D52214

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

--HG--
extra : moz-landing-system : lando
2019-11-14 20:32:02 +00:00
Daniel Holbert d766f0195b Bug 1597348: When reflow is interrupted, purge flex items' cached measurements during the same traversal that we use to mark ancestor-chain as dirty. r=emilio
This means we no longer have any use for the frame state bit
"NS_STATE_FLEX_MEASUREMENTS_INTERRUPTED". Now, if a flex container
has N children and only the last child is interrupted, we'll only
purge the last child's measurement (and we'll do it promptly at the
end of the whole interrupted reflow).

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

--HG--
extra : moz-landing-system : lando
2019-11-18 19:19:42 +00:00
Daniel Holbert 757e4475d6 Bug 1597177: Make flex containers check for interruptions a bit earlier (right after the measurement whose interruption they care about). r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53670

--HG--
extra : moz-landing-system : lando
2019-11-18 18:16:59 +00:00
Alexander Surkov 40f1b26958 Bug 1594122 - remove skip xbl tests option r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53262

--HG--
extra : moz-landing-system : lando
2019-11-15 20:33:32 +00:00
Emilio Cobos Álvarez ba2ffbed2e Bug 1597123 - Remove NODE_IS_ANONYMOUS_ROOT. r=smaug
We no longer have multiple kinds of anonymous subtrees, so we can get back one
node bit.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 08:49:27 +00:00
Daniel Holbert c64509fb40 Bug 1579929 followup: change this bug's new logging to use new FLEX_LOG macro. (no review)
Differential Revision: https://phabricator.services.mozilla.com/D53386

--HG--
extra : moz-landing-system : lando
2019-11-18 07:07:03 +00:00
Daniel Holbert 56e5e14ea5 Bug 1579929: When a reflow is interrupted, don't purge flex item measurements until the next time they're needed in a later non-interrupted reflow. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53313

--HG--
extra : moz-landing-system : lando
2019-11-18 06:49:06 +00:00
Arthur Iakab 3e63c29465 Backed out 8 changesets (bug 1593170) for causing mass reftest failures. CLOSED TREE
Backed out changeset 2c98625f235b (bug 1593170)
Backed out changeset 39d63ae4d287 (bug 1593170)
Backed out changeset 2c8e57a90cb8 (bug 1593170)
Backed out changeset d511975b764e (bug 1593170)
Backed out changeset a10072d821e5 (bug 1593170)
Backed out changeset 80bd8cadf835 (bug 1593170)
Backed out changeset a004de649342 (bug 1593170)
Backed out changeset 78d380a2241a (bug 1593170)
2019-11-18 04:07:19 +02:00
Timothy Nikkel b564a7acf8 Bug 1593170. Skip 1553571-1.html reftest on android debug webrender. r=mattwoodrow
The changes to make the test harness avoid busy waiting with setTimeout(0)'s made this test fail on Android 8.0 debug webrender. In order to get an active layer the test tweaks a transform slightly that has no visual effect every 74 ms. This is necessary to test the bug as far as I can tell (I wrote the test). The test times out because MakeProgress never makes any progress, there is always an afterpaint pending or an after paint has fired and we need to update the canvas for it. The painting and running through the settimeouts etc of the reftest harness take slightly too long. Before the changes to remove the busy waits we were just barely passing this test, it took 76 seconds in once instance that I checked and hundreds of iterations before we could make progress. Haven't debugged exactly why removing the busywaits makes this fail but it doesn't seem important.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 00:50:47 +00:00
Timothy Nikkel c0fa0a7a0e Bug 1593170. Check if contentRootElement is a dead wrapper before using it. r=mattwoodrow,dbaron
With the fission changes everything is more async, meaning some tests can run longer. Some crashtests navigate to a new location meaning the original root element we have a variable for is no longer around, and chrome isn't allowed to keep content nodes alive, so we are left holding a dead wrapper that throws if we try to access anything on it.

So we check if contentRootElement has become a dead wrapper (and null it out) any time we try to access it and it could have become dead. Generally the existing code already handled a null contentRootElement.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 00:49:07 +00:00
Timothy Nikkel d81e1df1af Bug 1593170. Avoid useless painting work in queued up rects to paint by ignoring new rects that are already covered. r=mattwoodrow
I don't think this is strictly necessary but it lets us avoid a bunch of useless work, especially with webrender where these rects are always the full window size.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 00:45:46 +00:00
Timothy Nikkel 6f7bbcfd74 Bug 1593170. Adjust how we deal with the reftest events for async plugin drawing for the fission changes to the reftest harness. r=mattwoodrow
The long code comment explains.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 00:45:33 +00:00
Timothy Nikkel 36a23c3f84 Bug 1593170. Make the reftest harness deal with SynchronizeForSnapshot and FlushRendering returning promises. r=mattwoodrow
The code comment mostly explains the design. Basically, we force nothing to happen while we wait for the promises to finish and instead record what we need to do once the promise is finished, and do those pending tasks when it's finished.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 00:45:25 +00:00
Timothy Nikkel c8fc6a9ab7 Bug 1593170. Make the reftest-content.js functions FlushRendering and SynchronizeForSnapshot work on Fission child oop iframes. r=mattwoodrow,kmag
This changes them to return a promise that resolves when the work is done, but we still need to change the callers to handle this new return type and do the right thing when these functions do their work async-ly.

To do this we add a JSWindowActor called ReftestFission. reftest-content.js communicates with this actor via reftest.jsm.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 00:45:07 +00:00
Cameron McCormack caa207eb2a Bug 1586444 - Avoid styling scrollbar part children of object elements with vertical-align. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53124

--HG--
extra : moz-landing-system : lando
2019-11-17 23:17:34 +00:00
Cosmin Sabou 3bfac1cf0b Bug 1592998 - Adjust paced-1.svg fuzzy if range because of frequent failures on mac, linux and windows. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D53321

--HG--
extra : moz-landing-system : lando
2019-11-16 22:42:15 +00:00
James Hooks 6ea13e1732 Bug 1585806 - Make SideBits an enum class, add casting where necessary. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D51291

--HG--
extra : moz-landing-system : lando
2019-11-16 20:59:34 +00:00
Ting-Yu Lin 25e167c714 Bug 1596973 - Improve FlexContainer's logging facility. r=dholbert
It is a bit awkward to use raw MOZ_LOG directly, so I added FLEX_LOG()
to easily add `printf()` style logs.

"\n" is not need because MOZ_LOG() already appends one.

I hope it is OK to change the log module name to "FlexContainer". It's
shorter to type either by using

`MOZ_LOG=FlexContainer:debug ./mach run` or by setting

`logging.FlexContainer=debug` in [runprefs] section in `~/.mozbuild/machrc`

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

--HG--
extra : moz-landing-system : lando
2019-11-16 00:57:50 +00:00
Boris Chiou 52546e8558 Bug 1596610 - Set WillChangeBits::TRANSFORM for offset-path and add tests for it. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D53109

--HG--
extra : moz-landing-system : lando
2019-11-16 01:52:32 +00:00
Emma Malysz a1a57a8bc5 Bug 1595877, replace some .xul test files (crashtests and reftests) in layout/ with .xhtml r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52930

--HG--
rename : layout/base/crashtests/1162813.xul => layout/base/crashtests/1162813.xhtml
rename : layout/base/crashtests/311661-1.xul => layout/base/crashtests/311661-1.xhtml
rename : layout/base/crashtests/311661-2.xul => layout/base/crashtests/311661-2.xhtml
rename : layout/base/crashtests/321058-1.xul => layout/base/crashtests/321058-1.xhtml
rename : layout/base/crashtests/321058-2.xul => layout/base/crashtests/321058-2.xhtml
rename : layout/base/crashtests/321077-1.xul => layout/base/crashtests/321077-1.xhtml
rename : layout/base/crashtests/321077-2.xul => layout/base/crashtests/321077-2.xhtml
rename : layout/base/crashtests/325218.xul => layout/base/crashtests/325218.xhtml
rename : layout/base/crashtests/328944-1.xul => layout/base/crashtests/328944-1.xhtml
rename : layout/base/crashtests/336999-1.xul => layout/base/crashtests/336999-1.xhtml
rename : layout/base/crashtests/337476-1.xul => layout/base/crashtests/337476-1.xhtml
rename : layout/base/crashtests/340093-1.xul => layout/base/crashtests/340093-1.xhtml
rename : layout/base/crashtests/344340-1.xul => layout/base/crashtests/344340-1.xhtml
rename : layout/base/crashtests/356325-1.xul => layout/base/crashtests/356325-1.xhtml
rename : layout/base/crashtests/360339-1.xul => layout/base/crashtests/360339-1.xhtml
rename : layout/base/crashtests/360339-2.xul => layout/base/crashtests/360339-2.xhtml
rename : layout/base/crashtests/401589-1.xul => layout/base/crashtests/401589-1.xhtml
rename : layout/base/crashtests/405049-1.xul => layout/base/crashtests/405049-1.xhtml
rename : layout/base/crashtests/421203-1.xul => layout/base/crashtests/421203-1.xhtml
rename : layout/base/crashtests/444925-1.xul => layout/base/crashtests/444925-1.xhtml
rename : layout/base/crashtests/454751-1.xul => layout/base/crashtests/454751-1.xhtml
rename : layout/base/crashtests/491547-1.xul => layout/base/crashtests/491547-1.xhtml
rename : layout/base/crashtests/491547-2.xul => layout/base/crashtests/491547-2.xhtml
rename : layout/base/crashtests/526378-1.xul => layout/base/crashtests/526378-1.xhtml
rename : layout/base/crashtests/536720.xul => layout/base/crashtests/536720.xhtml
rename : layout/base/crashtests/538082-1.xul => layout/base/crashtests/538082-1.xhtml
rename : layout/base/crashtests/540760.xul => layout/base/crashtests/540760.xhtml
rename : layout/base/crashtests/572003.xul => layout/base/crashtests/572003.xhtml
rename : layout/forms/crashtests/363696-1.xul => layout/forms/crashtests/363696-1.xhtml
rename : layout/generic/crashtests/1003441.xul => layout/generic/crashtests/1003441.xhtml
rename : layout/generic/crashtests/1520798-1.xul => layout/generic/crashtests/1520798-1.xhtml
rename : layout/generic/crashtests/321224.xul => layout/generic/crashtests/321224.xhtml
rename : layout/generic/crashtests/322780-1.xul => layout/generic/crashtests/322780-1.xhtml
rename : layout/generic/crashtests/414180-1.xul => layout/generic/crashtests/414180-1.xhtml
rename : layout/generic/crashtests/442860-1.xul => layout/generic/crashtests/442860-1.xhtml
rename : layout/generic/crashtests/508816-1.xul => layout/generic/crashtests/508816-1.xhtml
rename : layout/generic/crashtests/578977.xul => layout/generic/crashtests/578977.xhtml
rename : layout/reftests/bidi/1155359-1-ref.xul => layout/reftests/bidi/1155359-1-ref.xhtml
rename : layout/reftests/bidi/1155359-1.xul => layout/reftests/bidi/1155359-1.xhtml
rename : layout/reftests/bidi/869833-1-ref.xul => layout/reftests/bidi/869833-1-ref.xhtml
rename : layout/reftests/bidi/869833-1.xul => layout/reftests/bidi/869833-1.xhtml
rename : layout/reftests/box-ordinal/dynamic-1-add-to-one-grouped.xul => layout/reftests/box-ordinal/dynamic-1-add-to-one-grouped.xhtml
rename : layout/reftests/box-ordinal/dynamic-1-add-to-two-grouped-1.xul => layout/reftests/box-ordinal/dynamic-1-add-to-two-grouped-1.xhtml
rename : layout/reftests/box-ordinal/dynamic-1-add-to-two-grouped-2.xul => layout/reftests/box-ordinal/dynamic-1-add-to-two-grouped-2.xhtml
rename : layout/reftests/box-ordinal/dynamic-1-ref.xul => layout/reftests/box-ordinal/dynamic-1-ref.xhtml
rename : layout/reftests/box-ordinal/dynamic-1-remove-to-none-grouped.xul => layout/reftests/box-ordinal/dynamic-1-remove-to-none-grouped.xhtml
rename : layout/reftests/box-ordinal/dynamic-1-remove-to-one-grouped-1.xul => layout/reftests/box-ordinal/dynamic-1-remove-to-one-grouped-1.xhtml
rename : layout/reftests/box-ordinal/dynamic-1-remove-to-one-grouped-2.xul => layout/reftests/box-ordinal/dynamic-1-remove-to-one-grouped-2.xhtml
rename : layout/reftests/box-shadow/boxshadow-dynamic-ref.xul => layout/reftests/box-shadow/boxshadow-dynamic-ref.xhtml
rename : layout/reftests/box-shadow/boxshadow-dynamic.xul => layout/reftests/box-shadow/boxshadow-dynamic.xhtml
rename : layout/reftests/bugs/1150021-1-ref.xul => layout/reftests/bugs/1150021-1-ref.xhtml
rename : layout/reftests/bugs/1150021-1.xul => layout/reftests/bugs/1150021-1.xhtml
rename : layout/reftests/bugs/1483649-1-ref.xul => layout/reftests/bugs/1483649-1-ref.xhtml
rename : layout/reftests/bugs/1483649-1.xul => layout/reftests/bugs/1483649-1.xhtml
rename : layout/reftests/bugs/192767-01.xul => layout/reftests/bugs/192767-01.xhtml
rename : layout/reftests/bugs/192767-02.xul => layout/reftests/bugs/192767-02.xhtml
rename : layout/reftests/bugs/192767-03.xul => layout/reftests/bugs/192767-03.xhtml
rename : layout/reftests/bugs/192767-04.xul => layout/reftests/bugs/192767-04.xhtml
rename : layout/reftests/bugs/192767-05.xul => layout/reftests/bugs/192767-05.xhtml
rename : layout/reftests/bugs/192767-06.xul => layout/reftests/bugs/192767-06.xhtml
rename : layout/reftests/bugs/192767-07.xul => layout/reftests/bugs/192767-07.xhtml
rename : layout/reftests/bugs/192767-11.xul => layout/reftests/bugs/192767-11.xhtml
rename : layout/reftests/bugs/192767-12.xul => layout/reftests/bugs/192767-12.xhtml
rename : layout/reftests/bugs/192767-13.xul => layout/reftests/bugs/192767-13.xhtml
rename : layout/reftests/bugs/192767-14.xul => layout/reftests/bugs/192767-14.xhtml
rename : layout/reftests/bugs/192767-15.xul => layout/reftests/bugs/192767-15.xhtml
rename : layout/reftests/bugs/192767-16.xul => layout/reftests/bugs/192767-16.xhtml
rename : layout/reftests/bugs/192767-17.xul => layout/reftests/bugs/192767-17.xhtml
rename : layout/reftests/bugs/192767-21.xul => layout/reftests/bugs/192767-21.xhtml
rename : layout/reftests/bugs/192767-22.xul => layout/reftests/bugs/192767-22.xhtml
rename : layout/reftests/bugs/192767-23.xul => layout/reftests/bugs/192767-23.xhtml
rename : layout/reftests/bugs/192767-24.xul => layout/reftests/bugs/192767-24.xhtml
rename : layout/reftests/bugs/192767-25.xul => layout/reftests/bugs/192767-25.xhtml
rename : layout/reftests/bugs/192767-26.xul => layout/reftests/bugs/192767-26.xhtml
rename : layout/reftests/bugs/192767-27.xul => layout/reftests/bugs/192767-27.xhtml
rename : layout/reftests/bugs/192767-31.xul => layout/reftests/bugs/192767-31.xhtml
rename : layout/reftests/bugs/192767-32.xul => layout/reftests/bugs/192767-32.xhtml
rename : layout/reftests/bugs/192767-33.xul => layout/reftests/bugs/192767-33.xhtml
rename : layout/reftests/bugs/192767-34.xul => layout/reftests/bugs/192767-34.xhtml
rename : layout/reftests/bugs/192767-35.xul => layout/reftests/bugs/192767-35.xhtml
rename : layout/reftests/bugs/192767-36.xul => layout/reftests/bugs/192767-36.xhtml
rename : layout/reftests/bugs/192767-37.xul => layout/reftests/bugs/192767-37.xhtml
rename : layout/reftests/bugs/249141-ref.xul => layout/reftests/bugs/249141-ref.xhtml
rename : layout/reftests/bugs/249141.xul => layout/reftests/bugs/249141.xhtml
rename : layout/reftests/bugs/261826-1-ref.xul => layout/reftests/bugs/261826-1-ref.xhtml
rename : layout/reftests/bugs/261826-1.xul => layout/reftests/bugs/261826-1.xhtml
rename : layout/reftests/bugs/272646-1-ref.xul => layout/reftests/bugs/272646-1-ref.xhtml
rename : layout/reftests/bugs/272646-1.xul => layout/reftests/bugs/272646-1.xhtml
rename : layout/reftests/bugs/272646-2-ref.xul => layout/reftests/bugs/272646-2-ref.xhtml
rename : layout/reftests/bugs/272646-2a.xul => layout/reftests/bugs/272646-2a.xhtml
rename : layout/reftests/bugs/272646-2b.xul => layout/reftests/bugs/272646-2b.xhtml
rename : layout/reftests/bugs/272646-2c.xul => layout/reftests/bugs/272646-2c.xhtml
rename : layout/reftests/bugs/299837-2-ref.xul => layout/reftests/bugs/299837-2-ref.xhtml
rename : layout/reftests/bugs/299837-2.xul => layout/reftests/bugs/299837-2.xhtml
rename : layout/reftests/bugs/299837-3-ref.xul => layout/reftests/bugs/299837-3-ref.xhtml
rename : layout/reftests/bugs/299837-3.xul => layout/reftests/bugs/299837-3.xhtml
rename : layout/reftests/bugs/321402-3-ref.xul => layout/reftests/bugs/321402-3-ref.xhtml
rename : layout/reftests/bugs/321402-3.xul => layout/reftests/bugs/321402-3.xhtml
rename : layout/reftests/bugs/321402-4-ref.xul => layout/reftests/bugs/321402-4-ref.xhtml
rename : layout/reftests/bugs/321402-4.xul => layout/reftests/bugs/321402-4.xhtml
rename : layout/reftests/bugs/321402-5-ref.xul => layout/reftests/bugs/321402-5-ref.xhtml
rename : layout/reftests/bugs/321402-5.xul => layout/reftests/bugs/321402-5.xhtml
rename : layout/reftests/bugs/321402-6-ref.xul => layout/reftests/bugs/321402-6-ref.xhtml
rename : layout/reftests/bugs/321402-6.xul => layout/reftests/bugs/321402-6.xhtml
rename : layout/reftests/bugs/331809-1.xul => layout/reftests/bugs/331809-1.xhtml
rename : layout/reftests/bugs/336096-1-ref.xul => layout/reftests/bugs/336096-1-ref.xhtml
rename : layout/reftests/bugs/336096-1.xul => layout/reftests/bugs/336096-1.xhtml
rename : layout/reftests/bugs/364968-1.xul => layout/reftests/bugs/364968-1.xhtml
rename : layout/reftests/bugs/366616-1-ref.xul => layout/reftests/bugs/366616-1-ref.xhtml
rename : layout/reftests/bugs/366616-1.xul => layout/reftests/bugs/366616-1.xhtml
rename : layout/reftests/bugs/369882-ref.xul => layout/reftests/bugs/369882-ref.xhtml
rename : layout/reftests/bugs/369882.xul => layout/reftests/bugs/369882.xhtml
rename : layout/reftests/bugs/374038-1-ref.xul => layout/reftests/bugs/374038-1-ref.xhtml
rename : layout/reftests/bugs/374038-1.xul => layout/reftests/bugs/374038-1.xhtml
rename : layout/reftests/bugs/374038-2-ref.xul => layout/reftests/bugs/374038-2-ref.xhtml
rename : layout/reftests/bugs/374038-2.xul => layout/reftests/bugs/374038-2.xhtml
rename : layout/reftests/bugs/401946-1.xul => layout/reftests/bugs/401946-1.xhtml
rename : layout/reftests/bugs/403505-1-ref.xul => layout/reftests/bugs/403505-1-ref.xhtml
rename : layout/reftests/bugs/404149-1-ref.xul => layout/reftests/bugs/404149-1-ref.xhtml
rename : layout/reftests/bugs/404149-1.xul => layout/reftests/bugs/404149-1.xhtml
rename : layout/reftests/bugs/421203-1.xul => layout/reftests/bugs/421203-1.xhtml
rename : layout/reftests/bugs/421203-2.xul => layout/reftests/bugs/421203-2.xhtml
rename : layout/reftests/bugs/421203-3.xul => layout/reftests/bugs/421203-3.xhtml
rename : layout/reftests/bugs/421203-4.xul => layout/reftests/bugs/421203-4.xhtml
rename : layout/reftests/bugs/421203-5.xul => layout/reftests/bugs/421203-5.xhtml
rename : layout/reftests/bugs/421203-6.xul => layout/reftests/bugs/421203-6.xhtml
rename : layout/reftests/bugs/424074-1-ref.xul => layout/reftests/bugs/424074-1-ref.xhtml
rename : layout/reftests/bugs/424074-1-ref2.xul => layout/reftests/bugs/424074-1-ref2.xhtml
rename : layout/reftests/bugs/424074-1-ref3.xul => layout/reftests/bugs/424074-1-ref3.xhtml
rename : layout/reftests/bugs/424074-1.xul => layout/reftests/bugs/424074-1.xhtml
rename : layout/reftests/bugs/456147.xul => layout/reftests/bugs/456147.xhtml
rename : layout/reftests/bugs/463217-1-ref.xul => layout/reftests/bugs/463217-1-ref.xhtml
rename : layout/reftests/bugs/463217-1.xul => layout/reftests/bugs/463217-1.xhtml
rename : layout/reftests/bugs/468473-1-ref.xul => layout/reftests/bugs/468473-1-ref.xhtml
rename : layout/reftests/bugs/468473-1.xul => layout/reftests/bugs/468473-1.xhtml
rename : layout/reftests/bugs/472500-1-ref.xul => layout/reftests/bugs/472500-1-ref.xhtml
rename : layout/reftests/bugs/472500-1.xul => layout/reftests/bugs/472500-1.xhtml
rename : layout/reftests/bugs/473847-1-ref.xul => layout/reftests/bugs/473847-1-ref.xhtml
rename : layout/reftests/bugs/473847-1.xul => layout/reftests/bugs/473847-1.xhtml
rename : layout/reftests/bugs/478377-1-ref.xul => layout/reftests/bugs/478377-1-ref.xhtml
rename : layout/reftests/bugs/478377-1.xul => layout/reftests/bugs/478377-1.xhtml
rename : layout/reftests/bugs/483565-ref.xul => layout/reftests/bugs/483565-ref.xhtml
rename : layout/reftests/bugs/483565.xul => layout/reftests/bugs/483565.xhtml
rename : layout/reftests/bugs/491323-1-ref.xul => layout/reftests/bugs/491323-1-ref.xhtml
rename : layout/reftests/bugs/491323-1.xul => layout/reftests/bugs/491323-1.xhtml
rename : layout/reftests/bugs/508908-1-ref.xul => layout/reftests/bugs/508908-1-ref.xhtml
rename : layout/reftests/bugs/508908-1.xul => layout/reftests/bugs/508908-1.xhtml
rename : layout/reftests/bugs/513318-1-ref.xul => layout/reftests/bugs/513318-1-ref.xhtml
rename : layout/reftests/bugs/513318-1.xul => layout/reftests/bugs/513318-1.xhtml
rename : layout/reftests/bugs/513318-2-ref.xul => layout/reftests/bugs/513318-2-ref.xhtml
rename : layout/reftests/bugs/513318-2.xul => layout/reftests/bugs/513318-2.xhtml
rename : layout/reftests/bugs/537507-1-frame.xul => layout/reftests/bugs/537507-1-frame.xhtml
rename : layout/reftests/bugs/537507-1-ref.xul => layout/reftests/bugs/537507-1-ref.xhtml
rename : layout/reftests/bugs/537507-1.xul => layout/reftests/bugs/537507-1.xhtml
rename : layout/reftests/bugs/537507-1-frame.xul => layout/reftests/bugs/537507-2-frame.xhtml
rename : layout/reftests/bugs/558011-1-ref.xul => layout/reftests/bugs/558011-1-ref.xhtml
rename : layout/reftests/bugs/558011-1.xul => layout/reftests/bugs/558011-1.xhtml
rename : layout/reftests/bugs/664127-1-ref.xul => layout/reftests/bugs/664127-1-ref.xhtml
rename : layout/reftests/bugs/664127-1.xul => layout/reftests/bugs/664127-1.xhtml
rename : layout/reftests/bugs/668319-1.xul => layout/reftests/bugs/668319-1.xhtml
rename : layout/reftests/bugs/669015-1-notref.xul => layout/reftests/bugs/669015-1-notref.xhtml
rename : layout/reftests/bugs/669015-1.xul => layout/reftests/bugs/669015-1.xhtml
rename : layout/reftests/forms/input/file/background-ref.xul => layout/reftests/forms/input/file/background-ref.xhtml
rename : layout/reftests/forms/input/file/rtl-ref.xul => layout/reftests/forms/input/file/rtl-ref.xhtml
rename : layout/reftests/forms/input/file/simple-ref.xul => layout/reftests/forms/input/file/simple-ref.xhtml
rename : layout/reftests/forms/input/file/style-ref.xul => layout/reftests/forms/input/file/style-ref.xhtml
rename : layout/reftests/forms/input/text/centering-1-ref.xul => layout/reftests/forms/input/text/centering-1-ref.xhtml
rename : layout/reftests/forms/input/text/centering-1.xul => layout/reftests/forms/input/text/centering-1.xhtml
rename : layout/reftests/forms/input/text/dynamic-height-1-ref.xul => layout/reftests/forms/input/text/dynamic-height-1-ref.xhtml
rename : layout/reftests/forms/input/text/dynamic-height-1.xul => layout/reftests/forms/input/text/dynamic-height-1.xhtml
rename : layout/reftests/forms/textbox/accesskey-1-notref.xul => layout/reftests/forms/textbox/accesskey-1-notref.xhtml
rename : layout/reftests/forms/textbox/accesskey-1.xul => layout/reftests/forms/textbox/accesskey-1.xhtml
rename : layout/reftests/forms/textbox/accesskey-2-ref.xul => layout/reftests/forms/textbox/accesskey-2-ref.xhtml
rename : layout/reftests/forms/textbox/accesskey-2.xul => layout/reftests/forms/textbox/accesskey-2.xhtml
rename : layout/reftests/forms/textbox/accesskey-3-notref.xul => layout/reftests/forms/textbox/accesskey-3-notref.xhtml
rename : layout/reftests/forms/textbox/accesskey-3-ref.xul => layout/reftests/forms/textbox/accesskey-3-ref.xhtml
rename : layout/reftests/forms/textbox/accesskey-3.xul => layout/reftests/forms/textbox/accesskey-3.xhtml
rename : layout/reftests/forms/textbox/accesskey-3-notref.xul => layout/reftests/forms/textbox/accesskey-4-notref.xhtml
rename : layout/reftests/forms/textbox/accesskey-4-ref.xul => layout/reftests/forms/textbox/accesskey-4-ref.xhtml
rename : layout/reftests/forms/textbox/accesskey-4.xul => layout/reftests/forms/textbox/accesskey-4.xhtml
rename : layout/reftests/forms/textbox/align-baseline-1-ref.xul => layout/reftests/forms/textbox/align-baseline-1-ref.xhtml
rename : layout/reftests/forms/textbox/align-baseline-1.xul => layout/reftests/forms/textbox/align-baseline-1.xhtml
rename : layout/reftests/forms/textbox/setsize-ref.xul => layout/reftests/forms/textbox/setsize-ref.xhtml
rename : layout/reftests/forms/textbox/setsize.xul => layout/reftests/forms/textbox/setsize.xhtml
rename : layout/reftests/image-region/image-region-ref.xul => layout/reftests/image-region/image-region-ref.xhtml
rename : layout/reftests/image-region/image-region.xul => layout/reftests/image-region/image-region.xhtml
rename : layout/reftests/invalidation/540247-1-ref.xul => layout/reftests/invalidation/540247-1-ref.xhtml
rename : layout/reftests/invalidation/540247-1.xul => layout/reftests/invalidation/540247-1.xhtml
rename : layout/reftests/native-theme/470711-1-ref.xul => layout/reftests/native-theme/470711-1-ref.xhtml
rename : layout/reftests/native-theme/470711-1.xul => layout/reftests/native-theme/470711-1.xhtml
rename : layout/reftests/native-theme/482955-1-ref.xul => layout/reftests/native-theme/482955-1-ref.xhtml
rename : layout/reftests/native-theme/482955-1.xul => layout/reftests/native-theme/482955-1.xhtml
rename : layout/reftests/native-theme/676387-1-ref.xul => layout/reftests/native-theme/676387-1-ref.xhtml
rename : layout/reftests/native-theme/676387-1.xul => layout/reftests/native-theme/676387-1.xhtml
rename : layout/reftests/native-theme/blank-window.xul => layout/reftests/native-theme/blank-window.xhtml
rename : layout/reftests/native-theme/menulist-mirrored-when-rtl-ref.xul => layout/reftests/native-theme/menulist-mirrored-when-rtl-ref.xhtml
rename : layout/reftests/native-theme/menulist-mirrored-when-rtl.xul => layout/reftests/native-theme/menulist-mirrored-when-rtl.xhtml
rename : layout/reftests/native-theme/resizer-bottomend-flipped.xul => layout/reftests/native-theme/resizer-bottomend-flipped.xhtml
rename : layout/reftests/native-theme/resizer-bottomend-rtl.xul => layout/reftests/native-theme/resizer-bottomend-rtl.xhtml
rename : layout/reftests/native-theme/resizer-bottomend.xul => layout/reftests/native-theme/resizer-bottomend.xhtml
rename : layout/reftests/native-theme/resizer-bottomleft-rtl.xul => layout/reftests/native-theme/resizer-bottomleft-rtl.xhtml
rename : layout/reftests/native-theme/resizer-bottomleft.xul => layout/reftests/native-theme/resizer-bottomleft.xhtml
rename : layout/reftests/native-theme/resizer-bottomright-rtl.xul => layout/reftests/native-theme/resizer-bottomright-rtl.xhtml
rename : layout/reftests/native-theme/resizer-bottomright.xul => layout/reftests/native-theme/resizer-bottomright.xhtml
rename : layout/reftests/native-theme/resizer-bottomstart-rtl.xul => layout/reftests/native-theme/resizer-bottomstart-rtl.xhtml
rename : layout/reftests/native-theme/resizer-bottomstart.xul => layout/reftests/native-theme/resizer-bottomstart.xhtml
rename : layout/reftests/native-theme/resizer-left.xul => layout/reftests/native-theme/resizer-left.xhtml
rename : layout/reftests/native-theme/searchfield-mirrored-when-rtl-ref.xul => layout/reftests/native-theme/searchfield-mirrored-when-rtl-ref.xhtml
rename : layout/reftests/native-theme/searchfield-mirrored-when-rtl.xul => layout/reftests/native-theme/searchfield-mirrored-when-rtl.xhtml
rename : layout/reftests/reftest-sanity/test-async-ref.xul => layout/reftests/reftest-sanity/test-async-ref.xhtml
rename : layout/reftests/reftest-sanity/test-async.xul => layout/reftests/reftest-sanity/test-async.xhtml
rename : layout/reftests/text-shadow/basic-negcoord-ref.xul => layout/reftests/text-shadow/basic-negcoord-ref.xhtml
rename : layout/reftests/text-shadow/basic-negcoord.xul => layout/reftests/text-shadow/basic-negcoord.xhtml
rename : layout/reftests/text-shadow/basic-ref.xul => layout/reftests/text-shadow/basic-ref.xhtml
rename : layout/reftests/text-shadow/basic.xul => layout/reftests/text-shadow/basic.xhtml
rename : layout/reftests/text-shadow/blur-notref.xul => layout/reftests/text-shadow/blur-notref.xhtml
rename : layout/reftests/text-shadow/blur.xul => layout/reftests/text-shadow/blur.xhtml
rename : layout/reftests/text-shadow/color-inherit-ref.xul => layout/reftests/text-shadow/color-inherit-ref.xhtml
rename : layout/reftests/text-shadow/color-inherit.xul => layout/reftests/text-shadow/color-inherit.xhtml
rename : layout/reftests/text-shadow/multiple-noblur-ref.xul => layout/reftests/text-shadow/multiple-noblur-ref.xhtml
rename : layout/reftests/text-shadow/multiple-noblur.xul => layout/reftests/text-shadow/multiple-noblur.xhtml
rename : layout/reftests/xul-document-load/reference-green-window.xul => layout/reftests/xul-document-load/reference-green-window.xhtml
rename : layout/reftests/xul-document-load/test003.xul => layout/reftests/xul-document-load/test003.xhtml
rename : layout/reftests/xul-document-load/test004.xul => layout/reftests/xul-document-load/test004.xhtml
rename : layout/reftests/xul-document-load/test005.xul => layout/reftests/xul-document-load/test005.xhtml
rename : layout/reftests/xul-document-load/test006.xul => layout/reftests/xul-document-load/test006.xhtml
rename : layout/reftests/xul-document-load/test008.xul => layout/reftests/xul-document-load/test008.xhtml
rename : layout/reftests/xul-document-load/test010.xul => layout/reftests/xul-document-load/test010.xhtml
rename : layout/reftests/xul-document-load/test012.xul => layout/reftests/xul-document-load/test012.xhtml
rename : layout/reftests/xul-document-load/test013.xul => layout/reftests/xul-document-load/test013.xhtml
rename : layout/reftests/xul-document-load/test022.xul => layout/reftests/xul-document-load/test022.xhtml
rename : layout/reftests/xul/accesskey-ref.xul => layout/reftests/xul/accesskey-ref.xhtml
rename : layout/reftests/xul/accesskey.xul => layout/reftests/xul/accesskey.xhtml
rename : layout/reftests/native-theme/blank-window.xul => layout/reftests/xul/blank-window.xhtml
rename : layout/reftests/xul/css-flex-1.xul => layout/reftests/xul/css-flex-1.xhtml
rename : layout/reftests/xul/green-ref.xul => layout/reftests/xul/green-ref.xhtml
rename : layout/reftests/xul/image-appearance-dynamic-ref.xul => layout/reftests/xul/image-appearance-dynamic-ref.xhtml
rename : layout/reftests/xul/image-appearance-dynamic.xul => layout/reftests/xul/image-appearance-dynamic.xhtml
rename : layout/reftests/xul/inactive-fixed-bg-bug1205630.xul => layout/reftests/xul/inactive-fixed-bg-bug1205630.xhtml
rename : layout/reftests/xul/inactive-fixed-bg-bug1272525.xul => layout/reftests/xul/inactive-fixed-bg-bug1272525.xhtml
rename : layout/reftests/xul/mac-tab-toolbar-ref.xul => layout/reftests/xul/mac-tab-toolbar-ref.xhtml
rename : layout/reftests/xul/mac-tab-toolbar.xul => layout/reftests/xul/mac-tab-toolbar.xhtml
rename : layout/reftests/xul/menuitem-key-ref.xul => layout/reftests/xul/menuitem-key-ref.xhtml
rename : layout/reftests/xul/menuitem-key.xul => layout/reftests/xul/menuitem-key.xhtml
rename : layout/reftests/xul/menulist-shrinkwrap-1-ref.xul => layout/reftests/xul/menulist-shrinkwrap-1-ref.xhtml
rename : layout/reftests/xul/menulist-shrinkwrap-1.xul => layout/reftests/xul/menulist-shrinkwrap-1.xhtml
rename : layout/reftests/xul/menulist-shrinkwrap-2-ref.xul => layout/reftests/xul/menulist-shrinkwrap-2-ref.xhtml
rename : layout/reftests/xul/menulist-shrinkwrap-2.xul => layout/reftests/xul/menulist-shrinkwrap-2.xhtml
rename : layout/reftests/xul/object-fit-contain-png-001.xul => layout/reftests/xul/object-fit-contain-png-001.xhtml
rename : layout/reftests/xul/object-fit-contain-png-002.xul => layout/reftests/xul/object-fit-contain-png-002.xhtml
rename : layout/reftests/xul/object-fit-contain-svg-001.xul => layout/reftests/xul/object-fit-contain-svg-001.xhtml
rename : layout/reftests/xul/object-fit-contain-svg-002.xul => layout/reftests/xul/object-fit-contain-svg-002.xhtml
rename : layout/reftests/xul/object-fit-contain-svg-003.xul => layout/reftests/xul/object-fit-contain-svg-003.xhtml
rename : layout/reftests/xul/object-fit-contain-svg-004.xul => layout/reftests/xul/object-fit-contain-svg-004.xhtml
rename : layout/reftests/xul/object-fit-contain-svg-005.xul => layout/reftests/xul/object-fit-contain-svg-005.xhtml
rename : layout/reftests/xul/object-fit-contain-svg-006.xul => layout/reftests/xul/object-fit-contain-svg-006.xhtml
rename : layout/reftests/xul/object-fit-cover-png-001.xul => layout/reftests/xul/object-fit-cover-png-001.xhtml
rename : layout/reftests/xul/object-fit-cover-png-002.xul => layout/reftests/xul/object-fit-cover-png-002.xhtml
rename : layout/reftests/xul/object-fit-cover-svg-001.xul => layout/reftests/xul/object-fit-cover-svg-001.xhtml
rename : layout/reftests/xul/object-fit-cover-svg-002.xul => layout/reftests/xul/object-fit-cover-svg-002.xhtml
rename : layout/reftests/xul/object-fit-cover-svg-003.xul => layout/reftests/xul/object-fit-cover-svg-003.xhtml
rename : layout/reftests/xul/object-fit-cover-svg-004.xul => layout/reftests/xul/object-fit-cover-svg-004.xhtml
rename : layout/reftests/xul/object-fit-cover-svg-005.xul => layout/reftests/xul/object-fit-cover-svg-005.xhtml
rename : layout/reftests/xul/object-fit-cover-svg-006.xul => layout/reftests/xul/object-fit-cover-svg-006.xhtml
rename : layout/reftests/xul/object-fit-fill-png-001.xul => layout/reftests/xul/object-fit-fill-png-001.xhtml
rename : layout/reftests/xul/object-fit-fill-png-002.xul => layout/reftests/xul/object-fit-fill-png-002.xhtml
rename : layout/reftests/xul/object-fit-fill-svg-001.xul => layout/reftests/xul/object-fit-fill-svg-001.xhtml
rename : layout/reftests/xul/object-fit-fill-svg-002.xul => layout/reftests/xul/object-fit-fill-svg-002.xhtml
rename : layout/reftests/xul/object-fit-fill-svg-003.xul => layout/reftests/xul/object-fit-fill-svg-003.xhtml
rename : layout/reftests/xul/object-fit-fill-svg-004.xul => layout/reftests/xul/object-fit-fill-svg-004.xhtml
rename : layout/reftests/xul/object-fit-fill-svg-005.xul => layout/reftests/xul/object-fit-fill-svg-005.xhtml
rename : layout/reftests/xul/object-fit-fill-svg-006.xul => layout/reftests/xul/object-fit-fill-svg-006.xhtml
rename : layout/reftests/xul/object-fit-none-png-001.xul => layout/reftests/xul/object-fit-none-png-001.xhtml
rename : layout/reftests/xul/object-fit-none-png-002.xul => layout/reftests/xul/object-fit-none-png-002.xhtml
rename : layout/reftests/xul/object-fit-none-svg-001.xul => layout/reftests/xul/object-fit-none-svg-001.xhtml
rename : layout/reftests/xul/object-fit-none-svg-002.xul => layout/reftests/xul/object-fit-none-svg-002.xhtml
rename : layout/reftests/xul/object-fit-none-svg-003.xul => layout/reftests/xul/object-fit-none-svg-003.xhtml
rename : layout/reftests/xul/object-fit-none-svg-004.xul => layout/reftests/xul/object-fit-none-svg-004.xhtml
rename : layout/reftests/xul/object-fit-none-svg-005.xul => layout/reftests/xul/object-fit-none-svg-005.xhtml
rename : layout/reftests/xul/object-fit-none-svg-006.xul => layout/reftests/xul/object-fit-none-svg-006.xhtml
rename : layout/reftests/xul/object-fit-scale-down-png-001.xul => layout/reftests/xul/object-fit-scale-down-png-001.xhtml
rename : layout/reftests/xul/object-fit-scale-down-png-002.xul => layout/reftests/xul/object-fit-scale-down-png-002.xhtml
rename : layout/reftests/xul/object-fit-scale-down-svg-001.xul => layout/reftests/xul/object-fit-scale-down-svg-001.xhtml
rename : layout/reftests/xul/object-fit-scale-down-svg-002.xul => layout/reftests/xul/object-fit-scale-down-svg-002.xhtml
rename : layout/reftests/xul/object-fit-scale-down-svg-003.xul => layout/reftests/xul/object-fit-scale-down-svg-003.xhtml
rename : layout/reftests/xul/object-fit-scale-down-svg-004.xul => layout/reftests/xul/object-fit-scale-down-svg-004.xhtml
rename : layout/reftests/xul/object-fit-scale-down-svg-005.xul => layout/reftests/xul/object-fit-scale-down-svg-005.xhtml
rename : layout/reftests/xul/object-fit-scale-down-svg-006.xul => layout/reftests/xul/object-fit-scale-down-svg-006.xhtml
rename : layout/reftests/xul/object-position-png-001.xul => layout/reftests/xul/object-position-png-001.xhtml
rename : layout/reftests/xul/object-position-png-002.xul => layout/reftests/xul/object-position-png-002.xhtml
rename : layout/reftests/xul/resizer-bottomend-flipped.xul => layout/reftests/xul/resizer-bottomend-flipped.xhtml
rename : layout/reftests/xul/resizer-bottomend-rtl.xul => layout/reftests/xul/resizer-bottomend-rtl.xhtml
rename : layout/reftests/xul/resizer-bottomend.xul => layout/reftests/xul/resizer-bottomend.xhtml
rename : layout/reftests/xul/resizer-bottomleft-rtl.xul => layout/reftests/xul/resizer-bottomleft-rtl.xhtml
rename : layout/reftests/xul/resizer-bottomleft.xul => layout/reftests/xul/resizer-bottomleft.xhtml
rename : layout/reftests/xul/resizer-bottomright-rtl.xul => layout/reftests/xul/resizer-bottomright-rtl.xhtml
rename : layout/reftests/xul/resizer-bottomright.xul => layout/reftests/xul/resizer-bottomright.xhtml
rename : layout/reftests/xul/resizer-bottomstart-rtl.xul => layout/reftests/xul/resizer-bottomstart-rtl.xhtml
rename : layout/reftests/xul/resizer-bottomstart.xul => layout/reftests/xul/resizer-bottomstart.xhtml
rename : layout/reftests/xul/resizer-left.xul => layout/reftests/xul/resizer-left.xhtml
rename : layout/reftests/xul/text-crop-ref.xul => layout/reftests/xul/text-crop-ref.xhtml
rename : layout/reftests/xul/text-crop.xul => layout/reftests/xul/text-crop.xhtml
rename : layout/reftests/xul/text-small-caps-1-ref.xul => layout/reftests/xul/text-small-caps-1-ref.xhtml
rename : layout/reftests/xul/text-small-caps-1.xul => layout/reftests/xul/text-small-caps-1.xhtml
rename : layout/reftests/xul/textbox-overflow-1-ref.xul => layout/reftests/xul/textbox-overflow-1-ref.xhtml
rename : layout/reftests/xul/textbox-overflow-1.xul => layout/reftests/xul/textbox-overflow-1.xhtml
rename : layout/reftests/xul/tree-row-outline-1-notref.xul => layout/reftests/xul/tree-row-outline-1-notref.xhtml
rename : layout/reftests/xul/tree-row-outline-1-ref.xul => layout/reftests/xul/tree-row-outline-1-ref.xhtml
rename : layout/reftests/xul/tree-row-outline-1.xul => layout/reftests/xul/tree-row-outline-1.xhtml
rename : layout/reftests/xul/treecell-image-svg-1-ref.xul => layout/reftests/xul/treecell-image-svg-1-ref.xhtml
rename : layout/reftests/xul/treecell-image-svg-1a.xul => layout/reftests/xul/treecell-image-svg-1a.xhtml
rename : layout/reftests/xul/treecell-image-svg-1b.xul => layout/reftests/xul/treecell-image-svg-1b.xhtml
rename : layout/reftests/xul/treechildren-padding-percent-1-ref.xul => layout/reftests/xul/treechildren-padding-percent-1-ref.xhtml
rename : layout/reftests/xul/treechildren-padding-percent-1.xul => layout/reftests/xul/treechildren-padding-percent-1.xhtml
rename : layout/reftests/xul/treetwisty-svg-context-paint-1-not-ref.xul => layout/reftests/xul/treetwisty-svg-context-paint-1-not-ref.xhtml
rename : layout/reftests/xul/treetwisty-svg-context-paint-1-ref.xul => layout/reftests/xul/treetwisty-svg-context-paint-1-ref.xhtml
rename : layout/reftests/xul/treetwisty-svg-context-paint-1.xul => layout/reftests/xul/treetwisty-svg-context-paint-1.xhtml
rename : layout/style/crashtests/416461-1.xul => layout/style/crashtests/416461-1.xhtml
rename : layout/style/crashtests/431705-1.xul => layout/style/crashtests/431705-1.xhtml
rename : layout/svg/crashtests/314244-1.xul => layout/svg/crashtests/314244-1.xhtml
rename : layout/svg/crashtests/337408-1.xul => layout/svg/crashtests/337408-1.xhtml
rename : layout/tables/crashtests/322779-1.xul => layout/tables/crashtests/322779-1.xhtml
rename : layout/xul/crashtests/131008-1.xul => layout/xul/crashtests/131008-1.xhtml
rename : layout/xul/crashtests/137216-1.xul => layout/xul/crashtests/137216-1.xhtml
rename : layout/xul/crashtests/1379332-2.xul => layout/xul/crashtests/1379332-2.xhtml
rename : layout/xul/crashtests/151826-1.xul => layout/xul/crashtests/151826-1.xhtml
rename : layout/xul/crashtests/168724-1.xul => layout/xul/crashtests/168724-1.xhtml
rename : layout/xul/crashtests/189814-1.xul => layout/xul/crashtests/189814-1.xhtml
rename : layout/xul/crashtests/289410-1.xul => layout/xul/crashtests/289410-1.xhtml
rename : layout/xul/crashtests/291702-1.xul => layout/xul/crashtests/291702-1.xhtml
rename : layout/xul/crashtests/291702-2.xul => layout/xul/crashtests/291702-2.xhtml
rename : layout/xul/crashtests/291702-3.xul => layout/xul/crashtests/291702-3.xhtml
rename : layout/xul/crashtests/294371-1.xul => layout/xul/crashtests/294371-1.xhtml
rename : layout/xul/crashtests/322786-1.xul => layout/xul/crashtests/322786-1.xhtml
rename : layout/xul/crashtests/325377.xul => layout/xul/crashtests/325377.xhtml
rename : layout/xul/crashtests/326879-1.xul => layout/xul/crashtests/326879-1.xhtml
rename : layout/xul/crashtests/328135-1.xul => layout/xul/crashtests/328135-1.xhtml
rename : layout/xul/crashtests/329327-1.xul => layout/xul/crashtests/329327-1.xhtml
rename : layout/xul/crashtests/336962-1.xul => layout/xul/crashtests/336962-1.xhtml
rename : layout/xul/crashtests/344228-1.xul => layout/xul/crashtests/344228-1.xhtml
rename : layout/xul/crashtests/350460.xul => layout/xul/crashtests/350460.xhtml
rename : layout/xul/crashtests/365151.xul => layout/xul/crashtests/365151.xhtml
rename : layout/xul/crashtests/366112-1.xul => layout/xul/crashtests/366112-1.xhtml
rename : layout/xul/crashtests/366203-1.xul => layout/xul/crashtests/366203-1.xhtml
rename : layout/xul/crashtests/374102-1.xul => layout/xul/crashtests/374102-1.xhtml
rename : layout/xul/crashtests/382746-1.xul => layout/xul/crashtests/382746-1.xhtml
rename : layout/xul/crashtests/382899-1.xul => layout/xul/crashtests/382899-1.xhtml
rename : layout/xul/crashtests/384105-1-inner.xul => layout/xul/crashtests/384105-1-inner.xhtml
rename : layout/xul/crashtests/384373-1.xul => layout/xul/crashtests/384373-1.xhtml
rename : layout/xul/crashtests/384373-2.xul => layout/xul/crashtests/384373-2.xhtml
rename : layout/xul/crashtests/384871-1-inner.xul => layout/xul/crashtests/384871-1-inner.xhtml
rename : layout/xul/crashtests/386642.xul => layout/xul/crashtests/386642.xhtml
rename : layout/xul/crashtests/387080-1.xul => layout/xul/crashtests/387080-1.xhtml
rename : layout/xul/crashtests/391974-1-inner.xul => layout/xul/crashtests/391974-1-inner.xhtml
rename : layout/xul/crashtests/399013.xul => layout/xul/crashtests/399013.xhtml
rename : layout/xul/crashtests/408904-1.xul => layout/xul/crashtests/408904-1.xhtml
rename : layout/xul/crashtests/417509.xul => layout/xul/crashtests/417509.xhtml
rename : layout/xul/crashtests/538308-1.xul => layout/xul/crashtests/538308-1.xhtml
rename : layout/xul/crashtests/564705-1.xul => layout/xul/crashtests/564705-1.xhtml
rename : layout/xul/grid/crashtests/306911-grid-testcases.xul => layout/xul/grid/crashtests/306911-grid-testcases.xhtml
rename : layout/xul/grid/crashtests/306911-grid-testcases2.xul => layout/xul/grid/crashtests/306911-grid-testcases2.xhtml
rename : layout/xul/grid/crashtests/311710-1.xul => layout/xul/grid/crashtests/311710-1.xhtml
rename : layout/xul/grid/crashtests/312784-1.xul => layout/xul/grid/crashtests/312784-1.xhtml
rename : layout/xul/grid/crashtests/313173-1-inner.xul => layout/xul/grid/crashtests/313173-1-inner.xhtml
rename : layout/xul/grid/crashtests/321066-1.xul => layout/xul/grid/crashtests/321066-1.xhtml
rename : layout/xul/grid/crashtests/423802-crash.xul => layout/xul/grid/crashtests/423802-crash.xhtml
rename : layout/xul/grid/reftests/column-sizing-1-ref.xul => layout/xul/grid/reftests/column-sizing-1-ref.xhtml
rename : layout/xul/grid/reftests/column-sizing-1.xul => layout/xul/grid/reftests/column-sizing-1.xhtml
rename : layout/xul/grid/reftests/not-full-basic.xul => layout/xul/grid/reftests/not-full-basic.xhtml
rename : layout/xul/grid/reftests/not-full-grid-pack-align.xul => layout/xul/grid/reftests/not-full-grid-pack-align.xhtml
rename : layout/xul/grid/reftests/not-full-row-group-align.xul => layout/xul/grid/reftests/not-full-row-group-align.xhtml
rename : layout/xul/grid/reftests/not-full-row-group-direction.xul => layout/xul/grid/reftests/not-full-row-group-direction.xhtml
rename : layout/xul/grid/reftests/not-full-row-group-pack.xul => layout/xul/grid/reftests/not-full-row-group-pack.xhtml
rename : layout/xul/grid/reftests/not-full-row-leaf-align.xul => layout/xul/grid/reftests/not-full-row-leaf-align.xhtml
rename : layout/xul/grid/reftests/not-full-row-leaf-direction.xul => layout/xul/grid/reftests/not-full-row-leaf-direction.xhtml
rename : layout/xul/grid/reftests/not-full-row-leaf-pack.xul => layout/xul/grid/reftests/not-full-row-leaf-pack.xhtml
rename : layout/xul/grid/reftests/row-or-column-sizing-1.xul => layout/xul/grid/reftests/row-or-column-sizing-1.xhtml
rename : layout/xul/grid/reftests/row-or-column-sizing-2.xul => layout/xul/grid/reftests/row-or-column-sizing-2.xhtml
rename : layout/xul/grid/reftests/row-or-column-sizing-3.xul => layout/xul/grid/reftests/row-or-column-sizing-3.xhtml
rename : layout/xul/grid/reftests/row-or-column-sizing-4.xul => layout/xul/grid/reftests/row-or-column-sizing-4.xhtml
rename : layout/xul/grid/reftests/row-sizing-1-ref.xul => layout/xul/grid/reftests/row-sizing-1-ref.xhtml
rename : layout/xul/grid/reftests/row-sizing-1.xul => layout/xul/grid/reftests/row-sizing-1.xhtml
rename : layout/xul/grid/reftests/scrollable-columns.xul => layout/xul/grid/reftests/scrollable-columns.xhtml
rename : layout/xul/grid/reftests/scrollable-rows.xul => layout/xul/grid/reftests/scrollable-rows.xhtml
rename : layout/xul/grid/reftests/sizing-2d-ref.xul => layout/xul/grid/reftests/sizing-2d-ref.xhtml
rename : layout/xul/grid/reftests/sizing-2d.xul => layout/xul/grid/reftests/sizing-2d.xhtml
rename : layout/xul/grid/reftests/z-order-1-ref.xul => layout/xul/grid/reftests/z-order-1-ref.xhtml
rename : layout/xul/grid/reftests/z-order-1.xul => layout/xul/grid/reftests/z-order-1.xhtml
rename : layout/xul/grid/reftests/z-order-2-ref.xul => layout/xul/grid/reftests/z-order-2-ref.xhtml
rename : layout/xul/grid/reftests/z-order-2.xul => layout/xul/grid/reftests/z-order-2.xhtml
rename : layout/xul/reftest/checkbox-dynamic-change-ref.xul => layout/xul/reftest/checkbox-dynamic-change-ref.xhtml
rename : layout/xul/reftest/checkbox-dynamic-change.xul => layout/xul/reftest/checkbox-dynamic-change.xhtml
rename : layout/xul/reftest/image-scaling-min-height-1-ref.xul => layout/xul/reftest/image-scaling-min-height-1-ref.xhtml
rename : layout/xul/reftest/image-scaling-min-height-1.xul => layout/xul/reftest/image-scaling-min-height-1.xhtml
rename : layout/xul/reftest/image-size-ref.xul => layout/xul/reftest/image-size-ref.xhtml
rename : layout/xul/reftest/image-size.xul => layout/xul/reftest/image-size.xhtml
rename : layout/xul/reftest/popup-explicit-size-ref.xul => layout/xul/reftest/popup-explicit-size-ref.xhtml
rename : layout/xul/reftest/popup-explicit-size.xul => layout/xul/reftest/popup-explicit-size.xhtml
rename : layout/xul/reftest/radio-dynamic-change-ref.xul => layout/xul/reftest/radio-dynamic-change-ref.xhtml
rename : layout/xul/reftest/radio-dynamic-change.xul => layout/xul/reftest/radio-dynamic-change.xhtml
rename : layout/xul/reftest/textbox-text-transform-ref.xul => layout/xul/reftest/textbox-text-transform-ref.xhtml
rename : layout/xul/reftest/textbox-text-transform.xul => layout/xul/reftest/textbox-text-transform.xhtml
rename : layout/xul/tree/crashtests/307298-1.xul => layout/xul/tree/crashtests/307298-1.xhtml
rename : layout/xul/tree/crashtests/309732-1.xul => layout/xul/tree/crashtests/309732-1.xhtml
rename : layout/xul/tree/crashtests/309732-2.xul => layout/xul/tree/crashtests/309732-2.xhtml
rename : layout/xul/tree/crashtests/366583-1.xul => layout/xul/tree/crashtests/366583-1.xhtml
rename : layout/xul/tree/crashtests/380217-1.xul => layout/xul/tree/crashtests/380217-1.xhtml
rename : layout/xul/tree/crashtests/391178-2.xul => layout/xul/tree/crashtests/391178-2.xhtml
rename : layout/xul/tree/crashtests/393665-1.xul => layout/xul/tree/crashtests/393665-1.xhtml
rename : layout/xul/tree/crashtests/399227-1.xul => layout/xul/tree/crashtests/399227-1.xhtml
rename : layout/xul/tree/crashtests/409807-1.xul => layout/xul/tree/crashtests/409807-1.xhtml
rename : layout/xul/tree/crashtests/414170-1.xul => layout/xul/tree/crashtests/414170-1.xhtml
rename : layout/xul/tree/crashtests/430394-1.xul => layout/xul/tree/crashtests/430394-1.xhtml
rename : layout/xul/tree/crashtests/585815-iframe.xul => layout/xul/tree/crashtests/585815-iframe.xhtml
rename : layout/xul/tree/crashtests/730441-1.xul => layout/xul/tree/crashtests/730441-1.xhtml
rename : layout/xul/tree/crashtests/730441-2.xul => layout/xul/tree/crashtests/730441-2.xhtml
rename : layout/xul/tree/crashtests/730441-3.xul => layout/xul/tree/crashtests/730441-3.xhtml
extra : moz-landing-system : lando
2019-11-16 01:02:44 +00:00
Tim Nguyen 060c2a8b6d Bug 1596296 - Stop supporting XUL [dir="reverse"] attribute value. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52946

--HG--
extra : moz-landing-system : lando
2019-11-15 23:03:40 +00:00
Timothy Nikkel d714373537 Bug 1596052. If the SendUpdateCanvasForEvent call is for a previous test then ignore it. r=mattwoodrow
This is basically what we did in bug 1593171 (Protect against the same test from calling RecordResult more than once in the reftest harness) where we early exit in SendInitCanvasWithSnapshot.

But now we do it in SendUpdateCanvasForEvent too because SendUpdateCanvasForEvent calls SynchronizeForSnapshot which calls setupAsyncScrollOffsets and setupAsyncZoom, both of which get the documentElement of the current doc and operate on it. The problem is that this could be SendUpdateCanvasForEvent call from the previous test operating on the dom of the current test.

I haven't actually observed this, just noticed it while implementing checking of contentRootElement to make sure all cases are covered.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 22:41:19 +00:00
Alexander Surkov f0884b8162 Bug 1594122 - convert XBL bindings to custom elements in 1371130.xhtml reftest r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53214

--HG--
extra : moz-landing-system : lando
2019-11-15 19:55:17 +00:00
alaskanemily 4ad6442028 Bug 1591925 - When resolving min-size:auto on the main axis of flex items, treat `overflow:-moz-hidden-unscrollable` the same as `overflow:visible`. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52401

--HG--
extra : moz-landing-system : lando
2019-11-15 17:42:40 +00:00
Boris Chiou f918f7fc49 Bug 1594946 - Treat 3d translate/scale as 2d if the value can be expressed as 2d. r=emilio
For the individual transform properties if they spec a value that can be
expressed as 2d we treat as 2d and serialize accordingly.

We drop Translate::Translate and Scale::Scale, and then rename
Translate::Translate3D as Translate::Translate, Scale::Scale3D as
Scale::Scale. So now we use Translate::Translate to represent 2d and 3d
translation, and Scale::Scale to represent 2d and 3d scale. There is no
difference between 2d and 3d translate/scale in Gecko because we always
convert them into 3d format to layers (on the compositor thread), so this
change makes things simpler.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 19:38:24 +00:00
Emilio Cobos Álvarez 06bb7fabca Bug 1596768 - Remove GetBindingParent usage in layout. r=smaug
We only use it to escape out of NAC trees for ::selection pseudo-element.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 16:18:06 +00:00
Emilio Cobos Álvarez f36874d798 Bug 1596445 - Add some supporting code to nsINode to deal with NAC and shadow DOM separately. r=bzbarsky
We'll use these to remove GetBindingParent.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 15:10:45 +00:00
Emilio Cobos Álvarez dbb16b3158 Bug 1596050 - Centralize logic to ignore document colors. r=jfkthame
This was a follow-up from the backplate stuff which I requested but didn't
happen.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 13:39:08 +00:00
Cosmin Sabou 085e0c04f7 Backed out changeset f03a850e3f53 (bug 1596296) for mochitest failures on test_popupanchor.xhtml. 2019-11-15 15:22:45 +02:00
Tim Nguyen 5e95d30ef3 Bug 1596296 - Stop supporting XUL [dir="reverse"] attribute value. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52946

--HG--
extra : moz-landing-system : lando
2019-11-15 02:20:10 +00:00
Emilio Cobos Álvarez 4279d71085 Bug 1596511 - Simplify SVGObserverUtils::GetBaseURLForLocalRef. r=smaug
It looked a bit weird after the XBL removal. Can be simpler and not use
GetBindingParent.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 22:34:10 +00:00
Ting-Yu Lin ae3f310d62 Bug 1596339 Part 6 - Use ToString() on nsPoint and nsSize in frame tree dump. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52967

--HG--
extra : moz-landing-system : lando
2019-11-15 03:59:28 +00:00
Ting-Yu Lin fa2ec9dc21 Bug 1596339 Part 5 - Use ToString() on nsRect in frame tree dump. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52966

--HG--
extra : moz-landing-system : lando
2019-11-15 03:52:14 +00:00
Ting-Yu Lin fec63b8556 Bug 1596339 Part 4 - Implement operator<< for LogicalPoint and LogicalMargin. r=dholbert
I'm not aware of any usage of LogicalPoint and LogicalPoint in frame
tree dump, but I still want to implement them for the sake of
completeness.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 03:52:05 +00:00
Ting-Yu Lin e5ffc03d4b Bug 1596339 Part 3 - Implement operator<< for LogicalSize, and use it in frame tree dump. r=dholbert
Note: The output format of BaseSize is "3 x 5", so a pair of parentheses
is added around %s in "logical-size=(%s)" to make it looks better.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 04:49:27 +00:00
Ting-Yu Lin 9b33cffdf0 Bug 1596339 Part 2 - Implement operator<< for LogicalRect, and use it in frame tree dump. r=dholbert
This change uses parentheses, i.e. '(' and ')', to enclose the dimension
of LogicalRect. This match the output of BaseRect's operator<<.

Note: This introduces inconsistency in the frame tree dump because some
of the output format still use braces to enclose the data. But in later
patches, I'll gradually change the format to use parentheses.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 03:51:56 +00:00
Ting-Yu Lin 198f20c438 Bug 1596339 Part 1 - Implement operator<< for WritingMode, and use it in frame tree dump. r=dholbert
WritingMode.h already depends on ostream header implicitly via
nsBidiUtils.h -> nsString.h. For completeness, I still add #include
<ostream>.

While I'm here, I make the format of debug prints in nsLineBox more
consistent with the counter-part in nsFrame. Some of them will be
revised in the later patches.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 03:51:54 +00:00
Hiroyuki Ikezoe 986ef06076 Bug 1596494 - Call UpdateCompositionBoundsForRCDRSF only if we are in the top level content document. r=tnikkel
Though there is another call site of UpdateCompositionBoundsForRCDRSF in
nsLayoutUtils::CalculateRootCompositionSize, it's not clear to me whether it is
necessary or not since we early return from the function in the case where
|aIsRootContentDocRootScrollFrame| argument is true. We will audit it later
in bug 1562505.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 01:54:05 +00:00
Alexander Surkov e108673075 Bug 1594122 - convert XBL binding to custom element in reftest 1369954-1.xhtml r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53064

--HG--
extra : moz-landing-system : lando
2019-11-14 21:19:54 +00:00
Emma Malysz 733458951b Bug 1595877, replace .xul mochitest files in layout/ with .xhtml r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52728

--HG--
rename : layout/base/tests/chrome/chrome_content_integration_window.xul => layout/base/tests/chrome/chrome_content_integration_window.xhtml
rename : layout/base/tests/chrome/chrome_over_plugin_window.xul => layout/base/tests/chrome/chrome_over_plugin_window.xhtml
rename : layout/base/tests/chrome/default_background_window.xul => layout/base/tests/chrome/default_background_window.xhtml
rename : layout/base/tests/chrome/dialog_with_positioning_window.xul => layout/base/tests/chrome/dialog_with_positioning_window.xhtml
rename : layout/base/tests/chrome/file_bug1018265.xul => layout/base/tests/chrome/file_bug1018265.xhtml
rename : layout/base/tests/chrome/printpreview_bug396024_helper.xul => layout/base/tests/chrome/printpreview_bug396024_helper.xhtml
rename : layout/base/tests/chrome/printpreview_bug482976_helper.xul => layout/base/tests/chrome/printpreview_bug482976_helper.xhtml
rename : layout/base/tests/chrome/printpreview_helper.xul => layout/base/tests/chrome/printpreview_helper.xhtml
rename : layout/base/tests/chrome/test_bug1018265.xul => layout/base/tests/chrome/test_bug1018265.xhtml
rename : layout/base/tests/chrome/test_bug1041200.xul => layout/base/tests/chrome/test_bug1041200.xhtml
rename : layout/base/tests/chrome/test_bug420499.xul => layout/base/tests/chrome/test_bug420499.xhtml
rename : layout/base/tests/chrome/test_bug465448.xul => layout/base/tests/chrome/test_bug465448.xhtml
rename : layout/base/tests/chrome/test_bug514660.xul => layout/base/tests/chrome/test_bug514660.xhtml
rename : layout/base/tests/chrome/test_bug533845.xul => layout/base/tests/chrome/test_bug533845.xhtml
rename : layout/base/tests/chrome/test_bug812817.xul => layout/base/tests/chrome/test_bug812817.xhtml
rename : layout/base/tests/chrome/test_chrome_content_integration.xul => layout/base/tests/chrome/test_chrome_content_integration.xhtml
rename : layout/base/tests/chrome/test_chrome_over_plugin.xul => layout/base/tests/chrome/test_chrome_over_plugin.xhtml
rename : layout/base/tests/chrome/test_css_visibility_propagation.xul => layout/base/tests/chrome/test_css_visibility_propagation.xhtml
rename : layout/base/tests/chrome/test_default_background.xul => layout/base/tests/chrome/test_default_background.xhtml
rename : layout/base/tests/chrome/test_leaf_layers_partition_browser_window.xul => layout/base/tests/chrome/test_leaf_layers_partition_browser_window.xhtml
rename : layout/base/tests/chrome/test_printpreview.xul => layout/base/tests/chrome/test_printpreview.xhtml
rename : layout/base/tests/chrome/test_printpreview_bug396024.xul => layout/base/tests/chrome/test_printpreview_bug396024.xhtml
rename : layout/base/tests/chrome/test_printpreview_bug482976.xul => layout/base/tests/chrome/test_printpreview_bug482976.xhtml
rename : layout/forms/test/bug665540_window.xul => layout/forms/test/bug665540_window.xhtml
rename : layout/generic/test/file_bug514732_window.xul => layout/generic/test/file_bug514732_window.xhtml
rename : layout/generic/test/test_backspace_delete.xul => layout/generic/test/test_backspace_delete.xhtml
rename : layout/generic/test/test_bug469613.xul => layout/generic/test/test_bug469613.xhtml
rename : layout/generic/test/test_bug469774.xul => layout/generic/test/test_bug469774.xhtml
rename : layout/generic/test/test_bug508115.xul => layout/generic/test/test_bug508115.xhtml
rename : layout/generic/test/test_bug514732-2.xul => layout/generic/test/test_bug514732-2.xhtml
rename : layout/generic/test/test_bug632379.xul => layout/generic/test/test_bug632379.xhtml
rename : layout/inspector/tests/chrome/test_bug467669.xul => layout/inspector/tests/chrome/test_bug467669.xhtml
rename : layout/inspector/tests/chrome/test_bug695639.xul => layout/inspector/tests/chrome/test_bug695639.xhtml
rename : layout/inspector/tests/chrome/test_bug708874.xul => layout/inspector/tests/chrome/test_bug708874.xhtml
rename : layout/inspector/tests/chrome/test_bug727834.xul => layout/inspector/tests/chrome/test_bug727834.xhtml
rename : layout/inspector/tests/chrome/test_fontFaceGeneric.xul => layout/inspector/tests/chrome/test_fontFaceGeneric.xhtml
rename : layout/inspector/tests/chrome/test_fontFaceRanges.xul => layout/inspector/tests/chrome/test_fontFaceRanges.xhtml
rename : layout/inspector/tests/chrome/test_fontFeaturesAPI.xul => layout/inspector/tests/chrome/test_fontFeaturesAPI.xhtml
rename : layout/inspector/tests/chrome/test_fontVariationsAPI.xul => layout/inspector/tests/chrome/test_fontVariationsAPI.xhtml
rename : layout/style/test/chrome/bug535806-xul.xul => layout/style/test/chrome/bug535806-xul.xhtml
rename : layout/style/test/chrome/test_bug1160724.xul => layout/style/test/chrome/test_bug1160724.xhtml
rename : layout/style/test/chrome/test_bug418986-2.xul => layout/style/test/chrome/test_bug418986-2.xhtml
rename : layout/style/test/chrome/test_bug535806.xul => layout/style/test/chrome/test_bug535806.xhtml
rename : layout/xul/test/test_bug1197913.xul => layout/xul/test/test_bug1197913.xhtml
rename : layout/xul/test/test_bug159346.xul => layout/xul/test/test_bug159346.xhtml
rename : layout/xul/test/test_bug372685.xul => layout/xul/test/test_bug372685.xhtml
rename : layout/xul/test/test_bug393970.xul => layout/xul/test/test_bug393970.xhtml
rename : layout/xul/test/test_bug398982-1.xul => layout/xul/test/test_bug398982-1.xhtml
rename : layout/xul/test/test_bug398982-2.xul => layout/xul/test/test_bug398982-2.xhtml
rename : layout/xul/test/test_bug467442.xul => layout/xul/test/test_bug467442.xhtml
rename : layout/xul/test/test_bug477754.xul => layout/xul/test/test_bug477754.xhtml
rename : layout/xul/test/test_bug703150.xul => layout/xul/test/test_bug703150.xhtml
rename : layout/xul/test/test_bug987230.xul => layout/xul/test/test_bug987230.xhtml
rename : layout/xul/test/test_popupReflowPos.xul => layout/xul/test/test_popupReflowPos.xhtml
rename : layout/xul/test/test_popupSizeTo.xul => layout/xul/test/test_popupSizeTo.xhtml
rename : layout/xul/test/test_popupZoom.xul => layout/xul/test/test_popupZoom.xhtml
rename : layout/xul/test/test_resizer.xul => layout/xul/test/test_resizer.xhtml
rename : layout/xul/test/test_resizer_incontent.xul => layout/xul/test/test_resizer_incontent.xhtml
rename : layout/xul/test/test_splitter.xul => layout/xul/test/test_splitter.xhtml
rename : layout/xul/test/test_submenuClose.xul => layout/xul/test/test_submenuClose.xhtml
rename : layout/xul/test/test_windowminmaxsize.xul => layout/xul/test/test_windowminmaxsize.xhtml
rename : layout/xul/test/titledpanelwindow.xul => layout/xul/test/titledpanelwindow.xhtml
rename : layout/xul/test/window_resizer.xul => layout/xul/test/window_resizer.xhtml
rename : layout/xul/test/window_resizer_element.xul => layout/xul/test/window_resizer_element.xhtml
rename : layout/xul/test/windowminmaxsize1.xul => layout/xul/test/windowminmaxsize1.xhtml
rename : layout/xul/test/windowminmaxsize10.xul => layout/xul/test/windowminmaxsize10.xhtml
rename : layout/xul/test/windowminmaxsize2.xul => layout/xul/test/windowminmaxsize2.xhtml
rename : layout/xul/test/windowminmaxsize3.xul => layout/xul/test/windowminmaxsize3.xhtml
rename : layout/xul/test/windowminmaxsize4.xul => layout/xul/test/windowminmaxsize4.xhtml
rename : layout/xul/test/windowminmaxsize5.xul => layout/xul/test/windowminmaxsize5.xhtml
rename : layout/xul/test/windowminmaxsize6.xul => layout/xul/test/windowminmaxsize6.xhtml
rename : layout/xul/test/windowminmaxsize7.xul => layout/xul/test/windowminmaxsize7.xhtml
rename : layout/xul/test/windowminmaxsize8.xul => layout/xul/test/windowminmaxsize8.xhtml
rename : layout/xul/test/windowminmaxsize9.xul => layout/xul/test/windowminmaxsize9.xhtml
extra : moz-landing-system : lando
2019-11-14 20:25:21 +00:00
Alexander Surkov f3a5bb4a66 Bug 1594122 - convert XBL binding to custom element in 348049-1.xhtml reftest r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D52854

--HG--
extra : moz-landing-system : lando
2019-11-14 17:40:20 +00:00
Jonathan Kew 9f628e9a75 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-14 14:07:23 +00:00
Emilio Cobos Álvarez 802cb96d68 Bug 1596391 - Remove nsIContent::IsActiveChildrenElement. r=smaug
Always returns false.

Depends on D52991

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

--HG--
extra : moz-landing-system : lando
2019-11-14 12:55:25 +00:00
Emilio Cobos Álvarez e6d9323807 Bug 1596391 - Remove a dead style system function. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D52990

--HG--
extra : moz-landing-system : lando
2019-11-14 12:48:47 +00:00
Hiroyuki Ikezoe d474c09d3a Bug 1586144 - Expand the FrameMetrics.mLayoutViewport to the size for viewport units. r=botond
Note that this FrameMetrics.mLayoutViewport doesn't represent exact size of
the layout viewport on the main thread, it means the maximum layout viewport
in future on the compositor thread once after the dynamic toolbar is completely
hidden.  During the dynamic toolbar transition we don't update any information
on the main thread, which means it's possible that the visual viewport on the
compositor gets bigger than the layout viewport at the time when we send it
to the compositor thread, we have to avoid the situation.

Depends on D50419

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

--HG--
extra : moz-landing-system : lando
2019-11-14 06:00:42 +00:00
Hiroyuki Ikezoe 4f001373b7 Bug 1586144 - Expand the clipt rect for visual viewport scrollable display item. r=botond
Without this change, the junit test in this commit fail, the failure
rendered result is the area of the position:fixed element covered by
the dynamic toolbar before scrolling is rendered as blank.

Depends on D50418

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

--HG--
extra : moz-landing-system : lando
2019-11-14 06:00:25 +00:00
Hiroyuki Ikezoe f5f6f60da5 Bug 1586144 - Factor dynamic toolbar max height into layout metrics. r=emilio,botond
Now
* nsPresContext::mVisibleArea is excluding the toolbar max height so that
  ICB is now static regardless of the dynamic toolbar transition
* nsPresContext::mSizeForViewportUnits is introduced to resolve viewport units
  which is including the toolbar max height

That means that with the dynamic toolbar max height;

  mVisibleArea < mSizeForViewportUnits

See https://github.com/bokand/URLBarSizing for more detail backgrounds of this
change.

Depends on D50417

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

--HG--
extra : moz-landing-system : lando
2019-11-14 06:00:05 +00:00
Hiroyuki Ikezoe 2a51338a5a Bug 1586144 - Introduce an API to set the dynamic toolbar maximum height in GeckoView. r=geckoview-reviewers,tnikkel,snorp
And deliver the value to the top content pres context, but it's not used in
this commit. The value will be used in the next commit.

One caveat is that areas covered by the dynamic toolbar will be outside
of the content area, which means implementers of GeckoView needs to call
setVerticalClipping with _negative_ values.

Depends on D50416

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

--HG--
extra : moz-landing-system : lando
2019-11-14 05:59:47 +00:00
Sid Vishnoi bd713fe4ee Bug 1594306 - Rename nsGeo* files to match the WebIDL interfaces r=marcosc
Rename nsGeolocation to Geolocation.
Split nsGeoPostion to GeolocationPosition and GeolocationCoordinates.
Fix some include guards and comments referencing outdated interfaces.

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

--HG--
rename : dom/geolocation/nsGeolocation.cpp => dom/geolocation/Geolocation.cpp
rename : dom/geolocation/nsGeolocation.h => dom/geolocation/Geolocation.h
rename : dom/geolocation/nsGeoPosition.cpp => dom/geolocation/GeolocationPosition.cpp
rename : dom/geolocation/nsGeoPosition.h => dom/geolocation/GeolocationPosition.h
extra : moz-landing-system : lando
2019-11-14 04:18:04 +00:00
Csoregi Natalia 9c5c3803e2 Backed out 2 changesets (bug 1591925) for failures on select-element-zero-height-001.html. CLOSED TREE
Backed out changeset b2d168294899 (bug 1591925)
Backed out changeset bbeb8f308193 (bug 1591925)
2019-11-14 05:11:41 +02:00
alaskanemily 510d08b4e6 Bug 1591925 - When resolving min-size:auto on the main axis of flex items, treat `overflow:-moz-hidden-unscrollable` the same as `overflow:visible`. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52401

--HG--
extra : moz-landing-system : lando
2019-11-13 23:57:39 +00:00
Timothy Nikkel 42fbc5152d Bug 1596049. Calling CheckForProcessCrashExpectation needs to pass contentRootElement otherwise it does nothing. r=mattwoodrow
Depends on D52827

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

--HG--
extra : moz-landing-system : lando
2019-11-13 23:15:39 +00:00
Gurzau Raul 6831800684 Backed out changeset f0968dabe1ff (bug 1590167) for build bustage at force-cargo-library-build on a CLOSED TREE. 2019-11-14 01:24:59 +02:00
Jonathan Kew 7bb39d9e94 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-13 22:11:22 +00:00
Doug Thayer 97c5d40384 Bug 1586920 - Sometimes include dynamic string of label frames in BHR r=nika
This adds two AUTO_PROFILER_LABEL_DYNAMIC_... macros and updates select
usages of the old macros to use the new ones. These new macros cause
the dynamic string of the label to be included in BHR stacks.

We don't want to do this all of the time, as in many cases we may not
be interested enough in the dynamic string or it may be sensitive
information, but it is rather important information for certain cases.

This uses the same buffer that we use for the strings for JS frames,
and if we fail to fit into that buffer we just append the raw label.

If the string is too long for our static buffer (128 bytes), we just
leave it truncated, as it should be stable and we may be able to infer
from the truncated form what the full form would be.

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

--HG--
extra : moz-landing-system : lando
2019-11-11 20:27:44 +00:00
Emilio Cobos Álvarez 019f75cee4 Bug 1595285 - Do not track TRANSITION_EMBED visits for link-coloring purposes. r=mak
Other browsers don't, plus it blocks work I want to do to query multiple links
at the same time.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 16:36:09 +00:00
Gurzau Raul 1e2ebb9f42 Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE.
Backed out changeset 4d16c3d62cfc (bug 1575008)
Backed out changeset 97b8c3759aae (bug 1590167)
2019-11-13 21:38:23 +02:00
Narcis Beleuzu a30e00cd9c Backed out changeset b73d74bcafda (bug 1595285) for multiple bc failures. CLOSED TREE 2019-11-13 18:31:41 +02:00
Emilio Cobos Álvarez eafae9973a Bug 1595285 - Do not track TRANSITION_EMBED visits for link-coloring purposes. r=mak
Other browsers don't, plus it blocks work I want to do to query multiple links
at the same time.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 05:06:36 +00:00
Sylvestre Ledru 94a9f2e471 Bug 1562642 - add missing license in layout/style/tools/ r=emilio
Depends on D52592

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

--HG--
extra : moz-landing-system : lando
2019-11-13 09:27:25 +00:00
Boris Chiou 41488d1a22 Bug 1593796 - Apply the correct specified implicit size. r=mats
Per the spec, if multiple track sizes are given, the pattern is repeated as
necessary to find the size of the implicit tracks:
1. The first implicit grid track after the explicit grid receives the first
   specified size, and so on forwards.
2. The last implicit grid track before the explicit grid receives the last
   specified size, and so on backwards.

We use a positive index of the auto track sizes for (1) and a negative index
for (2), so we can apply the correct specified implicit size.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 22:28:09 +00:00
Emilio Cobos Álvarez 13e68b188d Bug 1593951 - Use MaybeUninit in style struct clone impls / constructors. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D51788

--HG--
extra : moz-landing-system : lando
2019-11-12 20:30:42 +00:00
Mats Palmgren 9ae23f45d4 Bug 1356712 - Remove bogus assertions. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D52678

--HG--
extra : moz-landing-system : lando
2019-11-12 19:09:13 +00:00
Tim Nguyen b081bf6c33 Bug 1576946 - Remove nsStackFrame platform code. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D49487

--HG--
extra : moz-landing-system : lando
2019-11-12 19:50:19 +00:00
Tim Nguyen e9cf7725cf Bug 1576946 - Rewrite and remove tests relying on `display: -moz-stack;`. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D49485

--HG--
extra : moz-landing-system : lando
2019-11-12 19:50:06 +00:00
L. David Baron 3812bc0ba4 Bug 1595199 - Make nsGfxScrollFrame propagate ReflowInput's mFlags.mIsBResizeForPercentages to its inner, to fix vertical resizing layout bugs. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52439

--HG--
extra : moz-landing-system : lando
2019-11-12 07:37:40 +00:00
Razvan Maries 71124aa4f2 Backed out changeset 6cd92affba42 (bug 1593951) for Valgrind build bustages. CLOSED TREE 2019-11-12 19:18:42 +02:00
Ehsan Akhgari f6ffd2ce8d Bug 1558420 - Part 1: Add an API for creating a sessionstorage manager and a cache object; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D51325

--HG--
extra : moz-landing-system : lando
2019-11-12 15:40:02 +00:00
Mats Palmgren 2cf7e52582 Bug 1591219 - [css-align] Synthesize a baseline from the content edges for empty table cells. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D50711

--HG--
extra : moz-landing-system : lando
2019-11-12 15:31:57 +00:00
Jonathan Kew 62b6903f65 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-12 12:05:24 +00:00
Emilio Cobos Álvarez e47530e246 Bug 1593951 - Use MaybeUninit in style struct clone impls / constructors. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D51788

--HG--
extra : moz-landing-system : lando
2019-11-12 11:49:40 +00:00
Boris Chiou 746b9cb867 Bug 1594949 - Fix assertion of gfx::Path when changing offset-path on some svg frames. r=heycam
1. Use Nothing() for motion path in IncrementScaleResytleCountIfNeeded.
   Since motion path only produces 2d translate and 2d rotate, so it
   shouldn't have any impact on BaseMatrix::ScaleFactors(). We use
   Nothing() to avoid any redundant calculation.
2. Drop SVGTextFrame::DidSetComputedStyle() because
   nsFrame::DidSetComputedStyle() should have handled
   ScheduleReflowSVGNonDisplayText well.
3. Let nsSVGForeignObjectFrame::DidSetComputedStyle() call
   their parents' DidSetComputedStyle. This makes sure we update the frame
   properly.

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

--HG--
extra : moz-landing-system : lando
2019-11-11 23:31:23 +00:00
Oana Pop Rus 8719db1dde Backed out 2 changesets (bug 1591925) for reftest failures on flexbox-min-bsize-keywords-vert-1.html
Backed out changeset eb9d579fe07c (bug 1591925)
Backed out changeset 7d0f795c10a4 (bug 1591925)
2019-11-12 02:33:57 +02:00
alaskanemily 847cb4d965 Bug 1591925 - When resolving min-size:auto on the main axis of flex items, treat `overflow:-moz-hidden-unscrollable` the same as `overflow:visible`. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52401

--HG--
extra : moz-landing-system : lando
2019-11-11 22:48:31 +00:00
Jon Coppeard b439b62977 Bug 1595500 - Create reftest sandboxes on demand since they are often not required r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D52543

--HG--
extra : moz-landing-system : lando
2019-11-11 15:47:36 +00:00
iantonga 436f2a7aa5 Bug 1592623 - Removed an useless namespace alias r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D52490

--HG--
extra : moz-landing-system : lando
2019-11-11 21:33:40 +00:00
Mats Palmgren 76378f408b Bug 1595103 - [css-pseudo] Skip all ::marker boxes when finding content for a ::first-letter. r=emilio
Per discussion in:
https://github.com/w3c/csswg-drafts/issues/4503

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

--HG--
extra : moz-landing-system : lando
2019-11-11 19:28:34 +00:00
Miko Mynttinen a82d3d2202 Bug 1593291 - Remove unnecessary assert r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D52395

--HG--
extra : moz-landing-system : lando
2019-11-11 18:01:42 +00:00
Dorel Luca be7de717dd Backed out changeset e19c5df398de (bug 1595285) for causing leaks on browser-chrome in toolkit/components/places/tests/browser/browser_bug461710.js. CLOSED TREE 2019-11-11 20:58:06 +02:00
Emilio Cobos Álvarez 87b2a95c52 Bug 1595285 - Do not track TRANSITION_EMBED visits for link-coloring purposes. r=mak
Other browsers don't, plus it blocks work I want to do to query multiple links
at the same time.

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

--HG--
extra : moz-landing-system : lando
2019-11-11 13:28:52 +00:00
Karl Tomlinson 5bb60f1b9d Bug 1594685 - skip 1593766.html on release_beta due to intentional crash on attempt to use nightly-only feature r=baku
Differential Revision: https://phabricator.services.mozilla.com/D52248

--HG--
extra : moz-landing-system : lando
2019-11-09 20:32:31 +00:00
Emilio Cobos Álvarez 8911c60203 Bug 1591947 - Fix style changes from list-style-image to -moz-appearance for XUL images. r=TYLin
Consider the following case:

  <image style="list-style-image: url(foo.png)"></image>

  image.style.MozAppearance = "something"

The early return was preventing us from clearing the image.

This is an ancient bug, but it has started happening in the browser chrome
because the lack of lazy frame construction for XUL elements makes us construct
elements with an outdated style, which means in this case that they wouldn't
have the -moz-appearance rule applied yet.

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

--HG--
extra : moz-landing-system : lando
2019-11-09 16:48:04 +00:00
Lee Salzman b53ad6f708 Bug 1593970 - scale subpixel contribution based on ClearType level setting. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D52441

--HG--
extra : moz-landing-system : lando
2019-11-09 13:03:47 +00:00
Brendan Dahl a3a9d09976 Bug 1492582 - Don't create scroll frames for windows that don't need them. r=emilio
When browser.xhtml switches to an <html> root element, the frame structure
changed and caused performance regressions on talos for tart and tresize.
browser.xhtml doesn't need scrolling, so we can disable it and keep performance
on par with XUL <window>.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 23:34:08 +00:00
Boris Chiou 7709efdb02 Bug 1594960 - Update the assertion to check the transform-like animations on the compositor when we have fixed offset-path. r=hiro
It's possible to have a fixed offset-path together with other animating
css transform properties or offset-* properties, so we have to update
this assertion.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 23:46:17 +00:00
Jamie Nicol 6523c220aa Bug 1590805 - Update reftest expectations for webrender on android emulator. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D51297

--HG--
extra : moz-landing-system : lando
2019-11-08 22:05:59 +00:00
Jamie Nicol 43f7b982f2 Bug 1590805 - Add "emulator" and "device" conditions to reftest sandbox. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D51296

--HG--
extra : moz-landing-system : lando
2019-11-08 22:05:50 +00:00
Csoregi Natalia 2a4ef535b5 Backed out changeset 0ecfae072196 (bug 1590167) for reftest failures on 1507661-spurious-hyphenation-after-explicit.htm. CLOSED TREE 2019-11-08 23:41:05 +02:00
Jonathan Kew c01eaab5f5 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-08 17:33:48 +00:00
Mihai Alexandru Michis e27325e726 Backed out changeset 1aae03a822b8 (bug 1591947) for causing reftest failures in image-appearance-dynamic.xul CLOSED TREE 2019-11-08 15:39:52 +02:00
Mihai Alexandru Michis 129577da8f Backed out changeset 14e64e208672 (bug 1590167) for causing failures in spurious-hyphenation-after-explicit.html and nsHyphenator.cpp 2019-11-08 15:38:44 +02:00
Sebastian Hengst 0341151d63 Bug 1594981 - update Core::DOM* and Core::Storage* bugzilla product and component meta data in moz.build files after reorganization in bug 1594717. r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D52345

--HG--
extra : moz-landing-system : lando
2019-11-08 12:17:57 +00:00
Jonathan Kew 09fc119a12 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-08 12:33:23 +00:00
Emilio Cobos Álvarez bf22f445d7 Bug 1591947 - Fix style changes from list-style-image to -moz-appearance for XUL images. r=TYLin
Consider the following case:

  <image style="list-style-image: url(foo.png)"></image>

  image.style.MozAppearance = "something"

The early return was preventing us from clearing the image.

This is an ancient bug, but it has started happening in the browser chrome
because the lack of lazy frame construction for XUL elements makes us construct
elements with an outdated style, which means in this case that they wouldn't
have the -moz-appearance rule applied yet.

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

--HG--
extra : moz-landing-system : lando
2019-11-08 11:14:35 +00:00
Jonathan Kew af3ed5e214 Bug 1594843 - Clamp the maximum padding between decoration line segments and glyphs when applying text-decoration-skip-ink. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52221

--HG--
extra : moz-landing-system : lando
2019-11-07 22:01:58 +00:00
Noemi Erli f4d989ef82 Backed out 7 changesets (bug 1492582) for causing ss mochitest failures CLOSED TREE
Backed out changeset 1484255e5f4d (bug 1492582)
Backed out changeset bbf62ef50e52 (bug 1492582)
Backed out changeset 836724d3860e (bug 1492582)
Backed out changeset 5efddfd196b5 (bug 1492582)
Backed out changeset d4be1aa8cdb6 (bug 1492582)
Backed out changeset f05dfbeff17b (bug 1492582)
Backed out changeset e0e56a195659 (bug 1492582)

--HG--
extra : rebase_source : 913c432be684629992a773dc3e4e233141bc3061
2019-11-07 21:51:46 +02:00
Brendan Dahl 8b82bb6134 Bug 1492582 - Don't create scroll frames for windows that don't need them. r=emilio
When browser.xhtml switches to an <html> root element, the frame structure
changed and caused performance regressions on talos for tart and tresize.
browser.xhtml doesn't need scrolling, so we can disable it and keep performance
on par with XUL <window>.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 16:21:23 +00:00
Emilio Cobos Álvarez dcda6f6b3d Bug 1593865 - Leak shared memory for the lifetime of the process. r=heycam
Seems less gnarly than the alternatives, and we'd only free it until shutdown so
not much worse, actually.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 11:19:27 +00:00
Emilio Cobos Álvarez c75e54e0c3 Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt
The existing code wasn't sound, as CSSOM objects also needed to go away before
the shared memory goes away (as they keep references to them).

This is sound assuming no presence of reference cycles introduced by CSSOM.

We may want to live with this and rely on chrome code not writing cycles like
this with UA stylesheet DOM objects.

We could explicitly drop all potentially-static objects... That seems pretty
error prone though.

Or we could also just leak the shared memory buffer, is there any reason why we
may not want to do that?

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

--HG--
extra : moz-landing-system : lando
2019-11-07 11:19:23 +00:00
Emilio Cobos Álvarez 10d4436e21 Bug 1594471 - Bug 1593865 - More safely remove rules in ServoCSSRuleList. r=mccr8
This turned out not to be the culprit, but it doesn't seem unreasonable for
DropAllRules -> DropRules -> cycle-collection-stuff that ends up reentering in
the parent rule list.

It seems safer to first remove from the array / move the array to the stack,
then free the pointer, than to leave dangling pointers while we iterate through
the array.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 19:23:18 +00:00
Boris Chiou abda0eb288 Bug 1484780 - Cache gfx::Path to avoid building and flattening path at each restyle cycle. r=heycam
In most cases, we run an animation on an object by changing its
offset-distance/offset-rotate, but keep its offset-path the same.
Building and flattening the path is sometime expensive, especially for
large path, so caching it makes sense to us and have a significant
performance improvement. This is for the main thread motion path
animations.

Note: Even though we support compositor animations for motion path,
nsIFrame::GetTransformMatrix() is still called during the animations for
other usages, so we may still build the gfx::Path on the main thread
without this patch, so this improvement becomes necessary for most cases.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 03:17:58 +00:00
Karl Tomlinson 8737110128 Bug 1593766 add crashtest r=baku
Depends on D51925

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

--HG--
extra : moz-landing-system : lando
2019-11-06 12:36:29 +00:00
Brian Grinstead d981495450 Bug 1593119 - Remove dom/xbl and the MOZ_XBL build option r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D51338

--HG--
extra : moz-landing-system : lando
2019-11-07 00:35:32 +00:00
Brian Grinstead 8e592888cb Bug 1593119 - clang-format the files affected by the MOZ_XBL unifdef r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D52057

--HG--
extra : moz-landing-system : lando
2019-11-07 00:35:25 +00:00
Brian Grinstead f19f38776b Bug 1593119 - unifdef MOZ_XBL r=bzbarsky
This was generated with:

```
rg -l -g '*.{cpp,h}' MOZ_XBL . | while read FILE ; do
   echo $FILE
   unifdef -m -UMOZ_XBL $FILE
done
```

After this, I manually removed the directive in nsContentUtils.cpp due to:

  unifdef: ./dom/base/nsContentUtils.cpp: 4630: Unterminated string literal
  unifdef: Output may be truncated

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

--HG--
extra : moz-landing-system : lando
2019-11-07 00:35:13 +00:00
Boris Chiou 6f374afd7d Bug 1592787 - No need to send non-animating offset-* if no effective motion path. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50012

--HG--
extra : moz-landing-system : lando
2019-11-06 20:17:10 +00:00
Boris Chiou 7884884b3d Bug 1592787 - Don't run compositor animations if offset-path is not animating and is none. r=hiro
So, we don't create a stacking context for this case. Besides, we also
make sure FindAnimationsForCompositor() work properly for motion-path if
offset-path is not effective (i.e. none and no animations).

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

--HG--
extra : moz-landing-system : lando
2019-11-06 20:17:07 +00:00
Dorel Luca 819a6c47e8 Merge mozilla-central to autoland. CLOSED TREE 2019-11-07 00:08:31 +02:00
Dorel Luca a0370f2bc4 Backed out changeset 955256297d6d (bug 1579367) for causing a top crash in Bug 1594404. a=backout 2019-11-06 23:19:09 +02:00
Sebastian Hengst 80da66f898 Backed out 5 changesets (bug 1554499) for frequent crashes, at least on OS X (bug 1594381). a=backout
Backed out changeset 3a49bec95338 (bug 1554499)
Backed out changeset c802ab8cc730 (bug 1554499)
Backed out changeset f60fee484460 (bug 1554499)
Backed out changeset a49d1c9e8b14 (bug 1554499)
Backed out changeset 133cddb65f59 (bug 1554499)
2019-11-06 14:29:12 +01:00
Ting-Yu Lin 2e06a9ea92 Bug 1593752 - When inserting canonical <body> element, reframe root element only if their used WritingModes are different. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D51889

--HG--
extra : moz-landing-system : lando
2019-11-06 05:50:12 +00:00
Emilio Cobos Álvarez 785ebbeab9 Bug 1594275 - Parse the exportparts attribute. r=bzbarsky
But don't hook it into style yet, that'll be a follow-up patch.

I had this patch in my local queue for a bit and there was no point in not
landing it I guess.

The value of this attribute could be stored only in the shadow root (as this
only applies to shadow hosts), but that would make invalidation harder, I think,
so do the obvious thing for now.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 18:03:51 +00:00
Glenn Watson 24103968ce Bug 1593615 - Bump up fuzziness on android async scrolling test r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D51948

--HG--
extra : moz-landing-system : lando
2019-11-06 00:32:43 +00:00
Narcis Beleuzu c729ea0850 Backed out 2 changesets (bug 1590550) for wr failures on contain-paint-025.html . CLOSED TREE
Backed out changeset 6400ccbce0a2 (bug 1590550)
Backed out changeset 2248bd863a26 (bug 1590550)

--HG--
extra : histedit_source : adc37f7add91b7e38d1a6af4cb0bc34308d1501e
2019-11-06 03:52:41 +02:00
Emilio Cobos Álvarez 0d3b6b9453 Bug 1590550 - Don't do the "simple display list" optimization when we have overflow clips. r=mattwoodrow
The previous code tried to do it, but it did it wrongly, as the overflow clip
comes from the parent, not the child.

Thus when we change a style that influences it, we weren't invalidating the
SIMPLE_DISPLAY_LIST bit, and such.

Make the reftest that caught this fail more reliable.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:55:40 +00:00
Emilio Cobos Álvarez 4606deed10 Bug 1590550 - Don't apply contain: paint inappropriately. r=mattwoodrow
This fixes css/css-contain/contain-paint-{002,012,024}.html when not using the
fast path (i.e., with the following patch).

Also invert the check in IsStackingContext as IsFrameOfType is a virtual method,
and IsContain* is just a bitflag.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 22:26:38 +00:00
Brian Grinstead 7be32e6d1b Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D50651

--HG--
extra : moz-landing-system : lando
2019-11-05 20:45:28 +00:00
alaskanemily 43cc243866 Bug 1588017 - Clean up nsIFrame::IntrinsicISizeOffsetData r=TYLin,dholbert
Update the comments, name, and fields to show it is agnostic of isize/bsize.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 18:52:03 +00:00
Markus Stange 80992e260c Bug 1592739 - Stop clearing the background behind vibrant -moz-appearance items. r=mattwoodrow
Now that there is no Gecko-contributed background color in the window any more,
there's nothing that needs to be cleared away. This simplifies things.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 18:48:29 +00:00
Markus Stange a3e9f03c73 Bug 1592739 - Ignore the background-color CSS value on the window document's root element if that element has a -moz-appearance. r=tnikkel
For regular elements, whenever -moz-appearance is used, the CSS background is
ignored. Root elements were behaving specially, and the background color also
needed to be adjusted.
For example, for Windows 7, we have the following CSS rule;

```
    :root {
      background-color: transparent;
      -moz-appearance: -moz-win-borderless-glass;
    }
```

This change makes the root element more consistent with other elements, so the
extra `background-color: transparent` declaration is no longer necessary.

This change does not let content documents opt out of forced opaqueness:
Root content documents still get an opaque background color from an existing
check further down in this method.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 18:47:30 +00:00
Geoff Brown 7467b22f8f Bug 1584040 - Allow assertions in outline-in-frameset.xhtml crashtest; r=dbaron
Accept assertions to avoid intermittent test failures due to assertion count mismatches.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 19:19:59 +00:00
Miko Mynttinen f8659a8bef Bug 1554499 - Remove member variables that were previously only used to calculate per frame index r=mattwoodrow
Depends on D50185

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:10:20 +00:00
Miko Mynttinen a131671571 Bug 1554499 - Add missing CalculatePerFrameIndex implementations r=mattwoodrow
Depends on D37804

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:09:53 +00:00
Alexis Beingessner 86bd968ca8 Bug 1554499 - Rename PerFrameKey -> PerFrameIndex for most methods r=mattwoodrow
This distinguishes better between the overloaded aspect of the PerFrameKey and the
actual mixed value.

Depends on D37803

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:09:04 +00:00
Alexis Beingessner ffcc426ce5 Bug 1554499 - change ComputePerFrameKey to be a static method. r=mattwoodrow
This static method is assumed to have the same signature as the type's constructor,
and so we must have an implementation of ComputePerFrameKey for each constructor
a display item provides that is called by MakeDisplayItem. Notably this excludes
the MakeClone constructor for a lot of items.

There is a default varargs implementation on nsDisplayItem which everyone
inherits by default, so types which previously didn't overload this method
still don't need to.

Providing an implementation of ComputePerFrameKey on some display item type
shadows the varargs implementation, so one doesn't need to worry about overloading
one constructor but forgetting about another -- if you do, the compiler will only
see the overload and complain that the signature doesn't match.

One slightly annoying result of this is that display items which previously
inherited an overloaded implementation from a superclass now must provide
their own manual implementations. Although as far as I could tell, all of
those cases had a trivial implementation of key=0 (the super class supported
custom keys but the subclasses didn't make use of it).

In those cases I just hardcoded key=0, but it's possible that it would be
better to call into the superclass' implementation to be more robust to changes.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:08:53 +00:00
Geoff Brown 968cf06036 Bug 1592608 - Add more fields to ReftestManifest test descriptions; r=ahal,froydnj
Add test annotations to the ReftestManifest and TestResolver. For example, a
test description from the TestResolver might now contain 'skip-if': 'skiaContent';
similar to the content provided for manifestparser tests; this will allow
'mach test-info report' to filter tests based on reftest manifest test
annotations.
Also add the referenced-test field which identifies the test file associated
with test entries for reference files; this will allow test-verify to
run the correct reftest when only the reference file has been modified.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 17:09:41 +00:00
Cosmin Sabou ac35928c0f Backed out changeset 4c4b65f3e7fb (bug 1575258) for causing wrench bustages. CLOSED TREE
--HG--
extra : rebase_source : b27ff2fc38aa0fb3d83aa3841ff92e5f1916a4c0
2019-11-05 15:54:39 +02:00
Andrew Osmond 19674dcc8a Bug 1575258 - Make text rasterize, render and snap glyphs consistently. r=lsalzman
The glyph pixel space in which we rasterized glyphs differed from how we
rendered the rasterized glyphs in the shader. They need to be in
agreement because the glyph subpixel offset selected during
rasterization depends on it. This patch should make the paths consistent
with each other.

Additionally, during animations, we now snap the reference frame
relative offset ignoring the impact of any animated transforms. This
helps with minimizing glyph wiggling during the transition.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 11:58:01 +00:00
Nicolas Silva f35db66138 Bug 1587713 - Avoid layerizing very large blobs due to animated transforms. r=jrmuizel
When blobs were lazily rasterized it was relatively cheap to create very large blob layers. Now that we move to pre-rasetrizing all blob tiles during scene building, large blob layers cause excessive memory allocation and CPU usage.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 14:55:40 +00:00
Jan Horak 3f10c3b905 Bug 1589601 - Return the fallback to primary monitor on Wayland to not break PIP; r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D51600

--HG--
extra : moz-landing-system : lando
2019-11-05 08:14:18 +00:00
Jan de Mooij 96cc0b5247 Bug 1579367 - Initialize XPCJSContext explicitly, after loading user prefs. r=kmag
This way we get the correct values for start-up prefs in the parent process.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 06:29:13 +00:00
Geoff Brown f7081f87f0 Bug 1575266 - Explicitly close reftest log file before quitting application; r=ahal
A speculative fix for intermittent android reftest failures in which the reftest log file
is incomplete but the missing logging is found in the logcat: I hope that closing the
log file explicitly will ensure logging is flushed before the application quits.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 22:45:48 +00:00
Glenn Watson 99449afeab Bug 1593615 - Update annotations for android fuzziness. r=ktaeleman
Differential Revision: https://phabricator.services.mozilla.com/D51711

--HG--
extra : moz-landing-system : lando
2019-11-04 21:08:27 +00:00
Timothy Nikkel c6fc2ec62c Bug 1593171. Protect against the same test from calling RecordResult more than once in the reftest harness. r=mattwoodrow
Some crashtests call window.location.reload one or more times. Each time the test document loads we call OnDocumentLoad, and each call of that function can lead to a RecordResult call, either directly or indirectly through WaitForTestEnd and its MakeProgress state machine.

Although the error when this happens ("program error managing timeouts") is confusing I found a couple intermittent instances of this happening in our bugzilla.

However with the fission changes to the reftest harness (which in general make things more async) this is much more common because we keep the tests alive longer before tearing down the test page, giving it more of a chance to happen.

To fix it we pass around the top level test url so it can make its way to RecordResult. This means we can ignore RecordResult calls for previous tests, and ignore the second or more RecordResult call for the current test. We reset the count when we start a new test.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 19:48:58 +00:00
Jonathan Watt db9b9ed1af Bug 1593793. Move and rename nsPrintData::mBrandName to nsPrintJob::mFallbackDocTitle. r=bobowen
nsPrintData::mBrandName never changes over the lifetime of a Firefox instance.
It is wasteful to have nsPrintData obtain and store it, since we can replace
an nsPrintJob's nsPrintData object multiple times over the lifetime of the
nsPrintJob and nsPrintJob is the only consumer.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 20:02:03 +00:00
Csoregi Natalia d6c49cdf76 Backed out changeset e75d9dbb4853 (bug 1590550) for reftest failures on contain-paint-clip-001.html . CLOSED TREE 2019-11-04 23:38:56 +02:00
Emilio Cobos Álvarez eb96434317 Bug 1590550 - Don't do the "simple display list" optimization when we have overflow clips. r=mattwoodrow
The previous code tried to do it, but it did it wrongly, as the overflow clip
comes from the parent, not the child.

Thus when we change a style that influences it, we weren't invalidating the
SIMPLE_DISPLAY_LIST bit, and such.

Make the reftest that caught this fail more reliable.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 19:30:24 +00:00
Emilio Cobos Álvarez a57fd16889 Bug 1506842 - Always restyle / repaint when a visited query finishes. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D50810

--HG--
extra : moz-landing-system : lando
2019-11-04 16:55:33 +00:00
Alex Catarineu 08a431f34e Bug 1581537 - Avoid several browser language leaks r=smaug
Spoof dom/dom.properties, layout/xmlparser.properties,
layout/MediaDocument.properties to en-US if needed.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 16:56:27 +00:00
Mihai Alexandru Michis d19c1272ca Backed out changeset 1d87c269da8a (bug 1581537) for causing bc failures in browser_misused_characters_in_strings.js CLOSED TREE
--HG--
extra : rebase_source : b9f2da6650a4213a4a9284d6dbe7ecfd97761501
extra : amend_source : b7ca833a091419a2de5904eccb2d3ce9d0fcd337
2019-11-04 16:06:37 +02:00
Alex Catarineu ea206b140d Bug 1581537 - Avoid several browser language leaks r=smaug
Spoof dom/dom.properties, layout/xmlparser.properties,
layout/MediaDocument.properties to en-US if needed.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 11:27:59 +00:00
Brian Hackett c6cedf4eac Bug 1575657 - Always create record/replay checkpoints when painting, r=mstange.
Differential Revision: https://phabricator.services.mozilla.com/D46244

--HG--
extra : moz-landing-system : lando
2019-11-03 12:22:20 +00:00
Masayuki Nakano 129b58687c Bug 1588745 - part 6: Post processing of setting value with TextEditor should be done before dispatching "input" event r=Ehsan
Currently, "input" event is fired when the `AutoScriptBlocker` in `SetValue()`
is deleted.  So, for keeping same behavior, the post processing after calling
`TextEditor` methods should be done before editor dispatches "input" event.

Fortunately, `TextInputListener::OnEditActionHandled()` is a good chance to
do that.  Therefore, this patch makes it notify `TextControlState` and
`AutoTextControlHandlingState`.

Note that ideally, each method of `TextEditor` should return
`NS_ERROR_OUT_OF_MEMORY` coming from
`AutoTextControlHandlingState::OnEditActionHandled()`.  However, it requires
a lot of changes in editor classes, and the case is really rare since editor
does not use fallible allocation.  Therefore, it must be okay to crash in
editor if `OnEditActionHandled()` returns `NS_ERROR_OUT_OF_MEMORY`.

Depends on D51395

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

--HG--
extra : moz-landing-system : lando
2019-11-03 02:50:00 +00:00
Masayuki Nakano 91b4aa6851 Bug 1588745 - part 1: Rename `nsTextEditorState` to `mozilla::TextControlState` r=Ehsan
It should be in `mozilla` namespace and it manages not only `TextEditor`,
manages selection, selection controller and callback from editor. so that
I think it stores state of "text control widget". Therefore, I name it to
`TextControlState`.

And cleaning up the cpp file.

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

--HG--
rename : dom/html/nsTextEditorState.cpp => dom/html/TextControlState.cpp
rename : dom/html/nsTextEditorState.h => dom/html/TextControlState.h
extra : moz-landing-system : lando
2019-11-01 20:43:11 +00:00
Glenn Watson 3de743de9b Bug 1592417 - Reduce work done when picture cache tiles are inside the display port but not currently visible. r=nical
Previously, WR needed to update and track dependencies for all
allocated picture cache tiles in the virtual display port. This
means doing extra CPU work (dependency updates) and in some cases,
extra GPU work (larger off-screen child surfaces) than are strictly
required.

With this patch, each tile determines if it is currently visible in
pre_update. If the tile isn't visible, we skip doing dependency
updates until it is on screen again. More importantly, this is
used to reduce the world culling rect for primitive preparation,
which also means large child surfaces only require allocations
large enough to enclose the visible tiles, rather than the
display port.

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

--HG--
extra : moz-landing-system : lando
2019-11-03 03:38:57 +00:00
Sam Mauldin 16993481ab Bug 1592389 - Rename Mozfield / Mozfieldtext to Field and Fieldtext r=emilio
Split off of Bug 1590894
Rename these to support unprefixed version
Also add alias to keep compatibility

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

--HG--
extra : moz-landing-system : lando
2019-11-02 21:28:49 +00:00
Ting-Yu Lin df35f07d16 Bug 1526268 Part 3 - Disable APZ if AccessibleCaret is in position:fixed subtree or its position is changed. r=botond,mats
In common cases where the caret is in a position:static frame subtree,
the caret's position (relative to canvas frame's custom content
container) should not be changed during scrolling.

However, when the caret is in a position:fixed or "stuck"
position:sticky frame subtree, the caret's position will change during
scrolling. We need to disable APZ to avoid jumpy carets.

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

--HG--
extra : moz-landing-system : lando
2019-11-02 03:05:28 +00:00
Ting-Yu Lin 742cd4bddc Bug 1526268 Part 2 - Fix the logic to detect whether AccessibleCaret's position is changed. r=mats
This is the main patch to fix bug 1526268.

It is wrong to use the cached rects relative to the root
frame (ViewportFrame) to detect whether AccessibleCaret's position is
changed or not, because it doesn't account the root scroll frame's
scroll offset.

The effect is that we always produce "PositionChangedResult::Changed"
when scrolling on position:static elements, but
"PositionChangedResult::NotChanged" on position:fixed elements.

This patch fixes this by using the rect relative to custom content
container, which is the actually rect to set caret's position, to check
whether the position is changed or not.

Note that even with this patch, the caret on "position:fixed" element is
still jumpy during scrolling due to APZ. Part 3 will fixed this.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 22:19:18 +00:00
Ting-Yu Lin 22b2870b5a Bug 1526268 Part 1 - Make AccessibleCaret's #text-overlay and #image children be normal in-flow elements. r=mats
The #text-overlay and #image child divs were "position: absolute" under
the main AccessibleCaret div. However, they don't necessary need to be
position:absolute to achieve the desired layout. We can make them normal
in-flow elements to simplify the frame structure. There should not be
any perceivable change to the user.

Also, AccessibleCaret's position can made more accurate by using float
CSS pixels when converting it from app unit.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 22:16:08 +00:00
Edgar Chen acd2114113 Bug 1580491 - Use Element::HasNonEmptyAttr in various places; r=bzbarsky
This was done by reviewing the results of
https://searchfox.org/mozilla-central/search?q=%2F*GetAttr%5C(.%2B(%26%26%7C%5C%7C%5C%7C)&case=true&regexp=true
one by one and replacing them with Element::HasNonEmptyAttr if possible.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 15:24:25 +00:00
Jonathan Kew 4114aeff1a Bug 1587385 - Give a better info (not error) message if a webfont is not used because of font-display timeout. r=heycam
This is not an error in the same way as a download failure, and should not be reported as one.
An Info message is sufficient.

Also suppress "unknown" location in messages about @font-face rules, as it is not useful,
pending a proper fix (bug 1450903).

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

--HG--
extra : moz-landing-system : lando
2019-11-01 08:54:05 +00:00
Dan Glastonbury 196b08c653 Bug 1578319: Telemetry for total time spent in layout per Refresh Driver tick. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D44427

--HG--
extra : moz-landing-system : lando
2019-11-01 04:33:48 +00:00
Oriol Brufau f57eb64b4c Bug 1588760 - Move css-lists reftests into WPT r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D49278

--HG--
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001-ref.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001a.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001b.html
extra : moz-landing-system : lando
2019-11-01 04:27:32 +00:00
Nicholas Nethercote a518709339 Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm
Lots of these callbacks have a non-`void*` final parameter, which UBSAN
complains about. This commit changes them to have a `void*` parameter.

This requires undoing the machinery added in the first two commits of bug
1473631: `TypePrefChangeFunc` and `PREF_CHANGE_METHOD`. The resulting code is
simpler (which is good) and more boilerplate-y (which is bad) but avoids the
undefined behaviour (which is good).

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

--HG--
extra : moz-landing-system : lando
2019-11-01 02:57:20 +00:00
Boris Chiou d77411c397 Bug 1429305 - Enable OMTA for motion path and add some tests for it. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50015

--HG--
extra : moz-landing-system : lando
2019-10-31 21:16:35 +00:00
Boris Chiou a9e57a5534 Bug 1429305 - Extend compositor properties for motion. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50014

--HG--
extra : moz-landing-system : lando
2019-10-31 20:07:45 +00:00
Boris Chiou 29378ebb46 Bug 1429305 - Cache gfx path. r=hiro
We cache the path in AnimationInfo for layers, and in
CompsoitorAnimationStorage for web-renderer.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 21:36:39 +00:00
Boris Chiou d546797708 Bug 1429305 - Add new layer messages for passing motion path info. r=hiro,mattwoodrow
This also includes the implementation of SetAnimatable, FromAnimatable,
and merge the final matrix with motion path.

Besides, we always use PathBuilderSkia for calculating the gfx::Path for
web-renderer.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 20:07:41 +00:00
Boris Chiou 58ba6b888a Bug 1429305 - Use serde to serialize LengthPercentage and StyleRayFunction. r=emilio
We need to pass these two types into the compositor, so we need a better
way to serialize these rust types. We use serde and bincode to
serialize/deserialize them, and use ByteBuf to pass the &[u8] data
through IPC. We define StyleVecU8 for FFI usage only.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 21:35:05 +00:00