gecko-dev/testing
L. David Baron 552f835723 Bug 1479859 patch 2 - Send nsChangeHint_UpdateContainingBlock when containing block-ness changes due to one property change, while another property that might trigger containing block-ness doesn't do so because of the frame type. r=emilio
This fixes a rather subtle bug.  What the underlying code here is trying
to do is remove nsChangeHint_UpdateContainingBlock when some properties
that influence whether a frame is a containing block for absolutely
positioned or fixed positioned elements have changed, but the final
calculation of being a containing block has not changed.  However, the
old code was using a function that tested whether the style could
*possibly* lead to a frame being a containing block.  Some of the
properties (like the transform properties) that lead to being a
containing block, for example, don't apply to non-replaced inlines.
Some, however, do (such as 'filter').  So if there's a dynamic change
adding or removing a filter, on an inline that also has an *ignored*
transform property (like 'transform' or 'perspective') set, then the
code prior to this patch causes us to remove the UpdateContainingBlock
hint.

This patch fixes things by testing whether being a containing block
could have changed for *any* type of frame, by separately testing the
changes.

The added tests fail without the patch and pass with the patch, viewed
in isolation.  However, without the previous patch, test 003 passes.

Test 003 also fails in Chrome (but 001 and 002 pass).

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

--HG--
extra : rebase_source : 0a5dbb15a058cf4a43d989bf53f042c5b718e24d
2018-08-07 15:02:07 -07:00
..
awsy Bug 1474208: Use median of all process values for AWSY base content. r=erahm 2018-07-08 11:50:46 -07:00
config Backed out 2 changesets (bug 1473648, bug 1476661) for mochitest failure on testing/mochitest/tests/python/test_basic_mochitest_plain.py 2018-08-01 16:01:05 +03:00
crashtest
firefox-ui Bug 1480612: Test Register Application Restart more thoroughly. r=whimboo 2018-08-06 14:40:00 -07:00
geckodriver Bug 1470659 - Add setWindowRect capability to geckodriver. r=automatedtester 2018-08-01 18:31:25 +01:00
gtest Bug 1468547 - Re-factor gtest mach command to not invoke make when not necessary. r=mshal 2018-07-09 14:28:59 -07:00
jsshell Bug 1472804 - Add SunSpider as a jsshell-bench test r=jmaher 2018-08-03 07:19:15 +00:00
marionette Bug 1473614 - Expose API docs for MessageManagerDestroyedPromise and Sleep. r=automatedtester 2018-08-07 18:06:30 +01:00
mochitest Bug 1481021: Part 2 - Stop loading SpecialPowers into frame script scopes. r=bz,jmaher,aswan 2018-08-07 14:03:21 -07:00
modules Bug 1478305 - Remove unnecessary ChromeUtils.import calls in testing/. r=mossop 2018-07-30 10:40:22 +01:00
mozbase Bug 733530: Use .tar.gz for test archives r=gps 2018-08-01 16:00:03 +00:00
mozharness Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-08 00:58:40 +03:00
profiles Bug 1478208 - Implement HTMLMediaElement.allowedToPlay. r=alwu,bz 2018-07-25 14:25:17 +12:00
raptor Bug 1481037 - Update StyleBench. r=jmaher 2018-08-07 15:31:47 +00:00
runtimes Bug 1474414 - Move most of browser/extensions/activity-stream to browser/components/newtab r=Mardak 2018-07-26 20:50:49 -07:00
specialpowers Bug 1481021: Part 2 - Stop loading SpecialPowers into frame script scopes. r=bz,jmaher,aswan 2018-08-07 14:03:21 -07:00
talos Merge inbound to mozilla-central. a=merge 2018-08-08 00:51:43 +03:00
tools Backed out changeset 5950c9d63c3b (bug 1090497) for build bustages on several files. CLOSED TREE 2018-08-02 19:59:53 +03:00
tps Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE 2018-07-12 21:22:32 +03:00
web-platform Bug 1479859 patch 2 - Send nsChangeHint_UpdateContainingBlock when containing block-ness changes due to one property change, while another property that might trigger containing block-ness doesn't do so because of the frame type. r=emilio 2018-08-07 15:02:07 -07:00
webdriver Bug 1470659 - Add setWindowRect capability to geckodriver. r=automatedtester 2018-08-01 18:31:25 +01:00
xpcshell Bug 733530: Use .tar.gz for test archives r=gps 2018-08-01 16:00:03 +00:00
cppunittest.ini
mach_commands.py Bug 1469720 - Add a 'mach test-info' subcommand to find long-running tasks; r=jmaher 2018-08-07 10:05:37 -06:00
moz.build
README.txt
remotecppunittests.py Bug 1477807 - Distinguish ADBTimeoutErrors from other exceptions in Android remote tests, r=gbrown. 2018-07-27 08:27:16 -07:00
runcppunittests.py
testsuite-targets.mk Bug 733530: Use .tar.gz for test archives r=gps 2018-08-01 16:00:03 +00:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff