Bug 1410028 - Add reftest. r=me, a=ritu
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 25 Oct 2017 22:14:37 +0200
changeset 432778 c11525bd0ab2150a9f9ea82d851a4208d66f5ca5
parent 432777 213357b2f20dbb7870d78d8c560f79ebba0a4c2d
child 432779 7d28b5b2217d909d2ea1b820f23112531d1cdf83
push id8056
push userryanvm@gmail.com
push dateThu, 26 Oct 2017 15:24:01 +0000
treeherdermozilla-beta@5f5a87b79586 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, ritu
bugs1410028
milestone57.0
Bug 1410028 - Add reftest. r=me, a=ritu Not in WPT because https://github.com/w3c/csswg-drafts/issues/1898 is not resolved yet. MozReview-Commit-ID: HRM7AcMcJVd
layout/reftests/bugs/1410028-ref.html
layout/reftests/bugs/1410028.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1410028-ref.html
@@ -0,0 +1,2 @@
+<!doctype html>
+<div style="background-color: blue; width: 100px; height: 100px; padding: 10px"></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1410028.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<div></div>
+<script>
+let setStyle = (el, props) => {
+  for (prop in props)
+    el.style.setProperty(prop, props[prop]);
+};
+
+setStyle(document.querySelector('div'), {
+  all: 'initial',
+  'background-color': 'blue',
+  display: 'block',
+  width: '100px',
+  height: '100px',
+  padding: '10px'
+});
+</script>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -2042,8 +2042,9 @@ needs-focus != 1377447-1.html 1377447-2.
 == 1381821.html 1381821-ref.html
 == 1395650-1.html 1395650-1-ref.html
 == 1398500-1.html 1398500-1-ref.html
 == 1401317.html 1401317-ref.html
 == 1401992.html 1401992-ref.html
 == 1405878-1.xml 1405878-1-ref.xml
 == 1404057.html 1404057-ref.html
 != 1404057.html 1404057-noref.html
+== 1410028.html 1410028-ref.html