Skip to content

Commit

Permalink
Bug 1410028: Add reftest. r=me
Browse files Browse the repository at this point in the history
Not in WPT because w3c/csswg-drafts#1898 is not
resolved yet.

MozReview-Commit-ID: HRM7AcMcJVd

UltraBlame original commit: d0896f475d15c65a5fe4afcf86c0e42713100952
  • Loading branch information
marco-c committed Oct 2, 2019
1 parent 2bcf438 commit 9d4617d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 2 additions & 0 deletions layout/reftests/bugs/1410028-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!doctype html>
<div style="background-color: blue; width: 100px; height: 100px; padding: 10px"></div>
17 changes: 17 additions & 0 deletions layout/reftests/bugs/1410028.html
Original file line number Diff line number Diff line change
@@ -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>
3 changes: 2 additions & 1 deletion layout/reftests/bugs/reftest.list
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ fuzzy-if(skiaContent,1,5) == 482659-1d.html 482659-1-ref.html
== 486052-2f.html 486052-2-ref.html
== 486052-2g.html 486052-2-ref.html
== 486065-1.html 486065-1-ref.html
== 486848-1.xul 486848-1-ref.xul
skip-if(stylo||styloVsGecko) == 486848-1.xul 486848-1-ref.xul # bug 1408293
== 487539-1.html about:blank
== 488390-1.html 488390-1-ref.html
== 488649-1.html 488649-1-ref.html
Expand Down Expand Up @@ -2046,3 +2046,4 @@ needs-focus != 1377447-1.html 1377447-2.html
== 1404057.html 1404057-ref.html
!= 1404057.html 1404057-noref.html
== 1406183-1.html 1406183-1-ref.html
== 1410028.html 1410028-ref.html

0 comments on commit 9d4617d

Please sign in to comment.