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

17078 Коммитов

Автор SHA1 Сообщение Дата
Emily McDonough 12a9d5c07e Bug 1606485 - Check containing parent frames for 'contain:layout/paint' in grid container frames. r=emilio
This prevents grid container frames from being considered subgrid (even when
they have contain:layout/paint) when they are themselves a grid item of a
contain grid.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 01:06:56 +00:00
Emilio Cobos Álvarez d10341c0bc Bug 1607049 - Split LengthPercentage again. r=boris
This is needed to support min() / max() / clamp(), etc, as those need to be a
tree of values and thus need heap storage.

This unfortunately grows LengthPercentage to be two pointers, which is bad as
it blows up the size of nsStylePosition enough to trigger the size assertions.

This patch comments out the assertion for now, the follow-up patches will
uncomment them.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 13:21:58 +00:00
Emilio Cobos Álvarez aaecc96d81 Bug 1588791 - Make fission iframes honor and deal with the scrolling attribute. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D59630

--HG--
extra : moz-landing-system : lando
2020-01-13 11:30:44 +00:00
Ciure Andrei 51c540de3d Backed out 2 changesets (bug 1588791) for causing test_bug369370.html and test_transformed_scrolling_repaints_3.html to permafail
Backed out changeset 52e661ff161d (bug 1588791)
Backed out changeset d59e691bda9e (bug 1588791)
2020-01-13 04:49:16 +02:00
Emilio Cobos Álvarez 6e69347f9f Bug 1588791 - Make fission iframes honor and deal with the scrolling attribute. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D59630

--HG--
extra : moz-landing-system : lando
2020-01-12 22:22:29 +00:00
Xidorn Quan 87fdc21f61 Bug 1513275 - Ensure nested ruby level container don't escape from line break suppression. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58351

--HG--
extra : moz-landing-system : lando
2020-01-10 23:47:28 +00:00
Jonathan Kew 74032fc86f Bug 1605265 - Don't include overflow child list when computing outline rect. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D59582

--HG--
extra : moz-landing-system : lando
2020-01-10 23:44:46 +00:00
Sylvestre Ledru c521758c5e Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:50:11 +00:00
Michael Wilson 374741f808 Bug 1605874 - nsFrame.cpp: Remove a nested redundant #if. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D58736

--HG--
extra : moz-landing-system : lando
2020-01-09 07:54:10 +00:00
Emilio Cobos Álvarez 16b2bfd512 Bug 1607826 - Use <type_traits> more in layout. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D59160

--HG--
extra : moz-landing-system : lando
2020-01-09 01:48:43 +00:00
Emily McDonough be59ef32a5 Bug 1607952 - Avoid using both std::move and a method on the same variable for getting the number of explicit tracks for ComputedGridTrackInfo r=emilio
The order of argument evaluation is implementation-defined, so we can't trust
whether the .Length() or the std::move() will get executed first. This is OK
right now since the constructor takes the argument by rvalue and so it can't be
emptied out before the .Length() call. However, a change to the types in the
constructor's argument list could make this still compile, but then depend on
compiler-dependent argument evaluation order to get the correct result.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 00:29:08 +00:00
Emilio Cobos Álvarez e363a41bd4 Bug 1607595 - Remove uses of mozilla::IsBaseOf. r=froydnj
Automatically generated by:

$ rg 'IsBaseOf<' | cut -d : -f 1 | xargs sed -i 's/mozilla::IsBaseOf</std::is_base_of</g'
$ rg 'IsBaseOf<' | cut -d : -f 1 | xargs sed -i 's/IsBaseOf</std::is_base_of</g

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

--HG--
extra : moz-landing-system : lando
2020-01-08 14:52:10 +00:00
Mirko Brodesser 935aed6418 Bug 1600267: part 17) Call `ComparePoints` instead of `ComparePoints_Deprecated` in `nsFrameSelection`. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58916

--HG--
extra : moz-landing-system : lando
2020-01-08 10:15:46 +00:00
sotaro 68439d9c26 Bug 1598998 - Fix CanvasContextType::ImageBitmap handling r=nical
Differential Revision: https://phabricator.services.mozilla.com/D56348

--HG--
extra : moz-landing-system : lando
2020-01-08 01:12:50 +00:00
Ting-Yu Lin 4c6c2f7bbe Bug 1603088 Part 2 - Delete NS_FRAME_CONTAINS_RELATIVE_BSIZE manipulation in nsColumnSetFrame::Reflow(). r=dbaron
Nowadays, ColumnSetFrame is an inner frame under ColumnSetWrapperFrame.
It always has "block-size: auto", so `aReflowInput.ComputedBSize()`
always equals to NS_UNCONSTRAINEDSIZE.

Also, -moz-column-content no longer has "max-block-size: 100%", so
NS_FRAME_CONTAINS_RELATIVE_BSIZE can never be set on ColumnSetFrame when
constructing ReflowInputs for ColumnSetFrame's children in
`ReflowInput::InitResizeFlags`. Removing the bit is not needed, either.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 02:48:14 +00:00
Ting-Yu Lin 41f37efd4f Bug 1603088 Part 1 - Remove "max-block-size: 100%" for -moz-column-set and -moz-column-content. r=dbaron
Simply remove "max-block-size: 100%" for -moz-column-set and
-moz-column-content breaks abspos-breaking-dynamic-{001,002,003}.html.
We need to reflow ColumnSetWrapper's children whenever
ColumnSetWrapper's block-size or max-block-size is changed because both
size affect the available block-size for ColumnSetWrapper's children.

