Bug 1322634 - Add a reftest to make sure userContent.css will not break again. r=dholbert

MozReview-Commit-ID: ItkknK9NLu

--HG--
extra : rebase_source : fee6392dcbbc78c088ed89d6829fcdf3d81f6c02
This commit is contained in:
Masatoshi Kimura 2016-12-15 21:58:55 +09:00
Родитель e7f5c5bec1
Коммит 8cb8860cb2
4 изменённых файлов: 24 добавлений и 0 удалений

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

@ -365,6 +365,9 @@ include transform-3d/reftest.list
# unicode/ (verify that we don't do expend effort doing unicode-aware case checks)
include unicode/reftest.list
# usercss
include usercss/reftest.list
include view-source/reftest.list
# web-animations

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

@ -0,0 +1 @@
== usercss.html usercss-ref.html

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

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<style>p { background-color: lime; }</style>
</head>
<body>
<p>This paragraph should have a green background.</p>
<p>This paragraph should have a green background, too.</p>
</body>
</html>

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

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style>p { background-color: red; }</style>
</head>
<body>
<p class="reftest-usercss">This paragraph should have a green background.</p>
<p class="reftest-userxbl">This paragraph should have a green background, too.</p>
</body>
</html>