blob: 73cea13f091a767c66ff4eba956fa130cb3ea66e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/977953" />
<script type="text/javascript" src="/resources/testharness.js"></script>
<script type="text/javascript" src="/resources/testharnessreport.js"></script>
<style>
@font-face {}
</style>
<script>
test(() => {
let rule = document.styleSheets[0].cssRules[0];
rule.style.backgroundPosition = 'bottom 10px right 20px';
}, 'Do not crash when setting an invalid @font-face descriptor via CSSOM');
</script>
|