Commit Graph

2715 Commits

Author SHA1 Message Date
Daniel Holbert
0f4fa109f4 Bug 1545360: Make nsBoxFrame and nsLeafBoxFrame invoke (or inherit) superclass MarkIntrinsicISizesDirty() method. r=emilio
These functions have a comment that suggests that the inherited
functionality isn't applicable and would all be skipped.  This comment is
no longer true, so let's make use of the inherited function.

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

--HG--
extra : moz-landing-system : lando
2019-04-21 01:47:36 +00:00
Emilio Cobos Álvarez
ca33d8548f Bug 1281135 - Make <link disabled> work and HTMLLinkElement.disabled reflect that attribute. r=bzbarsky
...instead of forwarding to the sheet like HTMLStyleElement does.

I've proposed this behavior in:

  https://github.com/whatwg/html/issues/3840#issuecomment-480894419

I think this is one of the sane behaviors we can have, what Blink / WebKit do
makes no sense to me.

Alternative potentially-sane behavior is making the initial value of the
stylesheet's disabled bit the same as the content attribute, and both reflect
and forward the attribute from the setter.

That means that setAttribute does something different than setting `disabled`,
which means that you can get into all sorts of funny states when reloading the
sheet... So I rather not do that.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 13:31:05 +00:00
Noemi Erli
9d4b8e45ab Backed out changeset ef991fe893a4 (bug 1281135) for failures in browser_bug839103.js 2019-04-19 09:18:03 +03:00
Alexis Beingessner
72aa57aea1 Bug 1544895 - revert back to old bad bounds to pick lesser evil for now. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27965

--HG--
extra : moz-landing-system : lando
2019-04-18 13:03:28 +00:00
Alexis Beingessner
f0249aaaa2 Bug 1544895 - when suspending ClipLeafMerging, parent to the clip_chain and not the clip. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27819

--HG--
extra : moz-landing-system : lando
2019-04-18 13:03:26 +00:00
Emilio Cobos Álvarez
60a57d4109 Bug 1281135 - Make <link disabled> work and HTMLLinkElement.disabled reflect that attribute. r=bzbarsky
...instead of forwarding to the sheet like HTMLStyleElement does.

I've proposed this behavior in:

  https://github.com/whatwg/html/issues/3840#issuecomment-480894419

I think this is one of the sane behaviors we can have, what Blink / WebKit do
makes no sense to me.

Alternative potentially-sane behavior is making the initial value of the
stylesheet's disabled bit the same as the content attribute, and both reflect
and forward the attribute from the setter.

That means that setAttribute does something different than setting `disabled`,
which means that you can get into all sorts of funny states when reloading the
sheet... So I rather not do that.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 07:48:55 +00:00
Alexis Beingessner
6cd8d63f3d Bug 1544643 - allow fuzziness to be lower on bugs/1529992-1.html. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27670

--HG--
extra : moz-landing-system : lando
2019-04-16 13:59:16 +00:00
Alexis Beingessner
92010a39a6 Bug 1529992 - don't apply shadow adjustment to text bounds in gecko with WR r=mattwoodrow
And tell webrender to do them itself (they have fundamental mismatches in how they
define shadow bounds).

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

--HG--
extra : moz-landing-system : lando
2019-04-15 23:13:47 +00:00
Daniel Varga
e452ed972c Backed out 2 changesets (bug 1529992) for reftest failure at http://10.0.2.2:8854/tests/layout/reftests/bugs/1529992-1.html == http://10.0.2.2:8854/tests/layout/reftests/bugs/1529992-1-ref.html. On a CLOSED TREE
Backed out changeset 87b64e169b1b (bug 1529992)
Backed out changeset ddf29d68efb2 (bug 1529992)
2019-04-15 23:22:29 +03:00
Alexis Beingessner
f901a109e4 Bug 1529992 - don't apply shadow adjustment to text bounds in gecko with WR r=mattwoodrow
And tell webrender to do them itself (they have fundamental mismatches in how they
define shadow bounds).

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

