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

3852 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez cd014b922b Bug 1629096 - Honor scroll-padding / margin in ns{ListControl,MenuPopup}Frame. r=hiro
Kinda drive-by, but I think this is sane and not risky... This is used for
<select size> / <select multiple>, and only scrolls the option into view (it
only scrolls a single scroll frame, the one inside the <select>).

If the author specifies scroll-padding / margin in there I don't see why we
shouldn't respect it when doing key selection / navigation / etc.

Same for menupopups (though those are even less risky because we control the CSS
there).

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

--HG--
extra : moz-landing-system : lando
2020-04-10 21:34:22 +00:00
Chris Peterson 4a9feda3ee Bug 1625855 - Replace MOZ_MUST_USE with [[nodiscard]] in layout. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D68751

--HG--
extra : moz-landing-system : lando
2020-04-08 01:59:36 +00:00
Emilio Cobos Álvarez ce71033ca1 Bug 40545 - Fix the empty-label attribute case in the select popup. r=chutten
And rename GetRenderLabel to GetRenderedLabel, as it's a slightly more
descriptive name IMHO.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 16:43:17 +00:00
Chris H-C 8b1032cdc9 Bug 40545 - Options to use label attribute when present r=emilio,jfkthame,mats
According to spec, option elements with label attributes should show and use
those labels rather than their element text. So let's do that.

Requires some trickery because the option element is a block element (so it
lays out its width based on its text content) so we put its label (if it has
one) in its ::before and skip frame generation so it measures the text of its
label, not of its text node children.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 16:06:36 +00:00
Gurzau Raul 7a19945570 Backed out changeset 813e1405e501 (bug 40545) for Android failures at test_bug659596.html on a CLOSED TREE. 2020-04-01 19:35:32 +03:00
Chris H-C faf5bd0c34 Bug 40545 - Options to use label attribute when present r=emilio,jfkthame,mats
According to spec, option elements with label attributes should show and use
those labels rather than their element text. So let's do that.

Requires some trickery because the option element is a block element (so it
lays out its width based on its text content) so we put its label (if it has
one) in its ::before and skip frame generation so it measures the text of its
label, not of its text node children.

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

--HG--
extra : moz-landing-system : lando
2020-04-01 09:20:21 +00:00
Emilio Cobos Álvarez bc0214cf17 Bug 1625809 - Remove nsFileControlFrame::AttributeChanged. r=smaug
Syncing tabindex in that attribute callback was wrong since bug 505355.

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

--HG--
extra : moz-landing-system : lando
2020-03-30 16:49:56 +00:00
Bogdan Tara bf73bb90b1 Backed out changeset 39e8040f10f2 (bug 1625809) for reftest failures CLOSED TREE 2020-03-30 17:55:34 +03:00
Emilio Cobos Álvarez 675035d9f5 Bug 1625809 - Remove nsIFrame::ContentStatesChanged. r=smaug
The only user is nsFileControlFrame, which can just use the attribute change
callback instead to sync the disabled attribute value with the button.

Syncing tabindex in that attribute callback was wrong since bug 505355.

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

--HG--
extra : moz-landing-system : lando
2020-03-30 12:58:09 +00:00
Emilio Cobos Álvarez a214514a58 Bug 1624080 - Simplify the implementation of HasAuthorSpecifiedRules. r=heycam
This patch computes the author-specified properties during the CSS cascade, and
removes the complex rule-tree-based implementation that tries to do the cascade
again.

This changes behavior in two ways, one of them which is not observable to
content, I believe:

 * revert now re-enables the native styling. This was brought up in
   https://github.com/w3c/csswg-drafts/issues/4777 and I think it is a bug-fix.

   This is observable to content, and I'm adding a test for it.

 * We don't look at inherited styles from our ancestors when `inherit` is
   specified in a non-author stylesheet. This was introduced for bug 452969 but
   we don't seem to inherit background anymore for file controls or such. It
   seems back then file controls used to have a text-field.

   I audited forms.css and ua.css and we don't explicitly inherit
   padding / border / background-color into any nested form control.

We keep the distinction between border/background and padding, because the later
has some callers. I think we should try to align with Chromium in the long run
and remove the padding bit.

We need to give an appearance to the range-thumb and such so that we can assert
that we don't call HasAuthorSpecifiedRules on non-themed stuff. I used a new
internal value for that.

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

--HG--
extra : moz-landing-system : lando
2020-03-26 16:48:01 +00:00
Razvan Maries 7155f2665a Backed out changeset ac0d06c0ca93 (bug 1624080) for assertion failures. CLOSED TREE 2020-03-26 16:52:18 +02:00
Emilio Cobos Álvarez c556351cd0 Bug 1624080 - Simplify the implementation of HasAuthorSpecifiedRules. r=heycam
This patch computes the author-specified properties during the CSS cascade, and
removes the complex rule-tree-based implementation that tries to do the cascade
again.

This changes behavior in two ways, one of them which is not observable to
content, I believe:

 * revert now re-enables the native styling. This was brought up in
   https://github.com/w3c/csswg-drafts/issues/4777 and I think it is a bug-fix.

   This is observable to content, and I'm adding a test for it.

 * We don't look at inherited styles from our ancestors when `inherit` is
   specified in a non-author stylesheet. This was introduced for bug 452969 but
   we don't seem to inherit background anymore for file controls or such. It
   seems back then file controls used to have a text-field.

   I audited forms.css and ua.css and we don't explicitly inherit
   padding / border / background-color into any nested form control.

We keep the distinction between border/background and padding, because the later
has some callers. I think we should try to align with Chromium in the long run
and remove the padding bit.

We need to give an appearance to the range-thumb and such so that we can assert
that we don't call HasAuthorSpecifiedRules on non-themed stuff. I used a new
internal value for that.

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

--HG--
extra : moz-landing-system : lando
2020-03-26 13:23:42 +00:00
Emilio Cobos Álvarez 04828e3a4a Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ
This rejiggers a bit the way selection focus is handled so that focusing a
disabled form control with the mouse handles selection properly, and hides the
document selection and so on.

This matches the behavior of other browsers as far as I can tell.

Given now readonly and disabled editors behave the same, we can simplify a bit
the surrounding editor code.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 13:18:16 +00:00
Miko Mynttinen 3ccee006fc Bug 1614655 - Part 3: Retain WR display items for nsDisplayBorder, nsDisplayText, nsDisplayButtonBorder, and nsDisplayButtonForeground r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D66444

--HG--
extra : moz-landing-system : lando
2020-03-18 23:47:34 +00:00
Razvan Maries e153e0a3e1 Backed out 3 changesets (bug 1614655) for WebRender bustages. CLOSED TREE
Backed out changeset e79e84e8819c (bug 1614655)
Backed out changeset cc263e909c61 (bug 1614655)
Backed out changeset 10897d6106a8 (bug 1614655)
2020-03-19 00:49:08 +02:00
Miko Mynttinen b5a3fa67c6 Bug 1614655 - Part 3: Retain WR display items for nsDisplayBorder, nsDisplayText, nsDisplayButtonBorder, and nsDisplayButtonForeground r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D66444

--HG--
extra : moz-landing-system : lando
2020-03-18 17:10:21 +00:00
Emilio Cobos Álvarez 664a546418 Bug 1618260 - Fix number input so that it honors overflow-clip-box-block. r=mats
This never worked, but it's more visible with the new form controls which have
more padding.

Make the anonymous div and co a pseudo-element, so that they inherit from the
<input> properly in all cases. This works for non-number inputs because the
editor root is a direct child of the <input>, but it doesn't for number inputs
because there's a flex wrapper in between.

This way overflow-clip-box: inherit does what we want. Reset the padding in the
inline direction, as the padding for <input type=number> applies to the arrow
boxes as well, and thus we'd double-apply it.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 09:21:44 +00:00
Sean Feng 908efe692e Bug 1377999 - Make TextNode to adapt the DOMArena changes r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62353

--HG--
extra : moz-landing-system : lando
2020-03-17 14:53:54 +00:00
Simon Giesecke 8aa47bcfb7 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D66016

--HG--
extra : moz-landing-system : lando
2020-03-17 09:38:32 +00:00
Mihai Alexandru Michis 58bc354025 Backed out changeset 9eeee9ec66d9 (bug 253870) for causing failures in browser_bug1261299.js
CLOSED TREE
2020-03-16 22:32:41 +02:00
Emilio Cobos Álvarez 9f28f89085 Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ
This rejiggers a bit the way selection focus is handled so that focusing a
disabled form control with the mouse handles selection properly, and hides the
document selection and so on.

This matches the behavior of other browsers as far as I can tell.

Given now readonly and disabled editors behave the same, we can simplify a bit
the surrounding editor code.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 17:41:07 +00:00
Ting-Yu Lin afe9123179 Bug 1622008 Part 3 - Remove nsPresContext* and PresShell* from the argument list of some continuing-frame-creation methods. r=dholbert
Both PresShell() and PresContext() are cached in nsIFrame. This
simplifies the setup for the callers to
nsCSSFrameConstructor::CreateContinuingFrame().

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:50:23 +00:00
Emilio Cobos Álvarez e882c88b18 Bug 1621319 - fix test_bug365410.html with non-native theme enabled. r=mstange
Our <select multiple> has enough padding so that both sides take more space that
one list item, and since this test sets the height explicitly and <select> has
box-sizing: border-box by default, page-up / page-down steps through one less
item than what the test expects.

I think this is a test bug, but let me know if you want some bug on file to
consider reducing this padding for non-native theme.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 01:52:54 +00:00
Dorel Luca cefe4ffd34 Backed out 3 changesets (bug 1621319) for Mochitest failures in Harness_sanity/test_sanityEventUtils.html
Backed out changeset 9181798549f2 (bug 1621319)
Backed out changeset 0522121ddf22 (bug 1621319)
Backed out changeset b65f1bde461a (bug 1621319)
2020-03-11 03:48:03 +02:00
Emilio Cobos Álvarez f939b10e0b Bug 1621319 - fix test_bug365410.html with non-native theme enabled. r=mstange
Our <select multiple> has enough padding so that both sides take more space that
one list item, and since this test sets the height explicitly and <select> has
box-sizing: border-box by default, page-up / page-down steps through one less
item than what the test expects.

I think this is a test bug, but let me know if you want some bug on file to
consider reducing this padding for non-native theme.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 19:33:53 +00:00
Narcis Beleuzu 442ce3a06e Backed out 8 changesets (bug 1618202) for mochitest failures on test_sanityEventUtils.html . CLOSED TREE
Backed out changeset cea91b0cc4f9 (bug 1618202)
Backed out changeset 9448002ebec9 (bug 1618202)
Backed out changeset c1a32c968550 (bug 1618202)
Backed out changeset e5be676f6f06 (bug 1618202)
Backed out changeset 760a89ae35a7 (bug 1618202)
Backed out changeset b0b0c4242976 (bug 1618202)
Backed out changeset a2c3bd0e1fba (bug 1618202)
Backed out changeset b46e40872077 (bug 1618202)
2020-03-10 02:39:47 +02:00
Emilio Cobos Álvarez c8a34b47c7 Bug 1618202 - Temporarily skip one mochitest on android.
MANUAL PUSH: Getting this android change to stick, CLOSED TREE
2020-03-10 00:01:39 +01:00
Andrew Osmond 91b071ed14 Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel
gfx::Color is currently misused in many places. The DrawTargets expect
the color space to be in device space, e.g. what we are actually going
to draw using. Everything sitting above generally deals with sRGB, as
specified in CSS. Sometimes we missed the conversion from sRGB to device
space when issuing draw calls, and similarly sometimes we converted the
color to device space twice.

This patch splits the type in two. sRGBColor and DeviceColor now
represent sRGB and device color spaces respectively. DrawTarget only
accepts DeviceColor, and one can get a DeviceColor from an sRGBColor via
the ToDeviceColor helper API. The reftests now pass with color
management enabled for everything (e.g. CSS) instead of just tagged
raster images.

There will be a follow up patch to enable color management everywhere by
default on all supported platforms.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:16:17 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Emilio Cobos Álvarez 5bba05d7c8 Bug 1620307 - Rename -moz-menulist-button to -moz-menulist-arrow-button. r=spohl
This should be less confusing. This is not supported outside of chrome:// or
user-agent stylesheets so we can name this however we want.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 21:13:46 +00:00
Emilio Cobos Álvarez 46d1624d9d Bug 1619664 - Rename and don't null-check nsPresContext::GetTheme as it can't return null. r=dholbert
There were some callers in nsRangeFrame that were already not-null-checking.

All platforms have a native theme and should we add new ones they could use
nsBasicNativeTheme.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 01:58:30 +00:00
Mats Palmgren a53a9a89f5 Bug 1617753 - Avoid using our DEBUG version of RemoveFrame() which is supposed to never be called. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D64206

--HG--
extra : moz-landing-system : lando
2020-02-25 22:43:51 +00:00
Emilio Cobos Álvarez fff63130d9 Bug 1617421 - Use cbindgen for cursors. r=jwatt
Pretty straight-forward.

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

--HG--
extra : moz-landing-system : lando
2020-02-23 13:07:30 +00:00
Emilio Cobos Álvarez ad58a97570 Bug 1616620 - maxlength shouldn't apply to <input type=number>. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D63474

--HG--
extra : moz-landing-system : lando
2020-02-20 15:28:51 +00:00
Simon Giesecke 9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Dorel Luca d5f9df8ee1 Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985)
Backed out changeset fb6d62b7f28d (bug 1613985)
2020-02-19 22:22:41 +02:00
Simon Giesecke 59b23375c0 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 18:05:38 +00:00
Ting-Yu Lin bb0d044a16 Bug 1613732 Part 2 - Remove unused ReflowChildFlags::NoVisibility. r=dholbert
This bit is set, but no function uses it.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 04:17:33 +00:00
Emilio Cobos Álvarez 873a349556 Bug 1611701 - Tweak NODE_IS_EDITABLE flag handling for NAC so that it works consistently for <input type=number>. r=bzbarsky,masayuki,whimboo
I thought this would fix <input type=number style="user-select: none">, but
turns out it doesn't.

<input type=number> doesn't have the editor root as a root of the anonymous
subtree, so the current hack wouldn't work, as the anon root wouldn't have the
editable flag. So tweak the code a bit to handle stuff in a simpler way than
setting the flags after the fact, and set the NAC-root flag earlier to avoid
the mOuterWrapper->AppendChildTo(root) call forgetting about root's flags.

I had to tweak one AccessibleCaret test, but that's because it uses <textarea>
with user-select: none, and our behavior there is not particularly sane. It just
happened to work because that test-case also had a bunch of contenteditable
elements, and we stop matching this rule:

  https://searchfox.org/mozilla-central/rev/220a3bd6063fcbe5ca50e88dcabdc7dee0aca448/layout/style/contenteditable.css#22

Because the anonymous div now properly matches :-moz-read-write, which made the
rule apply and the test work. See comment 4 of this bug.

I'll fix this stuff up and add some tests for our behavior here in bug 1611699.

I refactored the dragdrop tests to cover more input types, but I ended up not
being able to use them because they're dependent on the content.

Instead I added an extra test and changed the refactor so that it applies to
<input type=search>, as there's layout work going on in bug 558594, and it'd be
unfortunate to regress this there too.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 22:15:19 +00:00
Emilio Cobos Álvarez c5c0ef9787 Bug 1613349 - Rename nsIFrame::DeleteProperty to RemoveProperty. r=dholbert
As it doesn't necessarily call delete and that may be confusing.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 16:06:49 +00:00
Emilio Cobos Álvarez bf6256b1fc Bug 1613349 - Make nsIFrame::TakeProperty MOZ_MUST_USE. r=dholbert
Depends on D61756

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

--HG--
extra : moz-landing-system : lando
2020-02-06 00:39:10 +00:00
Emilio Cobos Álvarez bba367ec8f Bug 1613349 - Rename nsIFrame::RemoveProperty to nsIFrame::TakeProperty. r=dholbert
This is hopefully clearer naming.

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

--HG--
extra : moz-landing-system : lando
2020-02-06 00:13:38 +00:00
Masayuki Nakano 450b71f763 Bug 1612085 - part 1: Hide constructor of `nsRange` r=smaug
`nsRange` instances are allocated a lot in the heap especially by editor and
spellchecker.  The allocation cost is too bad for benchmarks.  Therefore,
we should reuse released instances as far as possible.  For managing it in
static factory methods of `nsRange`, we need to hide `nsRange` constructor.

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

