summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/377603-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/377603-1.html')
-rw-r--r--layout/reftests/bugs/377603-1.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/bugs/377603-1.html b/layout/reftests/bugs/377603-1.html
new file mode 100644
index 000000000..e45672e5e
--- /dev/null
+++ b/layout/reftests/bugs/377603-1.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <head>
+ <style>
+ table table
+ { border-collapse: collapse; border-style: solid; border-width: 10px }
+ </style>
+ </head>
+</head>
+<body>
+<table><tr>
+ <td style="border: 0px solid green; color: red">
+ <table style="border-color: inherit">
+ <tr><td></td></tr>
+ </table>
+ <table id="test">
+ <tr><td></td></tr>
+ </table>
+ <script>
+ document.body.offsetWidth;
+ document.getElementById("test").style.borderColor = "inherit";
+ </script>
+ </td>
+</tr></table>
+</body>
+</html>