--HG--
extra : moz-landing-system : lando
2019-04-15 17:25:26 +00:00
Henri Sivonen
1240f02f32 Bug 1536575 - Stack size on aarch64 Windows should match stack size on x86_64 Windows. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D26272

--HG--
extra : moz-landing-system : lando
2019-04-09 08:15:24 +00:00
Edwin Gao
4ef9fcc3d1 Bug 1532813 - expect fail for last_test_to_unload_testsuite for windows10-aarch64 r=jmaher
Changes:
- skipped problematic tests in crashtest suite on windows10-aarch64
- removed unnecessary pixel fuzzy values from previous iterations of greening tests

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:36:41 +00:00
Lee Salzman
a00853db4b Bug 1539026 - Skia m74 fuzzing. r=rhunt 2019-03-26 14:52:45 -04:00
Botond Ballo
c1665a519c Bug 1527511 - Other scrollbar rendering reftest fixes. r=kats
The functional fix in this patch series makes some other scrollbar rendering
tests actually test something useful.

Some of them just start passing. Some need a bit of fuzzing. Some need an
adjustment to avoid running afoul of our minimum viewport width of 200.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 16:38:23 +00:00
Botond Ballo
d558cef23f Bug 1527511 - Get zoomed-in RTL scrollbar rendering tests working and re-enable them. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D23078

--HG--
extra : moz-landing-system : lando
2019-03-27 16:38:13 +00:00
Mats Palmgren
ff5ea5f6ab Bug 205202 part 2 - [css-lists][css-pseudo] Add support for the ::marker pseudo element on list items. Test updates. r=emilio 2019-03-24 23:13:53 +01:00
Mats Palmgren
c750eaac07 Bug 288704 part 2 - [css-lists] Implement display:list-item counters using a built-in 'list-item' CSS counter. r=emilio 2019-03-24 23:13:52 +01:00
Miko Mynttinen
c33cbad71c Bug 1535040 - Exclude some SVG frames from DL building fast-path r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D23810

--HG--
extra : moz-landing-system : lando
2019-03-21 14:48:54 +00:00
Emilio Cobos Álvarez
ac54c9333b Bug 1534494 - Try to bring some more sanity into our font code. r=manishearth
It's not very easy to understand on its current state, and it causes subtle bugs
like bug 1533654.

It could be simpler if we centralized where the interactions between properties
are handled. This patch does this.

This patch also changes how MathML script sizes are tracked when scriptlevel
changes and they have relative fonts in between.

With this patch, any explicitly specified font-size is treated the same (being a
scriptlevel boundary), regardless of whether it's either an absolute size, a
relative size, or a wide keyword.

Relative lengths always resolve relative to the constrained size, which allows
us to avoid the double font-size computation, and not give up on sanity with
keyword font-sizes.

I think given no other browser supports scriptlevel it seems like the right
trade-off.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 15:37:03 +00:00
Edwin Gao
c75639eee2 Bug 1530033 - disable build/tests/reftest/tests/layout/reftests/bugs/256180-1.html, 256180-2.html, 256180-3.html r=jmaher
Disabled:
- 256180-1.html
- 256180-2.html
- 256180-3.html

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

--HG--
extra : moz-landing-system : lando
2019-03-15 23:13:12 +00:00
Botond Ballo
dafe6fcdd9 Bug 1137890 - Let containerless scrolling ride the trains. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D23370

--HG--
extra : moz-landing-system : lando
2019-03-15 18:12:27 +00:00
Botond Ballo
6dd772b9e2 Bug 1533796 - Always run 1133905-*-vh-*.html reftests with containerless scrolling enabled. r=kats
They were revised in bug 1158392 to work with containerless scrolling and
not with container scrolling.

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