--HG--
extra : moz-landing-system : lando
2020-01-30 13:23:35 +00:00
Masayuki Nakano b1bf7e0db4 Bug 1540043 - part 1: Move all constants and methods of `nsIPlaintextEditor` to `nsIEditor` and make `nsIPlaintextEditor` inherit `nsIEditor` r=m_kato
For preparing to remove `nsIPlaintextEditor` interface, this patch moves
all of them to `nsIEditor`, but for avoiding bustage in comm-central, makes
`nsIPlaintextEditor` inherit `nsIEditor` for now (i.e., even with this patch,
script can access old `nsIPlaintextEditor` members with the interface.

In C++ code, this patch moves `SetWrapColumn()`, `InsertTextAsAction()`,
`InsertTextAsSubAction()` and `InsertLineBreakAsSubAction()` because
they do common things between `TextEditor` and `HTMLEditor`.  On the other
hand, this does not move `TextEditor::GetTextLength()` because it's designed
only for `TextEditor`.

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

--HG--
rename : editor/libeditor/tests/test_nsIPlaintextEditor_insertLineBreak.html => editor/libeditor/tests/test_nsIEditor_insertLineBreak.html
extra : moz-landing-system : lando
2020-01-24 08:33:42 +00:00
Tim Nguyen 86a980c29c Bug 1611117 - Remove unused includes from nsNumberControlFrame. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D60885

--HG--
extra : moz-landing-system : lando
2020-01-23 23:37:08 +00:00
Savo 49746857e4 Bug 1341018 - Create enum class LegendAlignValue to replace NS_STYLE_TEXT_ALIGN_* and NS_STYLE_VERTICAL_ALIGN_* in legend code. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D48285

--HG--
extra : moz-landing-system : lando
2020-01-23 03:10:03 +00:00
Sylvestre Ledru 187e9bafaf Bug 1519636 - Automatically reformat recent changes using clang-format r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-01-21 09:51:27 +00:00
Masayuki Nakano 25e931d406 Bug 1609603 - Optimize the callers of `DataTransfer::GetTypes()` r=smaug
In C++ code, `DataTransfer::GetTypes()` are used for checking whether the
`DataTransfer` instance has specific type `DataTransferItem` or not.  Therefore,
it does not make sense to retrieve all item types nor compare some types
looking for with the retrieved item types.

This patch adds `DataTransfer::HasType()` and `DataTransfer::HasFile()` for
the current C++ users.  They don't take `CallerType` since all C++ users use
`GetTypes()` as `CallertType::System`.  And they just call a corresponding
method of `DataTransferItemList`.

Then, `DataTransferItemList` methods compares given type with every items
simply.

Note that this patch moves `DataTransfer::GetTypes()` to `DataTransferItemList`
too because new methods and `GetTypes()` should be maintained at every logic
changes.

The reason why there is no `DataTransfer::HasAnyOfTypes()` method is,
`DataTransfer.h` cannot include `DataTransferItemList.h` due to their
dependency but parameter pack requires inline methods.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 09:46:48 +00:00
Emilio Cobos Álvarez e0e98fed6c Bug 1609394 - Hide spin buttons from the a11y tree. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D60018

--HG--
extra : moz-landing-system : lando
2020-01-16 13:00:52 +00:00
Edwin Takahashi b5a1fd53fd Bug 1608006 - restrict fails-if annotation of test_bug549170 to non-headless linux1804 only r=gbrown
Changes:

This test is a permafail only on linux1804-64 non-headless mochitest. It runs and passes fine on the headless variant, as shown in https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=284141121&repo=mozilla-central&lineNumber=10861.

Mark this test as an expected failure only on the non-headless mochitest, for linux1804 only.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 00:37:09 +00:00
Emilio Cobos Álvarez fff6c9e1ac Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 19:01:05 +00:00
Mihai Alexandru Michis 0d01c60c37 Backed out 2 changesets (bug 981248) for causing multiple failures.
CLOSED TREE

Backed out changeset 7a96708cc8b7 (bug 981248)
Backed out changeset 1eace7bd28d9 (bug 981248)
2020-01-14 19:28:17 +02:00
Emilio Cobos Álvarez d7a0a95c68 Bug 1609167 - Don't use NS_IMETHOD for nsITextControlFrame::GetTextEditor. r=smaug
As it seems it causes MinGW 32-bit-only build issues.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 16:29:50 +00:00
Emilio Cobos Álvarez da2e4ef888 Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 15:05:22 +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
Edwin Takahashi 5709148985 Bug 1599984 - mark test_bug549170 as expected failure on ubuntu1804 again r=jmaher
Changes:

This test is failing again permanently for ubuntu1804, not sure what changed. I won't change the annotation after this patch unless the author or someone from the team chimes in.

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

--HG--
extra : moz-landing-system : lando
2020-01-06 22:19:37 +00:00
Edwin Takahashi 59a35233fa Bug 1599984 - re-enable test_bug549170 test for ubuntu1804 r=jmaher
Changes:

Re-enable the test which now passes in ubuntu1804.

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

--HG--
extra : moz-landing-system : lando
2019-12-30 18:35:30 +00:00
Edwin Takahashi 2a31b722a8 Bug 1599984 - mark layout/forms/test/test_bug549170.html as expected failure for ubuntu1804 r=jmaher
Changes:

This test is a permafail on ubuntu1804 across all build types and is one of the remaining tests in mochitest-e10s to be greened up.

Mark it with a `fail-if` in case in the future this test begins passing again.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 11:11:47 +00:00
Oana Pop Rus 661db3a39f Backed out 7 changesets (bug 1432856) for build bustages failures in nsWindow.h on a CLOSED TREE
Backed out changeset 3d08c3cce533 (bug 1432856)
Backed out changeset 49d03dd89b17 (bug 1432856)
Backed out changeset 62fc84c8ce99 (bug 1432856)
Backed out changeset a8a4fa63f5b2 (bug 1432856)
Backed out changeset c81f3d5b9bf3 (bug 1432856)
Backed out changeset 8351a8b1d96a (bug 1432856)
Backed out changeset a303b775a51b (bug 1432856)
2019-12-16 23:53:35 +02:00
pbz e03ecc2171 Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55811

--HG--
extra : moz-landing-system : lando
2019-12-16 21:06:11 +00:00
Masayuki Nakano a2a7b27d8d Bug 1599971 - part 5: Mark `TextControlState::UnbindFromFrame()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato,emilio
Note that `TextControlState::BindToFrame()` may also run script if it's
called without script blocker.  However, it shouldn't occur.  Therefore,
we don't need to mark it `MOZ_CAN_RUN_SCRIPT`, but we should check
script blocker existence with `MOZ_ASSERT`.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:04:20 +00:00
Masayuki Nakano 0b75352ba4 Bug 1599971 - part 3: Mark `nsITextControlFrame::SetSelectionRange()` as `MOZ_CAN_RUN_SCRIPT` r=m_kato
Similar to the previous patch, it may notify selection listeners of native
anonymous tree in `<input>` and `<textarea>` element.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 03:02:53 +00:00
Mats Palmgren 782a58f0b1 Bug 1600207 - Make GetInner()/GetLegend() robust also in presence of additional continuations on the principal child list. r=TYLin
Also, don't drain OverflowList unless we need to.
And make EnsureChildContinuation deal with continuations going from being
normal continuations to overflow-continuations (and vice versa) better.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 11:24:50 +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
Mats Palmgren 3ef4eee2ea Bug 1600202 - Make test_bug717878_input_scroll.html cope with native themes that has a large padding better, and extend the test to also check non-themed controls. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D55458

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

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

--HG--
extra : moz-landing-system : lando
2019-12-02 16:43:06 +00:00
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
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
Masayuki Nakano 3f7057ece8 Bug 1597679 - part 3: Create methods to compare given string with values of `TextControlState`, `nsTextControlFrame`, `HTMLInputElement` and `HTMLTextAreaElement` r=smaug
For avoiding unnecessary copy of string buffer only for comparing setting
value and current value, especially with `nsAutoString`, this patch
creates `*Equals()` methods for every class.

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

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

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

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

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

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

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

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

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

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

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

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

--HG--
rename : dom/html/nsITextControlElement.h => dom/html/TextControlElement.h
extra : moz-landing-system : lando
2019-11-24 05:38:02 +00:00
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
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
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
Emilio Cobos Álvarez 7cc5a6c96c Bug 1593366 - Check default prevented status in nsListControlFrame::KeyDown. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D51982

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

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

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

Depends on D51395

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

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

And cleaning up the cpp file.

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

--HG--
rename : dom/html/nsTextEditorState.cpp => dom/html/TextControlState.cpp
rename : dom/html/nsTextEditorState.h => dom/html/TextControlState.h
extra : moz-landing-system : lando
2019-11-01 20:43:11 +00:00
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 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
Daniel Holbert 5c6525bdd3 Bug 1590639 part 3: Fix non-unified build issues in layout/{forms,painting}. r=TYLin
This patch:

- Gives nsMeterFrame.cpp a "using" decl for mozilla::dom::Document (matching
  local style), to make its "nsCOMPtr<Document>" variable valid.
- Gives RetainedDisplayListBuilder.cpp an include for nsIFrameInlines.h
  (and nsIFrame.h for good measure) to provide the definition for inline
  function nsIFrame::IsFixedPosContainingBlock().
- Gives nsDisplayList.cpp an include for LayerAnimationInfo.h, since it uses
  that type.

Depends on D50164

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

--HG--
extra : moz-landing-system : lando
2019-10-23 22:12:39 +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
Tim Nguyen 6d79a27dfb Bug 1590387 - Remove remaining usages of XUL textboxes. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D50063

--HG--
extra : moz-landing-system : lando
2019-10-22 19:27:23 +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
Andrea Marchesini 6797e45278 Bug 1585284 - Use nsIGlobalObject in any Blob/File CTOR, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49392

--HG--
extra : moz-landing-system : lando
2019-10-21 05:33:33 +00:00
Geoff Brown c906073cd5 Bug 1585119 - Re-enable many mochitests on android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.
With the additional tests running, task times increase; I have added one
more test chunk for android mochitest-plain.
These tests were identified from a random sampling of mochitest manifests;
I intend to enable more mochitests in future patches.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 15:07:09 +00:00
Daniel Holbert f95dd888e1 Bug 1562057: Change size-contained & empty select elements to have the same inline-size. r=TYLin
Per the css-contain specification, size contained elements must be sized as if
they were empty. Up until now, we've been handling that by just using "0" as
the intrinsic size of some components, but that doesn't actually match the size
of a "true" empty select, which has some nonzero width from:
 (a) the default inline-axis padding on the display frame (added in a rule for
     the ::-moz-display-comboboxcontrol-frame pseudo, in forms.css).

 (b) the width (inline-size) of the display frame's "placeholder" space
     character, which has a small intrinsic width (but which really only exists
     for *block-axis* sizing and alignment, when no option is selected from
     the dropdown).

This patch addresses issue (a) by explicitly adding the display frame's
inline-axis padding to size-contained elements, and it addresses issue (b) by
changing to use a zero-width space character in empty select elements.

So: as of this patch, size-contained select elements are getting a little wider
(to address (a)), and empty select elements are also getting a little skinnier
(to address (b)), and they'll end up being the same width.

(I chose U+FEFF "zero-width non-breaking-space" since we were previously using
a non-breaking space character. I'm not sure if the non-breaking aspect matters,
but I figured I'd preserve that to be on the safe side.)

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

--HG--
extra : moz-landing-system : lando
2019-10-12 16:11:54 +00:00
Narcis Beleuzu 40436ca8a7 Backed out changeset a8ea98346a87 (bug 1562057) for reftest failures on contain-size-select-elem-002 . CLOSED TREE 2019-10-11 21:12:58 +03:00
Daniel Holbert c0534692fd Bug 1562057: Change size-contained & empty select elements to have the same inline-size. r=TYLin
Per the css-contain specification, size contained elements must be sized as if
they were empty. Up until now, we've been handling that by just using "0" as
the intrinsic size of some components, but that doesn't actually match the size
of a "true" empty select, which has some nonzero width from:
 (a) the default inline-axis padding on the display frame (added in a rule for
     the ::-moz-display-comboboxcontrol-frame pseudo, in forms.css).

 (b) the width (inline-size) of the display frame's "placeholder" space
     character, which has a small intrinsic width (but which really only exists
     for *block-axis* sizing and alignment, when no option is selected from
     the dropdown).

This patch addresses issue (a) by explicitly adding the display frame's
inline-axis padding to size-contained elements, and it addresses issue (b) by
changing to use a zero-width space character in empty select elements.

So: as of this patch, size-contained select elements are getting a little wider
(to address (a)), and empty select elements are also getting a little skinnier
(to address (b)), and they'll end up being the same width.

(I chose U+FEFF "zero-width non-breaking-space" since we were previously using
a non-breaking space character. I'm not sure if the non-breaking aspect matters,
but I figured I'd preserve that to be on the safe side.)

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

--HG--
extra : moz-landing-system : lando
2019-10-11 16:51:41 +00:00
Mats Palmgren 25361a123b Bug 1585216 - Propagate the inner text field's baseline as the baseline for a number input. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D48588

--HG--
extra : moz-landing-system : lando
2019-10-10 20:45:32 +00:00
Brendan Dahl 237d762715 Bug 1510785 - Skip all XBL related tests when XBL is disabled. r=bzbarsky
XBL will be disabled on android, so these tests must be skipped. Where possible
tests are copied to create shadow DOM tests.

Depends on D45615

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

--HG--
rename : layout/inspector/tests/test_bug522601.xhtml => layout/inspector/tests/test_bug522601-shadow.xhtml
rename : layout/inspector/tests/test_bug609549.xhtml => layout/inspector/tests/test_bug609549-shadow.xhtml
rename : layout/reftests/bugs/334829-1a.xhtml => layout/reftests/bugs/334829-1a-shadow.xhtml
rename : layout/reftests/bugs/334829-1b.xhtml => layout/reftests/bugs/334829-1b-shadow.xhtml
rename : layout/reftests/bugs/386310-1b.html => layout/reftests/bugs/386310-1b-shadow.html
rename : layout/reftests/bugs/386310-1c.html => layout/reftests/bugs/386310-1c-shadow.html
rename : layout/reftests/bugs/386310-1d.html => layout/reftests/bugs/386310-1d-shadow.html
rename : layout/reftests/bugs/482592-1a.xhtml => layout/reftests/bugs/482592-1a-shadow.xhtml
rename : layout/reftests/bugs/482592-1b.xhtml => layout/reftests/bugs/482592-1b-shadow.xhtml
rename : layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml => layout/reftests/css-selectors/sibling-combinators-on-anon-content-1-shadow.xhtml
rename : layout/reftests/css-selectors/sibling-combinators-on-anon-content-2.xhtml => layout/reftests/css-selectors/sibling-combinators-on-anon-content-2-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-appendmultiple.xhtml => layout/reftests/dom/multipleinsertionpoints-appendmultiple-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-appendsingle-1.xhtml => layout/reftests/dom/multipleinsertionpoints-appendsingle-1-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-appendsingle-2.xhtml => layout/reftests/dom/multipleinsertionpoints-appendsingle-2-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-insertmultiple.xhtml => layout/reftests/dom/multipleinsertionpoints-insertmultiple-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-insertsingle-1.xhtml => layout/reftests/dom/multipleinsertionpoints-insertsingle-1-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-insertsingle-2.xhtml => layout/reftests/dom/multipleinsertionpoints-insertsingle-2-shadow.xhtml
rename : layout/reftests/dom/multipleinsertionpoints-ref2.xhtml => layout/reftests/dom/multipleinsertionpoints-ref2-shadow.xhtml
rename : layout/reftests/ib-split/insert-into-split-inline-5.html => layout/reftests/ib-split/insert-into-split-inline-5-shadow.html
extra : moz-landing-system : lando
2019-10-08 23:52:46 +00:00
Emilio Cobos Álvarez 457aabd5d0 Bug 1581467 - Use DisplayInside() / DisplayOutside() a bit more. r=mats
And remove some unused display values from the C++ bindings.

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

--HG--
extra : moz-landing-system : lando
2019-10-07 12:27:27 +00:00
Anny Gakhokidze f1c694e18f Bug 1582531 - Update fission annotations for skipped tests that are now passing succesfully, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47347

--HG--
extra : moz-landing-system : lando
2019-09-27 14:25:10 +00:00
Kris Maglione 685d91c901 Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45828

MANUAL PUSH: Cannot update reopened Phabricator revisions.

--HG--
extra : source : 86b3d469b4ff9f22e5757f83450b956a4c769785
extra : histedit_source : 2bf945343632b15eb79cf6b2ddd3ce097ddf70de%2Caec93d9f11bc1c802b63793cd5818530b64e9b4b
2019-09-20 10:18:15 -07:00
Kris Maglione ee31fee500 Bug 1582523: Part 2 - Update tests which rely on OOP frames blocking load. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46504

MANUAL PUSH: Still cannot update reopened Phabricator revisions.

--HG--
extra : source : 2e8fcb1718611e8ce81e7c83fb480d664000c2cc
extra : histedit_source : 29005a64bf92828ed472f378d36feff98d3d3a9f
2019-09-19 11:50:45 -07:00
L. David Baron 8282644722 Bug 1581718 - Avoid strange results for orthogonal-flow cases in CalculateBlockSideMargins when border/padding/margin are present. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D46143

--HG--
extra : moz-landing-system : lando
2019-09-17 22:44:19 +00:00
Dorel Luca 3700d0e0a5 Backed out 2 changesets (bug 1581718) for Crashtest failures in reftest/tests/layout/generic/crashtests/334148-1.xhtml
Backed out changeset 03ed5549fb82 (bug 1581718)
Backed out changeset 31c54bb6faff (bug 1581718)

--HG--
extra : rebase_source : 83f93617e4fd914663bb47875a53aa5cd602dbb9
2019-09-18 00:06:53 +03:00
Daniel Holbert ca49905048 Bug 1581718 followup: Adjust expected assertion count for crashtest '1460787-1.html'. (no review, test-annotation-only)
This bug's main patch seems to have reduced the assertion-count for this test
to 1, at least on some platforms, so let's allow that in the annotation.

Landing on a CLOSED TREE with sheriff permission, to fix orange.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 18:34:01 +00:00
Dorel Luca b72e71eaa5 Backed out changeset 0579d0d5f0c0 (bug 1562057) by dev's request. CLOSED TREE 2019-09-17 21:07:34 +03:00
Andrew Osmond fce484c34f Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel
Rounding in layout pixels is very close to snapping in raster pixels if
there are no transforms involved. This is why it worked most of the time
and fell flat in many edge cases. In future parts of this series, we
will trust scene building and frame building to do the heavy lifting for
snapping purposes.

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

--HG--
extra : moz-landing-system : lando
2019-09-14 16:17:04 +00:00
Ciure Andrei a4046ec458 Backed out 6 changesets (bug 1574493) for causing nested-sticky-2.html to perma fail CLOSED TREE
Backed out changeset 358746636448 (bug 1574493)
Backed out changeset 34aef5498237 (bug 1574493)
Backed out changeset 1f88e2031c76 (bug 1574493)
Backed out changeset 07c588b5ea10 (bug 1574493)
Backed out changeset 0685e8d3510e (bug 1574493)
Backed out changeset 15d4390220c4 (bug 1574493)
2019-09-13 19:26:50 +03:00
Andrew Osmond 25866edb78 Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel
Rounding in layout pixels is very close to snapping in raster pixels if
there are no transforms involved. This is why it worked most of the time
and fell flat in many edge cases. In future parts of this series, we
will trust scene building and frame building to do the heavy lifting for
snapping purposes.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 14:03:23 +00:00
Ciure Andrei 8c3feea58a Backed out 6 changesets (bug 1574493) for causing nested-sticky-1.html to perma fail CLOSED TREE
Backed out changeset fdc25a90b0ef (bug 1574493)
Backed out changeset 0ce3c48c1f79 (bug 1574493)
Backed out changeset 326b9f96614b (bug 1574493)
Backed out changeset b0817c0aee77 (bug 1574493)
Backed out changeset 70d99c264df9 (bug 1574493)
Backed out changeset e5217ab4b668 (bug 1574493)
2019-09-13 16:17:47 +03:00
Andrew Osmond b2d4e121cb Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel
Rounding in layout pixels is very close to snapping in raster pixels if
there are no transforms involved. This is why it worked most of the time
and fell flat in many edge cases. In future parts of this series, we
will trust scene building and frame building to do the heavy lifting for
snapping purposes.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 10:48:31 +00:00
James Teh 0d216e928b Bug 1488828: For collapsed select controls in the content process, set the number of rows to the maximum instead of 1. r=dholbert
The number of rows for the select dropdown can't be calculated in the content process because the dropdown has to be rendered in the parent process.
Therefore, we previously set the number of rows to 1 in this case.
That meant that the page up and page down keys only moved one item at a time for a collapsed select control, making them effectively useless.
Instead, set the number of rows to the maximum in this case.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 03:59:51 +00:00
Gurzau Raul fe4bb6d539 Backed out 6 changesets (bug 1574493) for wrench failures at stacking-context-clip.yaml on a CLOSED TREE.
Backed out changeset 8a8736ac4e25 (bug 1574493)
Backed out changeset 4a3294e88823 (bug 1574493)
Backed out changeset 0c26ecdc1ddc (bug 1574493)
Backed out changeset 11257f7b3ad3 (bug 1574493)
Backed out changeset dcedc286ad9d (bug 1574493)
Backed out changeset 87f216e0753d (bug 1574493)
2019-09-12 18:34:07 +03:00
Andrew Osmond 320cbbf828 Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel
Rounding in layout pixels is very close to snapping in raster pixels if
there are no transforms involved. This is why it worked most of the time
and fell flat in many edge cases. In future parts of this series, we
will trust scene building and frame building to do the heavy lifting for
snapping purposes.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:41 +00:00
Florian Rivoal 9ead971a06 Bug 1562057 - Make empty <select> elements the same size as size-contained ones. r=dholbert
Per the css-contain specification, size contained element must be sized as if
they were empty. The code added to handle size containment shortciruits the
(inline) size calculations, and returns 0. However, an empty <select> element
is rendered as if it contained a &nbsp; and some padding gets added to it by
the UA stylesheet (forms.css). This causes reftest that check that
size-contained <select> elements and empty ones look the same.

This commit fixes this by also shortcircuiting the (inline) size calculations
and returning 0 for empty <select> elements.

Replacing the &nbsp; by a zero width space would not have been enough, since
padding would still be added. It would have been possible to add it in the
inline size calculations of size-contained <select> elements as well, but this
padding serves not purpose when the element is empty, so removing it from there
has no downside, and shortcircuitig both cases is simpler (and marginally
faster) than adding the padding in both cases.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 20:37:55 +00:00
Ting-Yu Lin b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00
kriswright fa50c7828f Bug 1573992 - Convert browser.tabs.remote.desktopBehavior to static pref. r=njn
Converts browser.tabs.remote.desktopBehavior to a static pref. Updates usages.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:42 +00:00
Emilio Cobos Álvarez 21744a9708 Bug 1571764 - Subtract combobox display frame border-padding when inferring the height from line-height. r=mats,jfkthame
This fixes it and seems to be an acceptable fix... Should I make it conditional
on box-sizing: border-box for completeness?  The display frame has border-box
box-sizing, and not having it would be a bug, I'd think...

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

--HG--
extra : moz-landing-system : lando
2019-08-15 09:41:15 +00:00
arthur.iakab 345e583583 Backed out changeset bd44d2dd0c02 (bug 1571764)for causing web platform test failures on select-1-block-size-001.html CLOSED TREE 2019-08-14 21:34:07 +03:00
Emilio Cobos Álvarez d5c4354d05 Bug 1571764 - Subtract combobox display frame border-padding when inferring the height from line-height. r=mats,jfkthame
This fixes it and seems to be an acceptable fix... Should I make it conditional
on box-sizing: border-box for completeness?  The display frame has border-box
box-sizing, and not having it would be a bug, I'd think...

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

--HG--
extra : moz-landing-system : lando
2019-08-14 16:06:46 +00:00
L. David Baron 1488be9417 Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin
It seems better to convert this before adding a new flag (in bug
1547759) and risking replacing the wrong 0 with a flag.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 19:48:19 +00:00
Emilio Cobos Álvarez da047c3d7f Bug 1567191 - Move datetime input widget attribute handling code to HTMLInputElement. r=smaug
It's the only sound place now that we use Shadow DOM, since the widget exists
when we have no frames.

Differential Revision: https://phabricator.services.mozilla.com/D40509
2019-08-05 22:11:57 +02:00
Alex Catarineu 536fd2e65f Bug 1561322 - Allow spoofing strings in HTML forms r=baku,Pike
When privacy.spoof_english = 2, we should hide the user's
locale in content. So we use en-US default strings for HTML
form elements, such as a Submit button.

We also force GetLocalizedEllipsis() to always return the
ellipsis used by en-US.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 13:22:22 +00:00
Nicholas Nethercote 18fae65f38 Bug 1563139 - Remove StaticPrefs.h. r=glandium
This requires replacing inclusions of it with inclusions of more specific prefs
files.

The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.

Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
François Freitag b81795066d Bug 1479708 - Hide required date time input reset button. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39315

--HG--
extra : moz-landing-system : lando
2019-07-25 10:28:52 +00:00
Andreea Pavel 442c23063f Backed out changeset a506f9517ba2 (bug 1479708) for failing test_input_datetime_reset_button.html on a CLOSED TREE 2019-07-25 12:44:04 +03:00
François Freitag e66c63b690 Bug 1479708 - Hide required date time input reset button. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D38624

--HG--
extra : moz-landing-system : lando
2019-07-25 07:26:13 +00:00
Kris Maglione 4bd4d680d4 Bug 1566952: Part 1 - Annotate mochitests that crash with Fission enabled. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D38725

--HG--
extra : rebase_source : 3e8b32b86b12b22d038baa770070a5c8095043c9
2019-07-17 13:37:48 -07:00
Masayuki Nakano 3102de8053 Bug 1548389 - part 3: Make editor mark text node in password field as "maybe masked" r=smaug
With the previous patches, editor has stopped masking characters in password
field.  Instead, layout code needs to handle it.  However, layout code
especially around `nsTextFrame` is performance critical area.  Therefore,
layout code requires a quick way to check whether a text node in password
field or not.

This patch creates new flag for `CharacterData` node and marks all text nodes
whose characters should be masked with the flag when `EditorBase` or
`nsTextControlFrame` creates them.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 03:54:16 +00:00
Masayuki Nakano b8d245a76d Bug 1548389 - part 2: Make `TextEditRules` use the new editor API to mask/unmask characters in password editor r=m_kato
Now, `TextEditRules` should use the new editor API to mask/unmask characters
if it's for a password editor.  With this change, it does not need to manage
masked characters and unmasked characters separately since the anonymous
text node always have unmasked characters and `nsTextFrame` will mask the
characters at painting time.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 03:53:58 +00:00
Emilio Cobos Álvarez cf7beea50e Bug 1561794 - Do not crop display text of themed comboboxes due to padding. r=dbaron
This is a potential fix that I thought it was worth doing rather than
implementing Blink's platform-dependent silliness. This ensures that the display
frame always has enough space to display itself.

Note that it may still get clipped, if there's no room for both the display
frame and the button.

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

--HG--
extra : moz-landing-system : lando
2019-07-20 14:54:33 +00:00
L. David Baron ce547cd6f5 Bug 1566945 - Add a parameter to nsContainerFrame::InsertFrames for aPrevFrame's line box. r=dholbert
For now, always pass null, except when passing it through from one
overload to another.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 23:34:45 +00:00
Kris Maglione 0962c2b731 Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

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

--HG--
extra : rebase_source : 39ba8fec2e882cfe577c5f2b58ab7e4b461f1178
2019-07-15 16:19:32 -07:00
Brendan Dahl 28dcf95b41 Bug 1557371 - Part 2 - Load all XUL crashtests with chrome privilege. r=dbaron
386947-1.xul, now has one assertion since we take a different code
path with chrome URL's and XBL files. The assertion is triggered since the
binding is invalid.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 19:40:42 +00:00
Andrew Osmond e501ee889d Bug 1409773 - Use WebRender instead of fallback for border raster images. r=jrmuizel
Before this patch, we would use fallback for all border images. Now for
all but vector images we will use the WebRender border images
primitives. Vector images are an exception because the fallback is
clever in that it upscales the vector image and clips to only draw the
region it requires. This avoids artifacting but to do something similar
for WebRender as it is currently defined, we would increase our CPU and
memory footprint as we would need to produce the entire vector image
upscaled, not just the parts we need. In the future we should change
WebRender to accept different image resources for each of the segments.

Differential Revision: https://phabricator.services.mozilla.com/D37093
2019-07-08 12:54:44 -04:00
Gurzau Raul 5f41be0510 Backed out changeset 9ad9e16d94d9 (bug 1409773) for crashtest failures at 640272.html 2019-07-06 23:36:12 +03:00
Andrew Osmond d20b5cb84b Bug 1409773 - Use WebRender instead of fallback for border raster images. r=jrmuizel
Before this patch, we would use fallback for all border images. Now for
all but vector images we will use the WebRender border images
primitives. Vector images are an exception because the fallback is
clever in that it upscales the vector image and clips to only draw the
region it requires. This avoids artifacting but to do something similar
for WebRender as it is currently defined, we would increase our CPU and
memory footprint as we would need to produce the entire vector image
upscaled, not just the parts we need. In the future we should change
WebRender to accept different image resources for each of the segments.

Differential Revision: https://phabricator.services.mozilla.com/D37093
2019-07-06 14:20:48 -04:00
Gerald Squelart 2f31b3fef4 Bug 1474771 - Propagate NS_FRAME_IS_DIRTY to descendants when marking as dirty rather than during reflow. r=dholbert
This simplifies dealing with frames that are pushed/pulled between
continuations during reflow, allows us to avoid the complexity of the
fix to 1459937, and hopefully fixes some of the regressions from bug
1308876.

This disables the changes from bug 1459937 by commenting out a single
line in ReparentFrameInternal in nsBlockFrame.cpp, but all the added
code will be removed in the following patch.

Co-authored-by: Gerald Squelart <gsquelart@mozilla.com>
Co-authored-by: L. David Baron <dbaron@dbaron.org>

Depends on D36423

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

--HG--
extra : moz-landing-system : lando
2019-07-01 21:56:43 +00:00
Mirko Brodesser 63b4627d28 Bug 1562876: rename `Selection::AddRange` to `Selection::AddRangeAndSelectFramesAndNotifyListeners`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D36602
2019-07-03 13:26:13 +02:00
Daniel Holbert b459034009 Bug 1562312: Implement 'contain:size' for <select multiple> elements. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D36418

--HG--
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-003-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-001.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-003.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002-ref.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-004-ref.html
rename : layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-002.html => layout/reftests/w3c-css/submitted/contain/contain-size-select-elem-004.html
extra : moz-landing-system : lando
2019-07-02 18:40:17 +00:00
Cameron McCormack 336cad5a55 Bug 1553705 - Make GenerateStateKey() infallible. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32258

--HG--
extra : moz-landing-system : lando
2019-07-01 07:20:04 +00:00
Narcis Beleuzu cc10ed7ce5 Backed out 2 changesets (bug 1553705) for causing Bug1562142 . CLOSED TREE
Backed out changeset fbb26a04ec1f (bug 1553705)
Backed out changeset dd6e7c0970d5 (bug 1553705)
2019-06-29 02:39:01 +03:00
Daniel Holbert 2bfc73da09 Bug 1476127: Implement 'contain:size' for select elements. r=TYLin
Note that this is an imperfect implementation, in that it doesn't exactly
match the sizing behavior of a truly empty `<select>` element.  I've filed
followup bug 1562057 on that.  However, the behavior that's implemented
here *does* successfully make us ignore a `<select>`'s contents for sizing
purposes, and it's much better than what we do currently (which is pretty
broken via inheriting a partial `contain:size` implementation from our
parent class, nsBlockFrame).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 20:32:13 +00:00
Cameron McCormack 98706be760 Bug 1553705 - Make GenerateStateKey() infallible. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32258

--HG--
extra : moz-landing-system : lando
2019-06-26 21:44:03 +00:00
Peter Van der Beken 8b00dd9ff2 Bug 1490044 - Move all prefs used in WebIDL to StaticPrefs. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33507

--HG--
extra : moz-landing-system : lando
2019-06-13 09:00:59 +00:00
Ting-Yu Lin 3a4933eb98 Bug 1549267 Part 1 - Remove NS_INTRINSICSIZE and NS_AUTOHEIGHT. r=mats
This patch is generated by the following steps.

1) Manually delete NS_INTRINSICSIZE and NS_AUTOHEIGHT in LayoutConstants.

2) Run the following script.
```
  #!/bin/bash
  function rename() {
      find .\
           -type f\
           ! -path "./obj*"\
           ! -path "./.git"\
           ! -path "./.hg"\
           \( -name "*.cpp" -or\
              -name "*.h" \)\
              -exec sed -i -e "s/$1/$2/g" "{}" \;
  }

  rename NS_INTRINSICSIZE NS_UNCONSTRAINEDSIZE
  rename NS_AUTOHEIGHT NS_UNCONSTRAINEDSIZE
```

3) ./mach clang-format

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

--HG--
extra : moz-landing-system : lando
2019-06-04 23:41:20 +00:00
Emilio Cobos Álvarez 19258bfbb4 Bug 1554716 - Remove nsStyleColor moving the color property to nsStyleText. r=jfkthame
I think this is a good change regardless of other discussion in bug 1552587. If
we decide to move `mColor` to the top-level of the struct that can be done
separately.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 14:48:22 +00:00
Mark Banner c270f7d551 Bug 1554224 - Enable some ESLint rules for more of layout/. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D32496

--HG--
extra : moz-landing-system : lando
2019-05-29 10:50:49 +00:00
Jean-Yves Avenard 022c57caf3 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Emilio Cobos Álvarez 810916db16 Bug 1554433 - Move system colors to values::specified::color. r=xidorn
This should be an idempotent patch. The way to come up with this patch has been:

 * Run the first script attached to the bug and pipe it to xclip, then paste it
   in color.rs
 * Add the relevant #[derive] annotations and remove the color.mako.rs
   definition.
 * Reorder the values to match the ColorID definition, on which some widget
   prefs and caching stuff relies on.
 * Manually port some documentation from nsLookAndFeel.h
 * Run `rg 'eColorID_' | cut -d : -f 1 | sort | uniq >files`
 * Run the second script attached to the bug.
 * Manually fix usage of `LAST_COLOR` (adding the `End` variant), and adding
   casts to integer as needed.
 * Add an static assert so that people remember to update the prefs, rather than
   a comment on the definition :)

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

--HG--
extra : moz-landing-system : lando
2019-05-26 13:10:00 +00:00
Gurzau Raul 967bc2a754 Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422)
Backed out changeset a16295296035 (bug 1550422)
Backed out changeset 3b70307c0db5 (bug 1550422)
Backed out changeset 69df7818d4a3 (bug 1550422)
Backed out changeset d98dfc565927 (bug 1550422)
Backed out changeset 6f0997976944 (bug 1550422)
Backed out changeset 0edd264464c2 (bug 1550422)
Backed out changeset 9ea6da7a74ec (bug 1550422)
Backed out changeset f855f9309c8b (bug 1550422)
Backed out changeset 1033546224a7 (bug 1550422)
Backed out changeset ade7384c6186 (bug 1550422)
Backed out changeset 75b04de7e99c (bug 1550422)
Backed out changeset 91c3acdb2454 (bug 1550422)
Backed out changeset 77d2f80257d1 (bug 1550422)
Backed out changeset e0cd10d35327 (bug 1550422)
Backed out changeset 097091082423 (bug 1550422)
Backed out changeset 2f328853c1ab (bug 1550422)
Backed out changeset f92f2cc29cb1 (bug 1550422)
Backed out changeset 6dc82f88333d (bug 1550422)
Backed out changeset c20f66494d69 (bug 1550422)
Backed out changeset 2ba22cddeb6f (bug 1550422)
Backed out changeset 3aa72f89e295 (bug 1550422)
Backed out changeset ab4c4e806977 (bug 1550422)
Backed out changeset 72e5de040dda (bug 1550422)
Backed out changeset 7d3c2d486706 (bug 1550422)
Backed out changeset 132e0b8d8468 (bug 1550422)
Backed out changeset 54c85ac75dd0 (bug 1550422)
Backed out changeset d7ba4a18dd54 (bug 1550422)
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard 074aea57fe Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-24 11:37:50 +00:00
Cameron McCormack e82b3826f9 Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D32100
2019-05-22 15:18:48 +10:00
Daniel Holbert 0f84d86e05 Bug 1552287 part 2: [css-contain] Adjust various reflow & baseline methods so that layout-contained frames behave as if they have no baseline. r=TYLin
We previously (in bug 1491235) adjusted some utility code to make
layout-contained frames behave as if they have no baseline.

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

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

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

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

Depends on D32182

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

--HG--
extra : moz-landing-system : lando
2019-05-24 04:46:17 +00:00
Razvan Maries 234389cf17 Backed out changeset 82b18d61da00 (bug 1553378) for build bustages. CLOSED TREE 2019-05-24 06:50:14 +03:00
Cameron McCormack f5dd691a74 Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D32100

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

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

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

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

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

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

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

Depends on D32182

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

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

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

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

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

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

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

--HG--
extra : moz-landing-system : lando
2019-05-16 23:04:32 +00:00
Ciure Andrei 00a73f5055 Backed out 17 changesets (bug 1550554, bug 1549593, bug 1551991, bug 1529002) for failing multiple Android tests and Windows 2012 bustages CLOSED TREE
Backed out changeset 3bb3fafa62e2 (bug 1551991)
Backed out changeset e12a979de502 (bug 1551991)
Backed out changeset d81e4aa6bf0c (bug 1551991)
Backed out changeset c354e61f2a34 (bug 1551991)
Backed out changeset 37fd602bebc2 (bug 1551991)
Backed out changeset 6c1f00cc30ca (bug 1551991)
Backed out changeset 8a7a0329bdc3 (bug 1551991)
Backed out changeset 86159475ddd3 (bug 1551991)
Backed out changeset 35f91a9ea82a (bug 1529002)
Backed out changeset 6798155e71dc (bug 1529002)
Backed out changeset b90c2cf5b8c5 (bug 1550554)
Backed out changeset 882ab9868c95 (bug 1550554)
Backed out changeset b28a48e2ed21 (bug 1550554)
Backed out changeset 2c31fe18eefd (bug 1550554)
Backed out changeset 57f2362aa538 (bug 1550554)
Backed out changeset 45f171b26e95 (bug 1550554)
Backed out changeset 2e4b263c9410 (bug 1549593)
2019-05-16 13:17:10 +03:00
Emilio Cobos Álvarez 0fe081bb39 Bug 1550554 - Add bindings for box shadows, and remove nsCSSShadowArray and friends. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D30547
2019-05-16 16:24:28 +02:00
Masayuki Nakano 1fb845d129 Bug 1543315 - part 17: Mark PresShell::HandleDOMEventWithTarget() as MOZ_CAN_RUN_SCRIPT r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D30494

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

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

--HG--
extra : moz-landing-system : lando
2019-05-08 13:49:56 +00:00
Miko Mynttinen 4818bf20d6 Bug 1546955 - Part 2: Make all display item constructors take nsDisplayListBuilder and frame as the first two parameters r=mattwoodrow
Depends on D28844

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

--HG--
extra : moz-landing-system : lando
2019-05-05 21:45:31 +00:00
Masayuki Nakano 780b285e68 Bug 1543315 - part 15: Mark PresShell::ScrollFrameRectIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug
Unfortunately, `EventChainVisitor` does not grab the `nsPresContext` with
`RefPtr` by itself.  Therefore, there is no guarantee of the lifetime without
checking the origin when its subclasses are instantiated.  This patch changes
it and subclasses to `MOZ_STACK_CLASS` since only `EventDispatcher::Dispatch()`
creates them in the stack with given `nsPresContext`.  Additionally, it's
already been marked as MOZ_CAN_RUN_SCRIPT_BOUNDARY`.  Therefore, the
`nsPresContext` instance has already been guaranteed its lifetime by the
caller.  For making this fact stronger, this patch marks their constructors
as `MOZ_CAN_RUN_SCRIPT`.  Therefore, nobody can create those instances without
guaranteeing the lifetime of `nsPresContext` and `dom::Event`.  Note that
it may look like that `mPresContext` of `EventChainPostVisitor` is not
guaranteed.  However, `EventChainPreVisitor` which gives `nsPresContext` to it
is also a stack only class.  So, it won't be deleted before
`EventChainPostVisitor` instance.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 13:57:46 +00:00
Masayuki Nakano 8d503c6d14 Bug 1543315 - part 13: Mark PresShell::Paint() as MOZ_CAN_RUN_SCRIPT r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D30008

--HG--
extra : moz-landing-system : lando
2019-05-06 13:25:35 +00:00
Ting-Yu Lin 1f0e04063a Bug 1548673 Part 4 - Fix the display macro usage in nsFileControlFrame::GetPrefISize(). r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D29749

--HG--
extra : moz-landing-system : lando
2019-05-03 17:35:00 +00:00
Ting-Yu Lin 7a98dbcd3e Bug 1548673 Part 3 - Rename nsBlockFrame's mPrefWidth to mCachedPrefISize. r=jfkthame
Like Part 2, I choose mCachedPrefISize because grid and flex container
are using it.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 17:34:55 +00:00
Ting-Yu Lin 050bf09694 Bug 1548673 Part 2 - Rename nsBlockFrame's mMinWidth to mCachedMinISize. r=jfkthame
Instead of renaming it to mMinISize, I choose mCachedMinISize because
both grid and flex container frames use mCachedMinISize for similar
purpose.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 17:34:46 +00:00
Ting-Yu Lin 63457d2b61 Bug 1548673 Part 1 - Rename NS_INTRINSIC_WIDTH_UNKNOWN to NS_INTRINSIC_ISIZE_UNKNOWN. r=jfkthame
This patch is generated by running the following script under layout/,
and then manually delete the FIXME comment in LayoutConstants.h

  #!/bin/bash
  function rename() {
      find .\
           -type f\
           ! -path "./obj*"\
           ! -path "./.git"\
           ! -path "./.hg"\
           \( -name "*.cpp" -or\
              -name "*.h" \)\
              -exec sed -i -e "s/$1/$2/g" "{}" \;
  }
  rename NS_INTRINSIC_WIDTH_UNKNOWN NS_INTRINSIC_ISIZE_UNKNOWN

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

--HG--
extra : moz-landing-system : lando
2019-05-03 17:34:36 +00:00
Noemi Erli f1ef21cbc7 Backed out changeset 8c89fd37b79d (bug 1544242) for failures in browser_rules_shadowdom_slot_rules.js CLOSED TREE 2019-05-01 22:03:06 +03:00
Alexis Beingessner ac602e64ff Bug 1546018 - parent the legend clip chains. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D29528

--HG--
extra : moz-landing-system : lando
2019-05-01 17:35:44 +00:00
Emilio Cobos Álvarez fb5b637f4f Bug 1544242 - Fix selector-matching for nested pseudo-elements. r=heycam,mats
We always include the combinator for pseudo-elements now (not including it was
just an optimization) in order to not match when nested pseudo-elements are
involved.

We could add a more generic check in `matches_simple_selector` like:

```
if element.is_pseudo_element() {
    match *selector {
        Component::PseudoElement(..) |
        Component::NonTSPseudoClass(..) => {},
        _ => return false,
    }
}
```

But even that wouldn't be enough to make selectors like `:hover::marker` not
match on the `::before::marker` pseudo-element, plus that code is really hot.

So for now do the check on the `next_element_for_combinator` function. It's a
bit hacky but it's the best I could came up with...

While at it, simplify some checks to use is_pseudo_element() instead of
implemented_pseudo_element() directly.

Only the Rust patch as-is would make markers for ::before and ::after on list
items not show up, so we also need to switch ::marker to use ProbeMarkerStyle()
rather than ProbePseudoElementStyle(), since the marker should exist even if it
matches no rules.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 17:19:08 +00:00
Emilio Cobos Álvarez 587c78f065 Bug 1547985 - Stop parsing the legend align's top and bottom attributes. r=mats
They do nothing, if they get parsed, they end up doing the same as text-align:
start, which is the same that we'd get out of GetLogicalAlign if the attribute
wasn't parsed in the first place.

We don't use this attribute for anything else like attribute mapping, so this
should be an idempotent patch.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 12:12:52 +00:00
Masayuki Nakano c2709a0087 Bug 1547535 - Move all a11y code in nsIPresShell to mozilla::PresShell r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D29196

--HG--
extra : moz-landing-system : lando
2019-04-30 07:53:20 +00:00
Masayuki Nakano 36e5df54ec Bug 1547621 - Move all inline methods of nsIPresShell into mozilla::PresShell r=smaug
And also this patch moves some related methods which use the inline methods
and member variables used only by them.

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

--HG--
rename : layout/base/nsIPresShellInlines.h => layout/base/PresShellInlines.h
extra : moz-landing-system : lando
2019-04-30 01:52:53 +00:00
Masayuki Nakano f3bcf4c6d1 Bug 1547418 - Make CapturingContentInfo a private struct of PresShell and move APIs for it from nsIPresShell to PresShell r=smaug
`CapturingContentInfo` struct is used only in `PresShell.cpp` so that we can
make it a private struct of `PresShell` if we move all users of them,
i.e., API to access them, from `nsIPresShell` to `PresShell`.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 00:26:57 +00:00
Masayuki Nakano bad5d5bfe9 Bug 1547416 - Move nsIPresShell::ScrollAxis to PresShellForwards.h r=smaug
`nsIPresShell::ScrollAxis` can be used anywhere and it's used by some
utils actually. So, it should be in `mozilla` namespace and perhaps,
 `PresShellForwards.h` is a good place to move it rather than creating
new header file.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 00:07:49 +00:00
Daniel Holbert 48131afc7d Bug 1508441 part 1: Adjust button reflow to suppress baseline for contain:layout, instead of for contain:size. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D28909

--HG--
extra : moz-landing-system : lando
2019-04-26 21:56:39 +00:00
Emilio Cobos Álvarez 11ea945833 Bug 1546697 - Use a consistent style for enum classes in layout. r=dholbert
Per the discussion in:

  https://groups.google.com/d/msg/mozilla.dev.platform/P79pwa9z5m8/iPYPAWPHCAAJ

They should be CamelCase, and that's what most of them already do. This converts
the rest, which are a few.

For the ones that already used `e` or `k` prefixes, I've mostly done:

 for file in $(rg Type::e layout | cut -d : -f 1 | sort | uniq); do sed -i 's#Type::e#Type::#g' $file; done

For the ones that used uppercase, I've removed the prefix if it was already in
the type name, and turn them into CamelCase.

Depends on D28680

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

--HG--
extra : moz-landing-system : lando
2019-04-25 23:03:04 +00:00
Masayuki Nakano 3622509485 Bug 1545342 - part 2: Make some public enum of nsIPresShell move to mozilla namespace and defined as enum class in PresShellForwards.h r=smaug
This patch moves some `enum` in `nsIPresShell` which are in public scope into
`mozilla` namespace and change them as `enum class`es.

Unfortunately, only "where to scroll" enum is just defines constants of
percentages of scroll destination.  Therefore, this patch makes only them
as `static const`.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 05:04:15 +00:00
Masayuki Nakano 5932f01d53 Bug 1545342 - part 1: Create mozilla/PresShellForwards.h and move global enums/constants in nsIPresShell.h and mozilla/PresShell.h into the new one r=smaug
This patch creates new header, `mozilla/PresShellForwards.h`.  It should have
all forward declarations of global class/struct in `nsIPresShell.h` and
`mozilla/PresShell.h`.

Additionally, this moves all `enum`s and `constant`s in them into the new file
with changing them to `enum class`es.

This will make other headers which require only specific types in the header
files not include them.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 05:02:20 +00:00
Ting-Yu Lin 49cfcc232c Bug 1546223 Part 4 - Mechanically replace pointer with Maybe for ReflowInput's optional containing block size. r=dholbert
There's no behavior change in this patch.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 17:35:31 +00:00
Srujana Peddinti b44e48bff4 Bug 1259660 - Moved mozilla::WidgetMosueEventBase::buttonType in MouseEvents.h to mozilla::MouseButton in EventForwards.h, and mozilla::WidgetMouseEventBase::buttonsFlag to mozilla::MouseButtonsFlag r=masayuki
Moved mozilla::WidgetMosueEventBase::buttonType in MouseEvents.h to mozilla::MouseButton in EventForwards.h, and mozilla::WidgetMouseEventBase::buttonsFlag to mozilla::MouseButtonsFlag so that any referer in header files do not need to include MouseEvents.h only for referring them. Instead, they just need to include EventForwards.h. Now when MouseEvents.h is changed, the rebuild speed becomes faster.

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

--HG--
extra : moz-landing-system : lando
2019-04-21 20:13:34 +00:00
Srujana Peddinti 5f185eb5aa Bug 1259660 - Cleaned up WidgetMouseEventBase by renaming WidgetMouseEventBase::button to WidgetMouseEventBase::mButton. r=masayuki
Renamed all class member instances from WidgetMouseEventBase::button to WidgetMouseEventBase::mButton.

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

--HG--
extra : moz-landing-system : lando
2019-04-21 18:17:10 +00:00
Brian Grinstead ede8c44ef2 Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
This excludes dom/, otherwise the file size is too large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Brian Grinstead 6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Masayuki Nakano f5737567dd Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio
This patch changes remaining things under `layout/`.  However, there are some
places which still need to use `nsIPresShell`.  That will be fixed in a
follow up bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 07:25:10 +00:00
Masayuki Nakano 2f9688c14e Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio
Additionally, this patch makes `nsFrame.h` stop including `nsIPresShell.h`
and makes each users include `mozilla/PresShell.h` instead.  So, this improves
rebuild performance of `nsIPresShell.h` (and `mozilla/PresShell.h` in the
future).

Note that due to `nsIFrame::PresShell()`, `mozilla::` prefix is necessary for
`PresShell` in a lot of classes which are derived from `nsIFrame` even in
`.cpp` files.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 07:24:49 +00:00
Alexis Beingessner b4a27bb58d Bug 1412179 - implement fieldsets with nonempty legends. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27350

--HG--
extra : moz-landing-system : lando
2019-04-15 23:16:13 +00:00
Masayuki Nakano 414509fe00 Bug 1543315 - part 9: Mark nsIPresShell::FlushPendingNotifications() as MOZ_CAN_RUN_SCRIPT r=smaug
So, this patch makes all caller of it safe including its arguments unless
they come from other methods.

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

--HG--
extra : moz-landing-system : lando
2019-04-13 12:43:57 +00:00
Coroiu Cristina 3b2b29f924 Backed out changeset fd5cb917b6eb (bug 1412179) for Wr failures at /html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-vertical.html 2019-04-13 11:04:15 +03:00
Alexis Beingessner 3d93741fa9 Bug 1412179 - implement fieldsets with nonempty legends. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27350

--HG--
extra : moz-landing-system : lando
2019-04-12 18:56:19 +00:00
Mirko Brodesser ed491dbad1 Bug 1374045: add 'preventScroll' option to HTMLElement's, SVGElement's and XULElement's 'focus' method r=smaug
- Remove expectation that 'preventScroll.html' fails.

- Use '[NoInterfaceObject] interface' workaround to simulate missing 'mixin' support.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 08:16:47 +00:00