We set `NS_FRAME_CONTAINS_RELATIVE_BSIZE` for ColumnSetWrapperFrame so
that it will set itself dirty in `selfDirty` in
`nsBlockFrame::ReflowDirtyLines`, and mark its lines dirty if
`aState.mReflowInput.IsBResize()` is true.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 02:48:12 +00:00
Bogdan Tara d0de37ac8e Backed out 2 changesets (bug 1603088) for android crashtest failures on 1015844.html
Backed out changeset 2bd2d03f3c45 (bug 1603088)
Backed out changeset d4cc66fb7593 (bug 1603088)
2020-01-08 02:04:06 +02:00
Emilio Cobos Álvarez 547c9db8cd Bug 1606130 - Make display: -moz-box more similar to other display types for block layout. r=jfkthame,surkov
It is unexpected (see bug) that a -moz-box is affected by baseline alignment.
Make -moz-box be block-outside, and -moz-inline-box be inline-outside, instead
of the bespoke thing we have now.

This is more similar to everything else, and fixes the bug.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 21:00:42 +00:00
Bogdan Tara 6571a2a6fb Backed out changeset 23d862866f3a (bug 1606130) for android crashtest complaining about 1547420-1.html 2020-01-07 22:53:10 +02:00
Ting-Yu Lin fa839d3679 Bug 1603088 Part 2 - Delete NS_FRAME_CONTAINS_RELATIVE_BSIZE manipulation in nsColumnSetFrame::Reflow(). r=dbaron
Nowadays, ColumnSetFrame is an inner frame under ColumnSetWrapperFrame.
It always has "block-size: auto", so `aReflowInput.ComputedBSize()`
always equals to NS_UNCONSTRAINEDSIZE.

Also, -moz-column-content no longer has "max-block-size: 100%", so
NS_FRAME_CONTAINS_RELATIVE_BSIZE can never be set on ColumnSetFrame when
constructing ReflowInputs for ColumnSetFrame's children in
`ReflowInput::InitResizeFlags`. Removing the bit is not needed, either.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 20:19:27 +00:00
Ting-Yu Lin 06d5a025d1 Bug 1603088 Part 1 - Remove "max-block-size: 100%" for -moz-column-set and -moz-column-content. r=dbaron
Simply remove "max-block-size: 100%" for -moz-column-set and
-moz-column-content breaks abspos-breaking-dynamic-{001,002,003}.html.
We need to reflow ColumnSetWrapper's children whenever
ColumnSetWrapper's block-size or max-block-size is changed because both
size affect the available block-size for ColumnSetWrapper's children.

We set `NS_FRAME_CONTAINS_RELATIVE_BSIZE` for ColumnSetWrapperFrame so
that it will set itself dirty in `selfDirty` in
`nsBlockFrame::ReflowDirtyLines`, and mark its lines dirty if
`aState.mReflowInput.IsBResize()` is true.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 19:17:27 +00:00
Emilio Cobos Álvarez ff938720a8 Bug 1606130 - Make display: -moz-box more similar to other display types for block layout. r=jfkthame,surkov
It is unexpected (see bug) that a -moz-box is affected by baseline alignment.
Make -moz-box be block-outside, and -moz-inline-box be inline-outside, instead
of the bespoke thing we have now.

This is more similar to everything else, and fixes the bug.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 18:02:05 +00:00
Emily McDonough 9108c52192 Bug 1341507 - Refactor TrackSizingFunctions::mRepeatEndDelta to be a getter function rather than a variable. r=emilio
The information in it is always derivable from the values of mRepeatAutoStart
and mRepeatAutoEnd. Additionally, its value is used in some cases where it has
not yet been set properly (such as CalculateRepeatFillCount).

This works out currently because the default value is zero we only accept
repeat(auto-fill, ...) and repeat(auto-fit, ...) CSS values that have a single
element in the repeat. In that case, zero is the correct value for
RepeatEndDelta.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 00:50:58 +00:00
Mihai Alexandru Michis c8ca91e7db Backed out changeset 67142a370d4a (bug 1598998) for causing failures in ImageBitmapRenderingContext.cpp
CLOSED TREE

--HG--
extra : histedit_source : 1e4895b3c8773f7881b99f1ab0fca9c6b64b7644
2020-01-07 01:49:59 +02:00
sotaro 374fa2d1ea Bug 1598998 - Fix CanvasContextType::ImageBitmap handling r=nical
Differential Revision: https://phabricator.services.mozilla.com/D56348

--HG--
extra : moz-landing-system : lando
2020-01-06 10:14:15 +00:00
Emilio Cobos Álvarez 5e95f50f4f Bug 1606659 - Don't pass margin and scrollbar preferences to nsFrameLoader::Show. r=mattwoodrow
Instead, get them on the relevant code paths.

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

--HG--
extra : moz-landing-system : lando
2020-01-05 22:48:40 +00:00
Emilio Cobos Álvarez ab672d9f29 Bug 1605803 - Use cbindgen for content property. r=xidorn
This cleans up and also allows us to keep the distinction between content: none
and content: normal, which allows us to fix the computed style we return from
getComputedStyle().

Do this last bit from the resolved value instead of StyleAdjuster, because
otherwise we need to tweak every initial struct for ::before / ::after.

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

--HG--
extra : moz-landing-system : lando
2020-01-05 13:10:39 +00:00
Emilio Cobos Álvarez bc36653df5 Bug 1449861 - Use UTF8String for some CSSOM APIs. r=bzbarsky
In particular, the ones where we transcode unconditionally atm (property names
and such).

There are others like cssText getters and setters which are a bit harder,
because I either need to rewrite all our serialization code to work with UTF8
(which is fine, but a lot of work), or teach webidl to have a setter that takes
UTF8String as input but returns DOMString as output (which is at best hacky).

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

