Bug 1328509 - Add visited pseudo crashtests. r=emilio

Rename and duplicate a crashtest to better cover each variation of a single
:link or single :visited style on a pseudo-element.

MozReview-Commit-ID: JMFXD7nk9fH
This commit is contained in:
J. Ryan Stinnett 2017-05-22 15:06:52 -05:00
parent e1b39c2e80
commit 226671a98b
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,4 @@
<!DOCTYPE HTML>
<title>crashtest for NS_ABORT_IF_FALSE during development of 147777</title>
<style type="text/css">
:link::before { content: "link: " }
</style>

View File

@ -0,0 +1,5 @@
<!DOCTYPE HTML>
<style type="text/css">
:visited::before { content: "link: " }
</style>
<a href="http://www.example.com/">example</a>

View File

@ -1,5 +1,4 @@
load 105619-1.html
load 147777-1.html
load 187671-1.html
load 192408-1.html
load 285727-1.html
@ -172,3 +171,5 @@ HTTP load 1333001-1.html
pref(dom.animations-api.core.enabled,true) load 1340344.html
load 1342316-1.html
load 1356601-1.html
load content-only-on-link-before.html
load content-only-on-visited-before.html