webkit-user-modify-01.html (813B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>-webkit-user-modify should be unsupported in author origin</title> 4 <link rel="help" href="https://developer.mozilla.org/en-US/docs/Web/CSS/user-modify"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <style> 8 #modified { 9 -webkit-user-modify: read-write-plaintext-only; 10 } 11 </style> 12 <div id="inherited"></div> 13 <div id="modified"></div> 14 <script> 15 test(function() { 16 for (const el of [inherited, modified]) { 17 assert_equals(el.style.WebkitUserModify, undefined); 18 assert_equals(el.style.webkitUserModify, undefined); 19 assert_equals(getComputedStyle(el).getPropertyValue('-webkit-user-modify'), ''); 20 } 21 }, '-webkit-user-modify is not supported'); 22 </script>