OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>The '-internal-quirk-inherit' CSS value is only exposed to UA stylesheets
</title> |
| 3 <script src="../../resources/testharness.js"></script> |
| 4 <script src="../../resources/testharnessreport.js"></script> |
| 5 <style> |
| 6 #t1 { |
| 7 color: blue; |
| 8 color: -internal-quirk-inherit; |
| 9 } |
| 10 </style> |
| 11 <table id="t1"></table> |
| 12 <table style="color: -internal-quirk-inherit"></table> |
| 13 <script> |
| 14 test(function() { |
| 15 var tables = document.querySelectorAll('table'); |
| 16 assert_equals(getComputedStyle(tables[0]).color, 'rgb(0, 0, 255)'); |
| 17 assert_equals(tables[1].style.color, ''); |
| 18 }); |
| 19 </script> |
OLD | NEW |