--HG--
extra : moz-landing-system : lando
2019-03-08 19:36:39 +00:00
Botond Ballo
d1666c7f65 Bug 1158392 - Make sure the 113905-*-vh-*.html tests do not render as blank. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D19682

--HG--
extra : moz-landing-system : lando
2019-03-07 18:03:23 +00:00
Botond Ballo
3ddbc386e0 Bug 1158392 - Disable 1133905-*-vh-rtl reftests with zoom levels > 1. r=kats
These were rendering as blank with container scrolling, and their failure with
containerless scrolling is caused by an unrelated viewport bug, tracked in
bug 1527511.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 18:03:03 +00:00
Botond Ballo
0a8f586cc5 Bug 1158392 - Fix 1133905-*-vh-*.html reftests so they are valid in the presence of new viewport sizing rules. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D19680

--HG--
extra : moz-landing-system : lando
2019-03-07 18:02:48 +00:00
Emilio Cobos Álvarez
87b3e6bbd3 Bug 1450652 - Remove platform support for display="" in XBL bindings. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D12586

--HG--
extra : moz-landing-system : lando
2019-03-06 00:47:13 +00:00
Kartikaya Gupta
54824644ff Bug 1529288 - Increase fuzz even more, there are still intermittents. r=me 2019-02-23 07:51:56 -05:00
Kartikaya Gupta
e8b8cb0df8 Bug 1529288 - Increase number of allowed fuzzy pixels slightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D20734

--HG--
extra : moz-landing-system : lando
2019-02-22 11:47:50 +00:00
Narcis Beleuzu
561078725c Bug 1526114 - Disable 289480-ref.html on linux-qr r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20626

--HG--
extra : moz-landing-system : lando
2019-02-21 11:33:13 +00:00
Narcis Beleuzu
191967c019 Backed out 2 changesets (bug 1526114) for reftest failures on reftest.list . CLOSED TREE
Backed out changeset 9b4bb0f83ee4 (bug 1526114)
Backed out changeset 601af10b1100 (bug 1526114)
2019-02-21 09:03:04 +02:00
Cosmin Sabou
d0c2d19441 Bug 1526114 - Add 289480.html for the reference file to fix the reftest failures. CLOSED TREE 2019-02-21 07:26:21 +02:00
Andreea Pavel
c519dac23a Bug 1526114 - Disabled 289480-ref.html on linux-qr r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20468

--HG--
extra : moz-landing-system : lando
2019-02-20 13:59:45 +00:00
Kartikaya Gupta
3797456260 Bug 1523080 - Don't apply the pipeline clip to display items inside a SC with a clip. r=kvark
Without this patch, if we got a display item with the root clip id, we
would always clip that display item with the root clip of the enclosing
pipeline. However, this violates the documented semantics on
ClipId::root() which states that it effectively does no clipping.
Specifically, it could end up doing clipping if the display item was
part of a scrollframe that was scrolled such that the display item
extended beyond the enclosing pipeline.

This patch adds an extra argument to some of the flattening functions -
the flag is true when recursing the DL between a pipeline item and the
first stacking context that has a clip. For these items, the pipeline
clip is applied. Once inside the stacking context, the pipeline clip is
not applied.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:40:05 +00:00
Boris Zbarsky
bc348929b6 Bug 1515582. Remove the separate XBL scope setup. r=bholley
With these changes, XBL just runs in the window scope of whatever document it's
attached to.  Since (outside of tests and "remote XUL") we no longer attach XBL
to web documents, this is fine.  And "remote XUL" already ran without the XBL
scope.

Native anonymous content, which used to be placed in the XBL scope to hide it
from the page, is now placed in the unprivileged junk scope, so it stays hidden
from the page.

dom/xbl/test/test_bug944407.xul is being removed because we are changing the
behavior it's trying to test for.  Since we now always put the XBL in the same
scope as the page, script is enabled for the XBL if and only if it's enabled for
the page.

