computed-value.html (804B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>CSS Test: initial computed value of content for elements is not none</title> 4 <link rel="help" href="https://drafts.csswg.org/css-content/#content-property"> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1605803"> 6 <link rel="author" href="https://mozilla.org" title="Mozilla"> 7 <link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script> 11 test(function() { 12 assert_equals(getComputedStyle(document.documentElement, "::before").content, "none"); 13 assert_not_equals(getComputedStyle(document.documentElement).content, "none"); 14 }, "initial computed value of content for elements is not none"); 15 </script>