summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1410028.html
blob: 6bbf1371824c62f0c2020862973fdcfde6b38885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>