dom/base/test/test_bug419527.xhtml, dom/events/test/test_bug391568.xhtml,
dom/xbl/test/test_bug1086996.xhtml are being switched to a chrome test because
otherwise the XBL can't see the getAnonymousNodes method.

All the XBL bits are being removed from test_interfaces because we no longer
have a separate XBL scope to test the behavior of.

js/xpconnect/tests/mochitest/test_nac.xhtml is being removed because XBL no
longer has access to NAC unless the page it's attached to does too, so the test
doesn't really make sense.

layout/xul/test/test_bug1197913.xul is being switched to a chrome test because
its XUL elements use bindings that rely on APIs that are not exposed to normal
web content.

layout/reftests/bugs/495385-2f.xhtml is being removed because I can't think of
a sane way to test that in the new world, short of running the reftest as
chrome.  And it doesn't seem worthwhile to look for a way to do that.

dom/xbl/test/test_bug1098628_throw_from_construct.xhtml now needs to
expectUncaughtException(), because the exception is now being thrown in Window
scope.

dom/xbl/test/test_bug1359859.xhtml needs to expectUncaughtException() as needed
and not use XPCNativeWrapper (which it doesn't need to anyway now).

dom/xbl/test/test_bug389322.xhtml, dom/xbl/test/test_bug400705.xhtml,
dom/xbl/test/test_bug401907.xhtml, dom/xbl/test/test_bug403162.xhtml,
dom/xbl/test/test_bug526178.xhtml, dom/xbl/test/test_bug639338.xhtml don't need
to use XPCNativeWrapper anymore.

dom/xbl/test/test_bug821850.html is being removed because it exists only to test XBL scopes.

dom/xbl/test/file_bug950909.xml is being changed to work without a separate XBL
scope (though whether the test still makes sense at that point is a bit questionable).

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

--HG--
extra : moz-landing-system : lando
2019-02-11 21:51:47 +00:00
Joel Maher
bdd8e3ce31 Bug 1522900 - adjust manifests to allow tests to pass on windows10 1803 release. r=gbrown CLOSED TREE
--HG--
extra : rebase_source : 1350412a9925eea526bda708011086c4e8e19170
extra : amend_source : 548af67b37ba2207f380c509a1b213c323fcd1cb
2019-02-11 10:02:51 +01:00
Andrew Osmond
6cba1775c3 Bug 1453935 - Ensure that we snap within the visible rect with WebRender. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18869
2019-02-07 18:05:43 -05:00
Andreea Pavel
7e3beb59f7 Backed out changeset 87ad4b91e29f (bug 1453935) for reftest failures on a CLOSED TREE 2019-02-08 00:45:29 +02:00
Andrew Osmond
fa36639a3b Bug 1453935 - Ensure that we snap within the visible rect with WebRender. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18869
2019-02-07 15:26:54 -05:00
Glenn Watson
43dfba16ac Bug 1524385 - Set the current clip chain on the stacking context item. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18527

--HG--
extra : moz-landing-system : lando
2019-02-06 04:35:37 +00:00
Hiroyuki Ikezoe
040874a75f Bug 1520077 - Set apz.allow_zooming true for reftests that need to be automatically scaled. r=botond
Those reftests assume that the content is automatically zoomed in/out but
unfortunately apz.allow_zooming has set to false on Android since bug 1180267.
With the preference value all of the reftests marked as 'fail' in bug 1504659
now succeed.

Though 1133905-{5,6}-v.html and 1133905-{5,6}-v-rtl.html still fail (they've
been failing before bug 1504659), they will be hopefully fixed in bug 1308702.

Depends on D18038

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

--HG--
extra : moz-landing-system : lando
2019-01-31 03:24:35 +00:00
Timothy Guan-tin Chien
d59f80985c Bug 1507895 - Part I, Remove the videocontrols binding r=smaug
This patch removes the XBL videocontrols binding and make <video>
to always use the UA Widget to generate controls.

DevTools tests that look for NAC is switched to use <input type=file>.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 13:12:26 +00:00
Markus Stange
65854967cf Bug 1509425 - Undo an optimization that unexpectedly affected hit testing. r=bas
Differential Revision: https://phabricator.services.mozilla.com/D16912

--HG--
extra : moz-landing-system : lando
2019-01-23 03:53:11 +00:00
Bas Schouten
14ddde5ae1 Bug 1520877 - Part 4: Make nsDisplayBackgroundColor use FillRoundedRect and mark some tests fuzzier. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D16895

--HG--
extra : rebase_source : 344e67739a4f79e74f2e6afc7eed4234e8484475
2019-01-17 20:41:00 +01:00
Brad Werth
628e787dd1 Bug 1504659 Part 5: Update Android reftest expectations. r=botond
The tests for Bug 1133905 all compare the visibility of scrollbars with
differently-sized css viewports. This patch has some affect on the
viewport sizing that I don't understand, and it causes some of the tests
to start passing and some to start failing.

The test for Bug 1242172 has elements sized to height 100% and checking
for the presence or absence of scrollbars. In this case the patch appears
to increase the css viewport height and decrease the width -- again for
reasons I don't understand -- and this affects the scrollbar sizes.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 21:58:27 +00:00
Cosmin Sabou
f621d8b160 Backed out 5 changesets (bug 1504659) for android reftest failures. CLOSED TREE
Backed out changeset 793e842be7f6 (bug 1504659)
Backed out changeset 229ed2090371 (bug 1504659)
Backed out changeset 0818e2b1f2c5 (bug 1504659)
Backed out changeset bd806b413342 (bug 1504659)
Backed out changeset 3e12097e2b60 (bug 1504659)
2019-01-16 21:23:39 +02:00
Brad Werth
5f076f7b17 Bug 1504659 Part 5: Update Android reftest expectations. r=botond
The tests for Bug 1133905 all compare the visibility of scrollbars with
differently-sized css viewports. This patch has some affect on the
viewport sizing that I don't understand, and it causes some of the tests
to start passing and some to start failing.

The test for Bug 1242172 has elements sized to height 100% and checking
for the presence or absence of scrollbars. In this case the patch appears
to increase the css viewport height and decrease the width -- again for
reasons I don't understand -- and this affects the scrollbar sizes.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 17:14:33 +00:00
Narcis Beleuzu
9d87d4782c Backed out 5 changesets (bug 1504659) for reftest failures on frame-reconstruction-scroll-clamping.html.
Backed out changeset 749c9dcbbd7f (bug 1504659)
Backed out changeset 783f7ccbd797 (bug 1504659)
Backed out changeset 231b16b0091e (bug 1504659)
Backed out changeset a88ccc9308e0 (bug 1504659)
Backed out changeset 738e1ee854eb (bug 1504659)
2019-01-15 07:34:58 +02:00
Brad Werth
01cd7d5f12 Bug 1504659 Part 5: Update Android reftest expectations. r=botond
The tests for Bug 1133905 all compare the visibility of scrollbars with
differently-sized css viewports. This patch has some affect on the
viewport sizing that I don't understand, and it causes some of the tests
to start passing and some to start failing.

The test for Bug 1242172 has elements sized to height 100% and checking
for the presence or absence of scrollbars. In this case the patch appears
to increase the css viewport height and decrease the width -- again for
reasons I don't understand -- and this affects the scrollbar sizes.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 20:09:06 +00:00
Henri Sivonen
40eb2c1d4e Bug 256180 Dalvik part - Disable some deep-tree tests on Android, because running the tests on Dalvik is not feasible. r=snorp. 2019-01-11 09:44:09 +02:00
Henri Sivonen
34559b2b59 Bug 256180 parser part - Insert elements as siblings instead of children at the Blink-defined magic depth for compatibility. r=smaug.
MozReview-Commit-ID: K8fgv3rgklt
2019-01-11 09:44:09 +02:00