--HG--
extra : moz-landing-system : lando
2020-01-04 10:36:49 +00:00
Ting-Yu Lin 349e6afe6b Bug 1499281 - Remove column-span pref in reftest.list/crashtest.list, and remove duplicate reftest runs. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D58401

--HG--
extra : moz-landing-system : lando
2019-12-31 16:23:30 +00:00
Ting-Yu Lin c93d1c1bda Bug 1499281 - Remove column-span pref in nsBlockFrame. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D58397

--HG--
extra : moz-landing-system : lando
2019-12-31 16:11:07 +00:00
Ting-Yu Lin 48fe88d373 Bug 1499281 - Remove column-span pref in nsColumnSetFrame. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D58396

--HG--
extra : moz-landing-system : lando
2019-12-31 16:10:21 +00:00
Xidorn Quan 3bb05cef1c Bug 1606192 - Remove some unused nsresult return value in layout code. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D58342

--HG--
extra : moz-landing-system : lando
2019-12-28 03:27:13 +00:00
Boris Chiou bdd5623ab2 Bug 779598 - Do animations of transforms with preserve-3d at compositor. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D57029

--HG--
extra : moz-landing-system : lando
2019-12-23 09:52:43 +00:00
Hiroyuki Ikezoe 2315c74f45 Bug 779598 - Call GetVisualOverflowRectRelativeToSelf() only in the case of NoPrerender. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D56642

--HG--
extra : moz-landing-system : lando
2019-12-23 09:52:39 +00:00
Ting-Yu Lin 955de670f0 Bug 1598112 - Use scrolled frame's overflow rect as a the bounding box for position:sticky elements. r=emilio
This change effectively disallows sticky elements to enlarge overflow
area. That is, the position of a sticky element will be bounded by the
union of scrolled frame's border-box and the overflow area created by
other non-sticky elements within the same block formatting context.

This makes Firefox's position:sticky elements behaves like Google Chrome
in this respect.

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

--HG--
extra : moz-landing-system : lando
2019-12-21 00:24:57 +00:00
Narcis Beleuzu 943efe9942 Backed out changeset b2e78ee1b18e (bug 1598112) for Linting failure on position-sticky-large-top-2-ref.tentative.html . CLOSED TREE 2019-12-21 02:02:00 +02:00
Ting-Yu Lin c1ef537e20 Bug 1598112 - Use scrolled frame's overflow rect as a the bounding box for position:sticky elements. r=emilio
This change effectively disallows sticky elements to enlarge overflow
area. That is, the position of a sticky element will be bounded by the
union of scrolled frame's border-box and the overflow area created by
other non-sticky elements within the same block formatting context.

This makes Firefox's position:sticky elements behaves like Google Chrome
in this respect.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 19:30:05 +00:00
Botond Ballo 357c20419c Bug 1605466 - Include-what-you-use fixes. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D58038

--HG--
extra : moz-landing-system : lando
2019-12-20 20:36:14 +00:00
Chris Peterson 406763af7f Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.

Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:

* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
Ting-Yu Lin b95cb66316 Bug 1604978 - Move NS_BLOCK_FLAGS_MASK and NS_BLOCK_FLAGS_NON_INHERITED_MASK into nsBlockFrame::Init. r=heycam
The two masks are used only in nsBlockFrame::Init, so they should be
defined closer to their usage.

Note that 'constexpr' declared on functions implies 'inline'.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 03:56:12 +00:00
Mirko Brodesser b8bb35cc69 Bug 1600267: part 1) Rename `nsContentUtils::ComparePoints` to `ComparePoints_Deprecated`. r=smaug
In a follow-up commit a new `ComparePoints` method with cleaner
arguments and return value will be added.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:08 +00:00
Hiroyuki Ikezoe 04b4206ae2 Bug 1596317 - Use CallState for SubDocEnumFunc. r=smaug
`true` -> `CallState::Continue`
`false` -> `CallState::Stop`

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

--HG--
extra : moz-landing-system : lando
2019-12-19 07:58:45 +00:00
Bogdan Tara a96ffb25c5 Backed out 7 changesets (bug 1596317) for causing build bustages CLOSED TREE
Backed out changeset 0d3208fcb948 (bug 1596317)
Backed out changeset fe5554dc4115 (bug 1596317)
Backed out changeset 019de59cbc93 (bug 1596317)
Backed out changeset f4851472b087 (bug 1596317)
Backed out changeset a984cf515db8 (bug 1596317)
Backed out changeset d0da5bf9b4d4 (bug 1596317)
Backed out changeset abe5f2030dd9 (bug 1596317)
2019-12-19 06:49:39 +02:00
Hiroyuki Ikezoe 9e4bf031ae Bug 1596317 - Use CallState for SubDocEnumFunc. r=smaug
`true` -> `CallState::Continue`
`false` -> `CallState::Stop`

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

--HG--
extra : moz-landing-system : lando
2019-12-19 04:16:10 +00:00
Emilio Cobos Álvarez cae1e55d61 Bug 1581467 - Do not use synthetic display-inside values. r=TYLin
This matches the new servo layout engine too, and thus removes some #[cfg]
gunk.  Just use `flow` since it doesn't simplify the layout code as much.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 01:19:04 +00:00
Timothy Nikkel e40055fcd7 Bug 1602258. Remove GetAvailableVisualScrollingDirections, it is unused. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D57611

--HG--
extra : moz-landing-system : lando
2019-12-18 23:08:36 +00:00
Timothy Nikkel 36ab8e6657 Bug 1602258. Use GetAvailableScrollingDirectionsForUserInputEvents in WheelHandlingUtils::CanScrollOn. r=botond
We also need to adjust the scroll range we use. We do this by adding GetScrollRangeForUserInputEvents which just uses the range that GetAvailableScrollingDirectionsForUserInputEvents computed.

This should give two improvements:
1) CanScrollOn will not report that the user can scroll in an overflow hidden direction.
2) CanScrollOn will report that the user can scroll in an overflow hidden direction if the document is pinch zoomed in so that the user can scroll around the layout viewport.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 23:08:24 +00:00
Timothy Nikkel 8d223d13dd Bug 1602258. Make ScrollFrameHelper::GetAvailableScrollingDirectionsForUserInputEvents check for at least half a screen pixel of scroll range instead of one app unit. r=botond
This is similar to GetAvailableScrollingDirections but also takes into account any resolution.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 23:08:11 +00:00
Mats Palmgren baaafd0dfa Bug 1604772 - Remove the eSVGGeometry IsFrameOfType bit. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57622

--HG--
extra : moz-landing-system : lando
2019-12-18 16:06:29 +00:00
Mats Palmgren 5bd596d87f Bug 1604771 - Remove the eSVGForeignObject IsFrameOfType bit. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57621

--HG--
extra : moz-landing-system : lando
2019-12-18 16:00:47 +00:00
Alex Henrie 5254fbc4df Bug 1604393 - Remove dead assignment from nsImageFrame::DisplayAltFeedbackWithoutLayer. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D57417

--HG--
extra : moz-landing-system : lando
2019-12-18 19:51:13 +00:00
Mats Palmgren c54ab2ee1a Bug 1604668 - Remove the eExcludesIgnorableWhitespace IsFrameOfType bit. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57569

--HG--
extra : moz-landing-system : lando
2019-12-18 01:41:20 +00:00
Mats Palmgren ffee4dbd18 Bug 1602430 - Apply min/max-height correctly for fragmented boxes with no height specified. r=TYLin
Depends on D56738

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:13:13 +00:00
Mats Palmgren a92e745526 Bug 1574046 - Wallpaper the effect of this bug in nsBlockFrame::ComputeFinalSize. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D56738

--HG--
extra : moz-landing-system : lando
2019-12-17 23:03:21 +00:00
Edwin Takahashi 52c6b8935a Bug 1600208 - mark test_bug756984 as permafail on ubuntu1804 r=jmaher
Changes:

This test is a permafail on ubuntu1804, and should be marked as such as the migration to ubunt1804 is actively underway with target date of end of December 2019.

With a fail-if annotation, the hope is that if this test suddenly begins passing we will be notified of it (as opposed to skipping it outright).

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

--HG--
extra : moz-landing-system : lando
2019-12-17 09:46:27 +00:00
Ting-Yu Lin e3160b985d Bug 1601298 - Initialize FlexboxAxisTracker's members in the declaration. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D55823

--HG--
extra : moz-landing-system : lando
2019-12-16 13:38:25 +00:00
Ting-Yu Lin c46a8af074 Bug 1601298 - Initialize nsFlexContainerFrame's members in the declaration. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D55825

--HG--
extra : moz-landing-system : lando
2019-12-16 00:39:55 +00:00
Ting-Yu Lin 938e81c3b9 Bug 1601298 - Initialize PositionTracker and its derived classes' members in the declaration. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D55824

--HG--
extra : moz-landing-system : lando
2019-12-16 13:40:47 +00:00
Ting-Yu Lin b8f164af41 Bug 1601298 - Initialize FlexLine's members in the declaration. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D55822

--HG--
extra : moz-landing-system : lando
2019-12-16 00:41:02 +00:00
Ting-Yu Lin f5f24e4655 Bug 1601298 - Initialize FlexItem's members in the declaration. r=mats
In this way, we can avoid duplicates in FlexItem's normal constructor
and 'strut' constructor.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 13:37:20 +00:00
Alex Henrie a675a1cda4 Bug 1604394 - Remove dead assignment from nsIFrame::PeekOffset. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D57418

--HG--
extra : moz-landing-system : lando
2019-12-17 05:09:00 +00:00
Emilio Cobos Álvarez 83fdd60571 Bug 1603807 - Don't divide by zero in ClampAndAlignWithPixels. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D57188

--HG--
extra : moz-landing-system : lando
2019-12-16 15:55:22 +00:00
Ting-Yu Lin dee8773f2c Bug 1602407 - Update documents with wiki.m.o continuation model link added. r=dbaron
DONTBUILD because this is a comment-only change.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 23:57:11 +00:00
Emilio Cobos Álvarez ac506d6f4b Bug 1603889 - Simplify the scrollbar preference setup. r=smaug
So much plumbing to pass an enum down.

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

--HG--
extra : moz-landing-system : lando
2019-12-15 22:56:23 +00:00
Alex Henrie 6bceafe72c Bug 1603995 - Remove dead assignments from nsFrame::BoxReflow. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D57233

--HG--
extra : moz-landing-system : lando
2019-12-15 06:23:01 +00:00
Emilio Cobos Álvarez 3ccc6c30ab Bug 1603313 - Subdocument enum callbacks should take a reference. r=bzbarsky
As they can never take null.

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

--HG--
extra : moz-landing-system : lando
2019-12-14 05:08:39 +00:00
jeffin143 8f714c8f81 Bug 1601856 : convert NS_STYLE_VISIBILITY_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D56140

--HG--
extra : moz-landing-system : lando
2019-12-13 05:34:38 +00:00
jeffin143 4298d3f098 Bug 1601990 : convert NS_STYLE_POINTER_EVENTS_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D56203

--HG--
extra : moz-landing-system : lando
2019-12-12 10:24:16 +00:00
Emilio Cobos Álvarez 51c8170136 Bug 1598841 - nsCanvasFrame anonymous content needs to be document-level. r=bdahl,heycam
Otherwise code like StyleChildrenIterator won't find it, plus it is the right
thing to do anyway.

