Bug 1322634 - Add a reftest to make sure userContent.css will not break again. r=dholbert
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Thu, 15 Dec 2016 21:58:55 +0900
changeset 371004 d70bb3fba851c9f2898bc359cb975d33e309072e
parent 371003 10c60fcb8aafc7d07c628958add4ffcebc753fc6
child 371005 5a5d50943bbc5f5eeb7929492a728ee3320778d1
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1322634
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1322634 - Add a reftest to make sure userContent.css will not break again. r=dholbert MozReview-Commit-ID: ItkknK9NLu
layout/reftests/reftest.list
layout/reftests/usercss/reftest.list
layout/reftests/usercss/usercss-ref.html
layout/reftests/usercss/usercss.html
--- a/layout/reftests/reftest.list
+++ b/layout/reftests/reftest.list
@@ -360,16 +360,19 @@ include ../../toolkit/content/tests/reft
 include transform/reftest.list
 
 # 3d transforms
 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
 include web-animations/reftest.list
 
 # webcomponents/
 include webcomponents/reftest.list
 
new file mode 100644
--- /dev/null
+++ b/layout/reftests/usercss/reftest.list
@@ -0,0 +1,1 @@
+== usercss.html usercss-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/usercss/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>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/usercss/usercss.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>