зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e7f5c5bec1
Коммит
8cb8860cb2
|
@ -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>
|
Загрузка…
Ссылка в новой задаче