You don't really want this to inherit from the root element, even though given
this content is under our control (only in chrome documents) it is less of an
issue.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 22:27:07 +00:00
Morgan Reschenberg 81f63c9d2a Bug 1594099: Use the visual overflow area of text-frame descendants (rather than entire lines) to determine the HCM backplate. r=dholbert
The line-box's visual overflow area includes margin/border/padding area on
its descendants, as well as extra empty space for text-indent and text-align.
None of that area contains text & merits a backplate.  So, we can't rely on
the line-box's visual overflow area to determine the backplate -- we have to
actually dig down to find the text frames.

Also, this patch simplifies our suite of backplate reftests in several ways.
Most notably, this patch:
- removes unnecessary backplatable whitespace in the testcase (since that's
  awkward to mock up in the reference case).
- uses a linear-gradient for the background instead of a longer data URI.
- uses the predictably-sized Ahem font inside of tests' form controls.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 19:19:20 +00:00
Dorel Luca 55496cd03f Backed out changeset c25dd569f2cf (bug 1594099) for Reftest failures on reftests/high-contrast/backplate-bg-image-012.html. CLOSED TREE 2019-12-11 20:45:03 +02:00
Morgan Reschenberg 1126453626 Bug 1594099: Use the visual overflow area of text-frame descendants (rather than entire lines) to determine the HCM backplate. r=dholbert
The line-box's visual overflow area includes margin/border/padding area on
its descendants, as well as extra empty space for text-indent and text-align.
None of that area contains text & merits a backplate.  So, we can't rely on
the line-box's visual overflow area to determine the backplate -- we have to
actually dig down to find the text frames.

Also, this patch simplifies our suite of backplate reftests in several ways.
Most notably, this patch:
- removes unnecessary backplatable whitespace in the testcase (since that's
  awkward to mock up in the reference case).
- uses a linear-gradient for the background instead of a longer data URI.
- uses the predictably-sized Ahem font inside of tests' form controls.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 17:02:12 +00:00
Mats Palmgren 0beec6773c Bug 1572573 - Pushed floats should make block-formatting contexts incomplete, not overflow-incomplete. r=TYLin
So the reason we get the current bogus result is that overflow:hidden
are block-formatting contexts (BFC) and in paginated mode they are
implemented as block frames with NS_BLOCK_CLIP_PAGINATED_OVERFLOW
to do the clipping.  When we have a child float that doesn't fit,
we split it and currently we report that as Overflow-Incomplete
(which is correct for a normal block, but not a BFC) which leads
to creating an overflow-container continuation which has zero
size which we then clip.  We should report it as Incomplete
instead, except if we already are an overflow-container.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 14:17:51 +00:00
Emilio Cobos Álvarez 234528f5c5 Bug 1602047 - For <img src=""> (no current request), do not use mapped aspect ratio. r=tnikkel
This works in chrome because they don't event create an image box for this case,
which is totally against the spec.

The spec doesn't consider an image with a null image request, but our behavior
changes in some other places as well because of it...

Depends on D56367

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

--HG--
extra : moz-landing-system : lando
2019-12-10 05:28:15 +00:00
Emilio Cobos Álvarez 205021fe72 Bug 1602047 - Cleanup nsImageFrame::UpdateIntrinsic{Size,Ratio}. r=tnikkel
We always pass mImage.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 05:26:06 +00:00
Emilio Cobos Álvarez afe05cb6a5 Bug 1602421 - Move logical side definitions to WritingModes.h. r=jfkthame
Depends on D56350

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

--HG--
extra : moz-landing-system : lando
2019-12-09 20:41:03 +00:00
Emilio Cobos Álvarez edc814040b Bug 1600536 - user-select: auto on input / textarea should behave as text. r=mats
This is covered by existing tests, via the removal of the rule in forms.css

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

--HG--
extra : moz-landing-system : lando
2019-12-09 18:16:57 +00:00
Emilio Cobos Álvarez e86d35a49a 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-09 17:24:06 +00:00
Emilio Cobos Álvarez 4a3be9604a Bug 1602317 - Switch style system to associated constants-in-body. r=heycam
This is closer to the equivalent Rust code.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 03:32:28 +00:00
Timothy Nikkel 86ad3fbc4b Bug 1601185. Add a function that returns if a user can scroll on a given scroll frame in either direction and use it in EventStateManager::ComputeScrollTargetAndMayAdjustWheelEvent. r=botond
Previously we were just checking overflow hidden here, which is not enough because we can scroll overflow hidden if we are zoomed in.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 22:56:00 +00:00
Gabriele Svelto 69790bc62e Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

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

--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
Hiroyuki Ikezoe c93ea7f424 Bug 1593362 - Bail out from nsFrame::HandleDrag if the corresponding nsFrameSelection has been already destroyed. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D56109

--HG--
extra : moz-landing-system : lando
2019-12-06 05:43:03 +00:00
jeffin143 0393375a39 Bug 1600481 : convert NS_STYLE_ISOLATION_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D55378

--HG--
extra : moz-landing-system : lando
2019-12-06 04:42:18 +00:00
Boris Zbarsky 75124bdd98 Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53067

--HG--
extra : moz-landing-system : lando
2019-12-05 04:44:32 +00:00
Jonathan Kew 46dd64cc2a Bug 770780 - Implement rendering support for text-underline-position in nsTextFrame. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54723

