diff options
Diffstat (limited to 'layout/reftests/bugs/1410028.html')
-rw-r--r-- | layout/reftests/bugs/1410028.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1410028.html b/layout/reftests/bugs/1410028.html new file mode 100644 index 0000000000..6bbf137182 --- /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> |