Bug 1363829 P10 Make image map reftest wait for first paint before triggering focus/blur. r=dbaron

This commit is contained in:
Ben Kelly 2017-05-31 17:13:19 -07:00
Родитель e89c30f6c4
Коммит 779cb0682d
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -14,7 +14,7 @@
}
</script>
</head>
<body onload="setTimeout(init, 0);">
<body onload="requestAnimationFrame(_ => setTimeout(init, 0));">
<img src="100x80-white-rect-top-right.png" usemap="#map">
<map name="map">
<area id="link" shape="rect" coords="10,10,30,30" href="about:blank">

Просмотреть файл

@ -16,7 +16,7 @@
}
</script>
</head>
<body onload="setTimeout(init, 0);">
<body onload="requestAnimationFrame(_ => setTimeout(init, 0));">
<img src="100x80-white-rect-top-right.png" usemap="#map">
<map name="map">
<area id="link" shape="rect" coords="10,10,30,30" href="about:blank">

Просмотреть файл

@ -20,7 +20,7 @@
}
</script>
</head>
<body onload="setTimeout(init, 0);">
<body onload="requestAnimationFrame(_ => setTimeout(init, 0));">
<img src="100x80-white-rect-top-right.png" usemap="#map">
<map name="map">
<area id="link" shape="rect" coords="10,10,30,30" href="about:blank">

Просмотреть файл

@ -22,7 +22,7 @@
}
</script>
</head>
<body onload="setTimeout(init, 0);">
<body onload="requestAnimationFrame(_ => setTimeout(init, 0));">
<img src="100x80-white-rect-top-right.png" usemap="#map">
<map name="map">
<area id="link" shape="rect" coords="10,10,30,30" href="about:blank">