--HG--
extra : moz-landing-system : lando
2019-12-04 19:48:22 +00:00
Daniel Holbert 693c08b645 Bug 1593060: When measuring size of XUL in CSS grid, use the GetXULPrefSize API instead of an explicit reflow. r=mats
Note that the GetXULPrefSize API might still do a "::BoxReflow" under the hood,
inside its call to RefreshSizeCache.

Also: we can't use GetLogicalUsedMargin() in this special case, because the
child may not have been reflowed (which is what populates the "used margin"
frame property).  So instead, we pull the margin off of the reflow state.
As noted in the code-comment alongside that call, this won't work with
percent margins, but hopefully we can just avoid those in our frontend code
that uses XUL-in-grid-items.

Also, this patch makes the grid call ReflowChild() on its grid items using
a loose guess at their position, rather than at position 0,0. This helps
popup frames figure out their size during reflow and size their children
properly.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 03:37:09 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
Sebastian Hengst a5193f0aaa Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-11-06 15:00:06 +01: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
Emilio Cobos Álvarez a5506dd31a 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-06 12:17:26 +00:00
Emilio Cobos Álvarez cb1585dec5 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-06 12:10:34 +00:00
Mirko Brodesser b2de103bf9 Bug 1593222: part 12) Rename "nsNodeUtils.*" to "MutationObservers.*". r=smaug
Depends on D51827

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

--HG--
rename : dom/base/nsNodeUtils.cpp => dom/base/MutationObservers.cpp
rename : dom/base/nsNodeUtils.h => dom/base/MutationObservers.h
extra : moz-landing-system : lando
2019-11-06 09:08:06 +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
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
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
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
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
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
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
Emilio Cobos Álvarez 672ef887fb Bug 1592474 - Report a console warning when we disable scroll anchoring on a scroller. r=dholbert,flod
Depends on D51024

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

--HG--
extra : moz-landing-system : lando
2019-10-31 09:19:21 +00:00
Emilio Cobos Álvarez f70cc8c005 Bug 1592474 - Add some heuristics to disable scroll anchoring in pathological cases. r=dholbert
The idea of these are not to penalize legit uses of scroll anchoring, and
catching pathological cases fast.

The current algorithm I thought of is just whether the average of all the
consecutive scroll anchoring adjustments is less than a given threshold.

If the average adjustment is close to zero and the user is not scrolling, it
means that we're not making much progress.

It is important that zero adjustments don't get counted, since those are common
during window resizes and don't have side-effects anyway.

Exact number may need tuning, let me know if you want it
nightly-and-early-beta-only for now or something.

Depends on D51038

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

--HG--
extra : moz-landing-system : lando
2019-10-31 09:25:08 +00:00
Emilio Cobos Álvarez 4510f3e34a Bug 1592474 - Share code between ScrollAnchorContainer::{Destroy,InvalidateAnchor}. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D51038

--HG--
extra : moz-landing-system : lando
2019-10-31 09:23:35 +00:00
Kirk Steuber 9b781e6983 Bug 1448807 - Remove showWindowResizer from browser Custom Element r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D50274

--HG--
extra : moz-landing-system : lando
2019-10-30 13:46:55 +00:00
Morgan Reschenberg 36e1ff99a9 Bug 1587127: Ensure no backplate is drawn for lines that have only visibility:hidden descendants. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D48725

--HG--
extra : moz-landing-system : lando
2019-10-30 15:45:45 +00:00
Daniel Varga b747b90cd8 Backed out changeset ec25a8482342 (bug 1592389) for mochitest failure at layout/style/test/test_value_computation.html. On a CLOSED TREE 2019-10-30 10:17:29 +02:00
Sam Mauldin 09a1cf803b 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-10-30 05:51:38 +00:00
Nour 7afb8b57b4 Tests for wbr element Bug 584141 r=Ehsan
added tests for Bug 584141 selection across wbr elements

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

--HG--
extra : moz-landing-system : lando
2019-10-29 20:35:23 +00:00
Emilio Cobos Álvarez 40e57d6c9f Bug 1591282 - Display carets in the outline list, so that descendant backgrounds don't occlude it. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D50701

--HG--
extra : moz-landing-system : lando
2019-10-29 04:30:54 +00:00
Ting-Yu Lin 7fd6d04f2b Bug 1588025 - Make the custom content container a font inflation root. r=emilio
font-inflation-1e.html is adapted from font-inflation-1a.html with the
writing-mode set on <html> instead of <body>. It can trigger the
assertion "current writing mode should match that of our flow root" in
nsFontInflationData::FindFontInflationDataFor().

The root cause is: nsCanvasFrame can generate the position:absolute
custom content container to contain elements like AccessibleCaret. When
the container is constructed, the container's writing-mode is always
horizontal-rl, which is getting from nsCanvasFrame that uses
ViewportFrame's style.

If <html> has a vertical writing-mode, custom content container's used
mWritingMode becomes orthogonal to ViewportFrame, because <html>'s used
mWritingMode is propagated all the way up to ViewportFrame.

This patch solves the above issue by making the custom content container
a font inflation root, so FindFontInflationDataFor() stops at it instead
of finding all the way up to the ViewportFrame.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:42:06 +00:00
Ting-Yu Lin cfa677a4cc Bug 1591546 Part 2 - Add WritingMode::IsPhysicalRTL(). r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D50772

--HG--
extra : moz-landing-system : lando
2019-10-28 18:22:05 +00:00
Ting-Yu Lin d0f336a7a6 Bug 1591546 Part 1 - Add WritingMode::IsBidiRTL(). r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D50771

--HG--
extra : moz-landing-system : lando
2019-10-28 09:33:05 +00:00
Masayuki Nakano a434f646f8 Bug 1577058 - part 2: Make `nsFrameSelection::CommonPageMove()` handle `nsFrameSelection::ScrollSelectionIntoView()` too r=smaug
Currently, `nsFrameSelection::CommonPageMove()` is called before every caller
calls `nsFrameSelection::ScrollSelectionIntoView()`.  However, when an editing
host has focus, the scroll target may be outside of it.  In such case, without
moving caret, user may want only to scroll the scrollable element.

Chrome behaves like so.  Chrome also can scroll outside scrollable element
of focused editing host.  However, it scrolls caret into view only when
caret is moved actually.  Therefore, it makes sense to follow this behavior.

This patch makes `nsFrameSelection::CommonPageMove()` also call
`nsFrameSelection::ScrollSelectionIntoView()`.  However, it newly takes
`SelectionIntoView` flag for making callers can choose the condition.  I.e.,
`ScrollSelectionIntoView()` should be called always, or only when selection
is actually changed, or shouldn't be called.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 10:03:37 +00:00
Masayuki Nakano 28c3b3ebfc Bug 1577058 - part 1: `nsFrameSelection::CommonPageMove()` should use page scroll amount if there is a scrollable element rather than height of click target r=smaug
`nsFrameSelection::CommonPageMove()` emulates click in selection limiter
when scrollable frame is outside of focused editing host.  However, the
clicked position should be considered with scrollable element's page
scroll amount rather than height of editing host since the height may be
much taller than the scrollable frame.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 10:03:13 +00:00
Miko Mynttinen 1534e5d150 Bug 1567889 - Part 3: Cleanup will change budgeting r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D38853

--HG--
extra : moz-landing-system : lando
2019-10-28 14:11:45 +00:00
Miko Mynttinen 5ffddb5a57 Bug 1567889 - Part 2: Avoid will-change budget lookups if the frame does not have the will-change bit set r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D38852

--HG--
extra : moz-landing-system : lando
2019-10-28 14:11:26 +00:00
Miko Mynttinen ccab3f6249 Bug 1567889 - Part 1: Improve const correctness for some bool getters/setters r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D38851

--HG--
extra : moz-landing-system : lando
2019-10-28 14:11:05 +00:00
Cosmin Sabou 3c54e28fc8 Backed out 2 changesets (bug 1577058) for causing bug 1541915 to nearly permafail.
Backed out changeset c556c5228132 (bug 1577058)
Backed out changeset d00a7e091efd (bug 1577058)
2019-10-27 17:38:58 +02:00
Alex Henrie 74cc0f4dce Bug 1591490 - Use the NS_IS_SURROGATE_PAIR macro everywhere. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D50697

--HG--
extra : moz-landing-system : lando
2019-10-27 05:05:51 +00:00
Masayuki Nakano 7a894386f2 Bug 1577058 - part 2: Make `nsFrameSelection::CommonPageMove()` handle `nsFrameSelection::ScrollSelectionIntoView()` too r=smaug
Currently, `nsFrameSelection::CommonPageMove()` is called before every caller
calls `nsFrameSelection::ScrollSelectionIntoView()`.  However, when an editing
host has focus, the scroll target may be outside of it.  In such case, without
moving caret, user may want only to scroll the scrollable element.

Chrome behaves like so.  Chrome also can scroll outside scrollable element
of focused editing host.  However, it scrolls caret into view only when
caret is moved actually.  Therefore, it makes sense to follow this behavior.

This patch makes `nsFrameSelection::CommonPageMove()` also call
`nsFrameSelection::ScrollSelectionIntoView()`.  However, it newly takes
`SelectionIntoView` flag for making callers can choose the condition.  I.e.,
`ScrollSelectionIntoView()` should be called always, or only when selection
is actually changed, or shouldn't be called.

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

--HG--
extra : moz-landing-system : lando
2019-10-27 01:44:55 +00:00
Masayuki Nakano 250257d0dd Bug 1577058 - part 1: `nsFrameSelection::CommonPageMove()` should use page scroll amount if there is a scrollable element rather than height of click target r=smaug
`nsFrameSelection::CommonPageMove()` emulates click in selection limiter
when scrollable frame is outside of focused editing host.  However, the
clicked position should be considered with scrollable element's page
scroll amount rather than height of editing host since the height may be
much taller than the scrollable frame.

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

--HG--
extra : moz-landing-system : lando
2019-10-27 01:44:34 +00:00
Ting-Yu Lin 03c5d676c0 Bug 1587645 Part 2 - Add WritingMode::IsPhysicalLTR(). r=jfkthame
I discovered this while improving `ScrollFrameHelper::IsPhysicalLTR()`
in Part 1. Our code base needs a notion of physical direction. Let's add
it to WritingMode.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 20:01:46 +00:00
Ting-Yu Lin f491e4df0c Bug 1587645 Part 1 - Remove ScrollFrameHelper::GetFrameForDir(). r=emilio
After bug 1102175, the root scroll frame always obtains its used
WritingMode from either body element or root element. The `if (mIsRoot) {}`
block in `GetFrameForDir()` becomes redundant, so does
`GetFrameForDir()` itself.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 20:01:39 +00:00
L. David Baron 449f8593f0 Bug 1584018 - Make flex and grid code indicate that its block resizes can affect basis for percentages. r=dholbert,mats
Differential Revision: https://phabricator.services.mozilla.com/D50511

--HG--
extra : moz-landing-system : lando
2019-10-24 22:35:46 +00:00
Daniel Holbert d55c8c26d0 Bug 1590639 part 4: Fix non-unified build issues in layout/style. r=emilio
This patch:

- Gives layout/generic/AnonymousContentKey.h an include for `<stdint.h>` to
  provide the uint8_t type, and TypedEnumBits.h to provide the
  MOZ_MAKE_ENUM_CLASS_BITWISE_OPERATORS macro. (This is a change in another
  directory, but it's needed in order for layout/style/ServoStyleSet.cpp to
  build successfully.)
- Adds a missing "nsINode" forward-decl to dom/base/IdentifierMapEntry.h,
  because it uses that type in function declarations.  (This change is needed
  in order for layout/style/CachedInheritingStyles.cpp to build successfully.)
- Gives CSSStyleRule.cpp an include for PseudoStyleType.h,
  nsCSSPseudoElements.h, and CSSEnabledState.h because it uses those types.
- Gives GeckoBindings.cpp an include for gfxTextRun.h, to provide the definition
  of type gfxFontGroup (so GeckoBindings can call GetFirstValidFont() on an
  object of that type).
- Gives Loader.h an include for nsIContentInlines.h, to provide the inline
  function IsInUAWidget().
- Gives Rule.cpp an include for HoldDropJSObjects.h, to provide DropJSObjects().
- Gives nsImageLoader.cpp an include for DocumentInlines.h (and Document.h for
  good measure), to provide the inline function GetPresContext().
- Gives nsStyleStruct.cpp an include for DocumentInlines.h, to provide inline
  function Document::GetPresContext().
- Gives nsStyleTransformMatrix.h an include for Units.h (instead of gfxPoint.h,
  which isn't useful) to provide the CSSPoint type.
- Gives nsStyleTransformMatrix.h an include for ServoStyleConsts.h, to provide
  LengthPercentage and the various StyleRotate/StyleScale/StyleTransform/etc
  types. (These can't be easily forward-declared, because some of them are
  legitimate types whereas others are type aliases. We could theoretically
  forward-declare all of the underlying types and then repeat the type aliases,
  but that'd be verbose and unmaintainable.)

Depends on D50165

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

--HG--
extra : moz-landing-system : lando
2019-10-23 08:14:54 +00:00
Daniel Holbert 547238dc03 Bug 1590639 part 1: Fix non-unified build issues in layout/generic. r=TYLin
The issues fall into these categories:
 - Files that used StaticPrefs::layout_XYZ() API or gfxVars::XYZ that needed an
   include. (Addressed by adding the missing include.)
 - Files that use mozilla::dom::XYZ or mozilla::gfx::XYZ without qualifying the
   namespace & without a 'using' decl. (Addressed by adding "using".)
 - A few other includes for types/inlines that were used without their header.

Depends on D50162

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

--HG--
extra : moz-landing-system : lando
2019-10-23 22:05:22 +00:00
Emilio Cobos Álvarez 0bae88943a Bug 1590426 - Cleanup signatures in nsImageFrame / nsImageControlFrame. r=tnikkel
In particular, remove useless virtual keywords per our style guide, and remove
redundant argument names (argument names where the name is contained in the type
of the argument), since they're somewhat useless.

I think the result looks neater.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 19:05:21 +00:00
Emilio Cobos Álvarez 2c65109365 Bug 1589955 - Sync-decode images when intrinsic ratio between the old and new source changes. r=tnikkel
This seems to fix it for me, and it's pretty straight-forward, but I _think_
we'd still paint the old image if the image is huge and it's loading, which
may be counter-productive. Maybe we should guard the whole "paint mOldImage"
with and if (!oldImageIsDifferent), wdyt?

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

--HG--
extra : moz-landing-system : lando
2019-10-23 12:22:06 +00:00
Emilio Cobos Álvarez 27c8d88f2c Bug 1590191 - Trigger image loads for <area> cursor styles. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49998

--HG--
extra : moz-landing-system : lando
2019-10-23 08:29:54 +00:00
Emilio Cobos Álvarez a2fd653551 Bug 1590278 - Cleanup scrollframe virtual / override / final declarations. r=hiro
There's so much noise.

Every time I read it I feel lost in a sea of virtual keywords :)

This should help.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 12:25:06 +00:00
Emilio Cobos Álvarez 560f96bea7 Bug 1590281 - Don't propagate overscroll-behavior from body to viewport. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50024

--HG--
extra : moz-landing-system : lando
2019-10-22 12:16:13 +00:00
shindli 03dfb76e95 Backed out changeset 613ca59a8e61 (bug 584141) for causing tier1 permafails in layout/generic/test/test_selection_doubleclick.html CLOSED TREE 2019-10-22 01:09:48 +03:00
Brendan Dahl 48a59e061b Bug 1583314 - Skip or port XBL tests to shadow DOM. r=bzbarsky
Where possible I ported tests to use the shadow DOM. The following could
potentially be ported, but don't think it worth of it:
  test_bug414907.xul - uses children nodes in constructor which is very
different in shadow DOM world
  test_bug233643.xul - really tests XBL behavior
  test_anonymous_content.py - bug on file already to create shadow DOM
test from scratch

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

--HG--
rename : devtools/client/inspector/test/browser_inspector_highlighter-xbl.js => devtools/client/inspector/test/browser_inspector_highlighter-custom-element.js
extra : moz-landing-system : lando
2019-10-21 20:21:20 +00:00
Nour 89bdaf0774 Tests for wbr element Bug 584141 r=Ehsan
added tests for Bug 584141 selection across wbr elements

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

--HG--
extra : moz-landing-system : lando
2019-10-21 20:04:44 +00:00
Sylvestre Ledru 7c309095ea Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Please note that it is the first reformat with clang-format 9
I only saw a fix in the .mm file

# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-10-21 14:13:44 +00:00
Cosmin Sabou 1dd7851e3f Backed out changeset ab0ed4869416 (bug 584141) for mochitest failures on test_selection_doubleclick.html. CLOSED TREE 2019-10-18 21:44:41 +03:00