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

9840 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 0efdc36b08 Backed out changeset fe756391d9f9 (bug 1514992) for linux qr debug reftest failures on canvas-outside-document-invalidate-02.html. CLOSED TREE 2019-02-26 00:06:38 +02:00
Kartikaya Gupta 906d3332da Bug 1514992 - Update annotation for webrender. r=lsalzman
Apparently we sometimes fall back to skia canvas with WebRender if ANGLE
fails to initialize. This makes the azureSkia condition true, but the
test still passes because of WebRender's magical properties. This patch
updates the annotation to reflect reality, so we don't get unexpected
passes.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 16:13:01 +00:00
Dzmitry Malyshau 0bf19769e6 Bug 1519718 - WR mix-blend rewrite r=gw
This is a new implementation of mix-blend compositing that is meant to be more idiomatic to WR and efficient.

Previously, mix-blend mode was composed in the following way:
  1. parent stacking context was forced to isolate
  2. source picture is also isolated
  3. when rendering the isolated context, the framebuffer is read upon reaching the source. Both the readback and the source are placed in the RT cache.
  4. a mix-blend draw call is issued to read from those cache segments and blend on top of the backdrop

The new implementation works by using the picture cutting (intruduced for preserve-3D contexts earlier) and some bits of magic:
  1. backdrop stacking context is isolated with a special composition mode that prevents it from actually rendeing unless the suorce stacking context is invisible.
  2. source stacking context is isolated with mix-blend composition mode that has a pointer to the backdrop picture
  3. the instance of the backdrop picture is placed as a peer of the source picture (not a child)
  4. if the backdrop is invisible, the source is drawn as a simple blit
  5. otherwise, it's a draw call that reads from the isolated backdrop and source textures

Note the differences:
  - parent stacking context is not isolated, but backdrop is
  - no framebuffer readback is involved
  - the source and backdrop pictures are rendered in parallel in a pass, improving the batching
  - we don't blend onto the backdrop while reading from the backdrop copy at the same time
  - the depth of the render pass tree is reduced: previously the parent and the source were isolated, now the source and the backdrop, which are siblings

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

--HG--
rename : gfx/wr/wrench/reftests/blend/multiply-2-ref.yaml => gfx/wr/wrench/reftests/blend/multiply-3-ref.yaml
rename : gfx/wr/wrench/reftests/blend/multiply-3.yaml => gfx/wr/wrench/reftests/blend/multiply-4.yaml
extra : moz-landing-system : lando
2019-02-25 00:17:22 +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
Coroiu Cristina 4a72e9cc9a Merge inbound to mozilla-central a=merge 2019-02-22 18:30:44 +02:00
Mats Palmgren 0f4868138a Bug 1526567 - [css-grid] Make the block-axis percentage basis be indefinite for measuring reflows. r=dholbert 2019-02-22 13:58:24 +01: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
Ting-Yu Lin 000992e33e Bug 1527725 - Exclude ColumnSetWrapperFrame from the first letter style consistency check in nsBlockFrame. r=dbaron
If there's ::first-letter pseudo element on the multicol container,
ColumnSetWrapperFrame will have the first letter style, but it won't get
the NS_BLOCK_HAS_FIRST_LETTER_STYLE bit during frame construction. The
actual first-letter frame construction happens under -moz-column-content
anonymous block.

This patch excludes ColumnSetWrapperFrame from the debug check to meet
the expectation.

Add a reftest to make sure ::first-letter and ::first-line still work
after introducing ColumnSetWrapperFrame, and no assertion is fired.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 01:14:45 +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
Hiroyuki Ikezoe 3b8b937340 Bug 1525805 - Don't apply the minimum scale size if user-scalable=no is specified. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D20206

--HG--
extra : moz-landing-system : lando
2019-02-20 10:04:30 +00:00
Csoregi Natalia 769bb21bcf Backed out changeset 931ffb6a2a7a (bug 1525805) by request. CLOSED TREE 2019-02-20 11:46:17 +02:00
Hiroyuki Ikezoe 062a28422e Bug 1525805 - Don't apply the minimum scale size if user-scalable=no is specified. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D20206

--HG--
extra : moz-landing-system : lando
2019-02-20 09:17:26 +00:00
Botond Ballo a9dd3a321b Bug 1527516 - Increase the content size in position-fixed-out-of-view.html to avoid bug 1527187. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D19606

--HG--
extra : moz-landing-system : lando
2019-02-16 22:11:24 +00:00
Botond Ballo ee40541496 Bug 1525948 - Add a reftest. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D19997

--HG--
extra : moz-landing-system : lando
2019-02-16 10:05:48 +00:00
Jonathan Kingston 83bd9bdac8 Bug 1494034 - Add support for CSS prefers-color-scheme media feature. r=emilio 2019-02-15 21:40:35 +01:00
Cosmin Sabou a4b19fcd61 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 20:39:45 +02:00
Brian Birtles fb78c09d5c Bug 1524480 - Add tests for unstyled data; r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D19886

--HG--
extra : moz-landing-system : lando
2019-02-15 05:54:49 +00:00
Mats Palmgren b1aa4cb29a Bug 1524573 - Ensure that an auto-sized <input type=range> is at least large enough to contain the thumb. r=jwatt 2019-02-15 01:53:23 +01:00
Daniel Holbert c04ba08d3e Bug 1524774: Annotate frame-scrolling-attr-2.html as having 2 slightly fuzzy pixels. (no review, test-annotation-only)
Technically Bug 1524774 only has 1 fuzzy pixel, but I'm aiming to also address
bug 1525568 which has 2 fuzzy pixels on a different platform (mac).

--HG--
extra : rebase_source : 1be608959d17bfa0de555820f1270a9ca6759163
2019-02-14 10:14:49 -08:00
Daniel Holbert 24e7757e76 Backed out changeset 6d917b008b34 (Bug 1524774) because it annotated the wrong test
--HG--
extra : rebase_source : 77f25e65cae85cb4ff2aaf7ce1c78e7c05ba1984
2019-02-14 10:12:27 -08:00
Daniel Holbert e2429346c5 Bug 1524774: Add fuzzy annotation to allow for subtle 1px difference on scrollbar corner in reftest frame-scrolling-attr-2.html. (no review, test-manifest-tweak only)
--HG--
extra : rebase_source : 4eb0228320c856e94c9f46345965d0118bd7eed2
2019-02-13 11:49:19 -08:00
Andrei Ciure d5aeca30f4 Bug 1520910 - disable font-inflation-1-ref.html for frequent failures. r=jmaher 2019-02-12 13:16:00 +02:00
Nicolas Silva ea955a3c08 Bug 1523495 - Reftests adjustments. r=gw,kats,nical
Differential Revision (1): https://phabricator.services.mozilla.com/D18938
Differential Revision (2): https://phabricator.services.mozilla.com/D18854

--HG--
extra : histedit_source : 6d23aa08b25a7d41bf036c0cfccd2acaf00b24d7
2019-02-07 11:32:53 +01: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
Thomas Wisniewski 6f9de091e7 Bug 1524897 - drop line-height:normal rule in html.css for <sub> and <sup> for interop. r=emilio
remove line-height:normal rule from html.css for <sub> and <sup> for interop.

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

--HG--
extra : moz-landing-system : lando
2019-02-08 11:02:36 +00:00
Oana Pop Rus 03ebbdab95 Merge inbound to mozilla-central. a=merge 2019-02-08 11:53:37 +02:00
Razvan Maries 8add624474 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-02-08 06:26:00 +02:00
Razvan Maries e5944cdd0e Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-07 23:49:13 +02: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
Hiroyuki Ikezoe 9fe047bfb3 Bug 1516377 - Use the layout viewport for position:fixed elements if the viewport is larger than. r=botond
Both of reftests in this commit are based on an exmaple [1] in the Viewports
Explainer written by David Bokan.

position-fixed-out-of-view.html fails without the fix because the position:fixed
element is rendered at the right edge of the visual viewport so that it's
visible in the first place.

position-fixed-on-minimum-scale-size.html does NOT fail without the fix either
because the position:fixed element sticks at the right edge of the visual
viewport so that it still be there even after the visual viewport offset has
been changed.

[1] https://github.com/bokand/bokand.github.io/blob/master/web_viewports_explainer.md#chrome-2

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

--HG--
extra : moz-landing-system : lando
2019-02-07 05:39:33 +00:00
Jonathan Kew 06b936f643 Bug 1507661 - Don't treat an explicit hyphen as though it could be a soft-hyphenation position. r=jwatt 2019-02-07 12:13:19 +00:00
Jonathan Kew ab92b80b55 Bug 1507661 - Reftest for spurious soft-hyphenation occuring at an explicit hyphen after initial letter of word. r=jwatt 2019-02-07 12:13:19 +00: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
Bobby Holley d1796847d4 Bug 1524086 - Mark reftest as fuzzy-if rather than fails-if. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D18582

--HG--
extra : moz-landing-system : lando
2019-02-06 05:32:35 +00:00
Daniel Holbert cde912690c Bug 1522898: Account for box-sizing (add border & padding) when setting a main-size property value override on a flex item (which it uses for aspect ratio calculations). r=mats
For elements that have box-sizing:border-box specified, the aspect ratio
calculation code subtracts out border & padding from any specified property
values.

So, when we create a fake "override" specified property value for a flex item
whose main size has been resolved, we need to add in the border and padding to
account for the fact that they're going to be subtracted out later.

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

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-001v.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-intrinsic-ratio-007v.html
extra : moz-landing-system : lando
2019-02-04 23:06:16 +00:00
Olli Pettay 2b3aa5d961 Bug 1524031, frame-scrolling-attr-1.html fails randomly - allow some fuzzyness, r=emilio 2019-02-04 17:24:29 +02:00
Kartikaya Gupta 5778faf7aa Bug 1520715 - Allow a bit of fuzz on color-layer-1a. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D18487

--HG--
extra : moz-landing-system : lando
2019-02-02 15:56:54 +00:00
Kartikaya Gupta ff2548e7d2 Bug 1520793 - Allow a bit of fuzz in clip-path-circle-021. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D18486

--HG--
extra : moz-landing-system : lando
2019-02-02 15:56:45 +00:00
Jeff Muizelaar 8b79b7ce3e Bug 1524177. Accept a small amount of fuzz for clip-path-inset. r=dholbert
It seems like we intermittently get fuzz on the clip-path-inset tests.
It's better for us to accept that fuzz than intermittently fail.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 23:40:13 +00:00
Glenn Watson 803eadae41 Bug 1523882 - Rework snapping logic in clip mask generate to fix uneven box shadows. r=kvark,nical
Differential Revision: https://phabricator.services.mozilla.com/D18060

--HG--
extra : moz-landing-system : lando
2019-02-01 23:24:53 +00:00
Kartikaya Gupta b7b2ce33e3 Bug 1524437 - Replace text with div to avoid antialiasing effects. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D18300

--HG--
extra : moz-landing-system : lando
2019-02-01 18:45:48 +00:00
Kartikaya Gupta 0deb9fd9cb No bug - Adjust fuzziness for reftest on mac which showed up after merging autoland and inbound. r=me on a CLOSED TREE 2019-02-01 10:07:53 -05:00
Oana Pop Rus fa24444292 Merge autoland to mozilla-central. a=merge 2019-02-01 11:32:06 +02:00