Bug 712130 - Add reftest in case autofocus element is seen after PresShell init. r=bz

MozReview-Commit-ID: 75IKOqiqBhL

--HG--
extra : rebase_source : ec679c6f6b6c48aa88dd6c5fa6b6970e6cfa1314
This commit is contained in:
decltype 2018-01-10 19:07:21 +01:00
parent a5892fdff0
commit 5269d4159c
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<!DOCTYPE html>
<html class="reftest-wait">
<input type="text" autofocus="" onfocus="document.documentElement.removeAttribute('class')">

View File

@ -0,0 +1,4 @@
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="stylesheet" href="nothing"><!-- Empty stylesheet to delay PresShell init -->
<input type="text" autofocus="" onfocus="document.documentElement.removeAttribute('class')">

View File

@ -1708,6 +1708,7 @@ needs-focus == 703186-2.html 703186-2-ref.html
needs-focus != 703186-1.html 703186-2.html
== 711359-1.html 711359-1-ref.html
fuzzy-if(skiaContent,1,3) needs-focus == 712130-1.html 712130-1-ref.html
fuzzy-if(skiaContent,1,3) needs-focus == 712130-2.html 712130-2-ref.html
== 712849-1.html 712849-1-ref.html
== 713856-static.html 713856-ref.html
== 713856-dynamic.html 713856-ref.html