mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Avoid Window::GetComputedStyle
when checking for display: none
This commit is contained in:
parent
1d8e78720b
commit
8d09398230
5 changed files with 10 additions and 19 deletions
|
@ -72327,7 +72327,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"mozilla/transitionend_safety.html": [
|
||||
"778e43b049aa421bad7f86eb03d0955576a84ce0",
|
||||
"16d238e94b2cc2843c9aee4210db43d496bb3114",
|
||||
"testharness"
|
||||
],
|
||||
"mozilla/union.html": [
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
elem.textContent = 'hi there';
|
||||
elem.style.transition = 'color 10ms';
|
||||
elem.style.color = 'black';
|
||||
elem.ontransitionend = t.step_func_done();
|
||||
|
||||
t.step_timeout(function() {
|
||||
elem.style.color = 'red';
|
||||
|
@ -20,6 +19,7 @@
|
|||
document.body.removeChild(elem);
|
||||
elem = null;
|
||||
window.gc();
|
||||
t.step_timeout(t.step_func_done(), 100);
|
||||
}, 0);
|
||||
}, 0);
|
||||
}, 'Nodes cannot be GCed while a CSS transition is in effect.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue