gecko-dev/layout
Nicolas Silva 4b2e532f46 Bug 1708959 - Fix linear gradient clipping in the fast path. r=gfx-reviewers,gw
Some code in the gradient fast path was expecting that at a certain point we'd either have bailed out of the optimization or the primitive bounds would be tightly clipped. It was possible with a combination of parameters to have a tile repetition that would prevent the tight clipping while being opitmized away after the attempt at clipping. In that case the primitive bounds wouldn't be minimal but we proceed using it as the clip while decomposing gradients into simpler segments.

This patch reorders the optimization code so that clipping is done after sanitizing repetitions, allows the clipping to happen in more cases and as an extra safety uses the intersection of the primitive bounds and clip as the segment clip regardless of whether we achieved a minimal clip earlier.

Differential Revision: https://phabricator.services.mozilla.com/D114255
2021-05-05 21:24:15 +00:00
..
base Bug 1709577 - Remove CORS_* constants from imgIRequest, use CORSMode instead. r=tnikkel 2021-05-05 15:23:25 +00:00
build Bug 1694662 - Remove header from layoutstatistics r=necko-reviewers,kershaw 2021-04-30 07:20:22 +00:00
docs Bug 1682703: [css-grid-3] Remove in-tree masonry draft spec, now that it lives in csswg repo. r=mats DONTBUILD 2020-12-16 05:17:36 +00:00
forms Bug 1707070 - Tweak text/number/search control anonymous tree DOM / paint order. r=dholbert 2021-04-26 16:55:32 +00:00
generic Bug 1680387 - Fix interaction with src-set() / image-set(), and enable the feature by default. r=tnikkel 2021-05-05 09:41:24 +00:00
inspector Bug 708901 - Migrate to nsTHashSet in layout. r=emilio 2021-03-24 17:56:46 +00:00
ipc Bug 1645528 - Connect nsRefreshDrivers in content processes with a widget-local vsync source r=mattwoodrow,emilio 2020-12-02 09:47:53 +00:00
mathml Bug 1702676 - Change public LookAndFeel API to accept a color scheme. r=mstange 2021-04-02 12:22:14 +00:00
media Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
painting Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel 2021-05-05 09:41:24 +00:00
printing Bug 1675965, do not store file name in preference value for save to pdf printers r=emilio 2021-04-29 17:42:54 +00:00
reftests Bug 1708959 - Fix linear gradient clipping in the fast path. r=gfx-reviewers,gw 2021-05-05 21:24:15 +00:00
style Bug 1680387 - Fix interaction with src-set() / image-set(), and enable the feature by default. r=tnikkel 2021-05-05 09:41:24 +00:00
svg Bug 1706542: Add a short executeSoon delay to test_filter_crossorigin.html, as a possible workaround/diagnostic. r=emilio 2021-05-05 21:23:47 +00:00
tables Bug 1702676 - Change public LookAndFeel API to accept a color scheme. r=mstange 2021-04-02 12:22:14 +00:00
tools Bug 1692067 - Add a ThreadSanitizer field to reftest manifest. r=decoder 2021-05-05 18:20:33 +00:00
xul Bug 1680387 - Apply intrinsic image resolution as appropriate in layout/style/dom, and update test expectations. r=tnikkel 2021-05-05 09:41:24 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00