mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic update from web-platform-tests Add load method to protocol -- Generalise reftest-wait script to allow other test types -- Ad crashtest support to manifest -- Add crashtest support to wptrunner -- Add example test -- Rename existing -crash tests that may not work as crashtests For testharness tests the following criteria were applied: * Test includes an assert * Test includes something other than synchronous tests For reftests all existing tests were renamed -- Schedule crashtests in CI -- Add some docs for crashtests -- wpt-commits: c1954bcecd0991460d9f2b58456da8958cb97424, e8b454eebe22173569353ae3e327cd8a6951b9e0, cee68c9e85c0d3835f7e4ae3eb673f919242c881, 5a636f4de065dbd756f39b41859d378bd3609658, 14f8cfeb1458deb523f179cff1ae7b2bf12dc667, 50ae113e26987271de56826873c0a2eb43f7b515, 40113cc91c00f0cad78072d2fd51805a775df95c, 5b46ea7c4fe67113a69306afbf9c95b6ba041dbf wpt-pr: 20017 --HG-- rename : testing/web-platform/tests/css/css-contain/contain-chrome-crash-001.html => testing/web-platform/tests/css/css-contain/contain-chrome-thcrash-001.html rename : testing/web-platform/tests/css/css-images/gradient-crash.html => testing/web-platform/tests/css/css-images/gradient-refcrash.html rename : testing/web-platform/tests/css/css-images/infinite-radial-gradient-crash.html => testing/web-platform/tests/css/css-images/infinite-radial-gradient-refcrash.html rename : testing/web-platform/tests/css/css-pseudo/before-in-display-none-crash.html => testing/web-platform/tests/css/css-pseudo/before-in-display-none-thcrash.html rename : testing/web-platform/tests/css/css-pseudo/first-letter-of-html-root-crash.html => testing/web-platform/tests/css/css-pseudo/first-letter-of-html-root-refcrash.html rename : testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-crash.html => testing/web-platform/tests/css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-refcrash.html rename : testing/web-platform/tests/css/css-typed-om/set-var-reference-crash.html => testing/web-platform/tests/css/css-typed-om/set-var-reference-thcrash.html rename : testing/web-platform/tests/dom/nodes/remove-and-adopt-crash.html => testing/web-platform/tests/dom/nodes/remove-and-adopt-thcrash.html rename : testing/web-platform/tests/payment-request/payment-request-constructor-crash.https.html => testing/web-platform/tests/payment-request/payment-request-constructor-thcrash.https.html rename : testing/web-platform/tests/svg/pservers/pattern-with-invalid-base-cloned-crash.html => testing/web-platform/tests/svg/pservers/pattern-with-invalid-base-cloned-thcrash.html
19 lines
678 B
HTML
19 lines
678 B
HTML
<!doctype html>
|
|
<title>CSS Test: Invalidating style inside display:none with ::before should not crash.</title>
|
|
<link rel="help" href="https://crbug.com/1013570">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<style>
|
|
#outer { display: none }
|
|
#outer::before { content: " "; }
|
|
</style>
|
|
<div id="outer">
|
|
<div id="inner"></div>
|
|
</div>
|
|
<script>
|
|
test(() => {
|
|
assert_equals(getComputedStyle(inner).color, "rgb(0, 0, 0)");
|
|
inner.style.color = "green";
|
|
assert_equals(getComputedStyle(inner).color, "rgb(0, 128, 0)");
|
|
}, "Invalidating style inside display:none with ::before should not crash.");
|
|
</script>
|