зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1865267 - Intermittent /css/css-contain/content-visibility/content-visibility-vs-scrollIntoView-003.html, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D197347
This commit is contained in:
Родитель
cd214fc2d8
Коммит
94628b321e
|
@ -1,6 +0,0 @@
|
|||
[content-visibility-vs-scrollIntoView-003.html]
|
||||
expected:
|
||||
if os == "linux": [OK, ERROR]
|
||||
[ContentVisibilityAutoStateChange fires twice when `scrollIntoView` a descendant of `content-visibility:auto` which is hidden after scrolling]
|
||||
expected:
|
||||
if os == "linux": [PASS, FAIL]
|
|
@ -56,12 +56,13 @@ function tick() {
|
|||
});
|
||||
}
|
||||
|
||||
promise_test(async () => {
|
||||
await tick();
|
||||
function waitForEvent() {
|
||||
return new Promise(resolve => e3.addEventListener('contentvisibilityautostatechange', resolve));
|
||||
}
|
||||
|
||||
function waitForEvent() {
|
||||
return new Promise(resolve => e3.addEventListener('contentvisibilityautostatechange', resolve));
|
||||
}
|
||||
promise_test(async (t) => {
|
||||
// Make sure the first event has fired.
|
||||
await waitForEvent();
|
||||
|
||||
var eventCounter = 0;
|
||||
function eventHandler(e) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче