mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
1a7f1a4dbf
The regressing bug made RepaintSelectionRunner do nothing for any nsISelectionListener that wasn't a PresShell. Differential Revision: https://phabricator.services.mozilla.com/D2846 --HG-- extra : moz-landing-system : lando
24 lines
491 B
HTML
24 lines
491 B
HTML
<!doctype html>
|
|
<html class="reftest-wait">
|
|
<style>
|
|
input {
|
|
border: 0;
|
|
}
|
|
</style>
|
|
<label id="fooLabel" for="foo">Foo label</label>
|
|
<input id="foo" type="text" value="foo" >
|
|
<label id="barLabel" for="bar">Bar label</label>
|
|
<input id="bar" type="text" value="bar">
|
|
<script>
|
|
onload = function() {
|
|
fooLabel.click();
|
|
requestAnimationFrame(() => {
|
|
barLabel.click();
|
|
requestAnimationFrame(() => {
|
|
document.documentElement.className = "";
|
|
});
|
|
});
|
|
}
|
|
</script>
|
|
</html>
|