diff options
Diffstat (limited to 'layout/reftests/bugs/386014-1b.html')
-rw-r--r-- | layout/reftests/bugs/386014-1b.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/bugs/386014-1b.html b/layout/reftests/bugs/386014-1b.html new file mode 100644 index 0000000000..5e394458c4 --- /dev/null +++ b/layout/reftests/bugs/386014-1b.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<html> +<head> +<style> + caption { color: green } +</style> +<script> +function boom() +{ + var table = document.getElementById("table"); + + var newCaption = document.createElement('caption'); + newCaption.appendChild(document.createTextNode("TEST")); + newCaption.style.background = "inherit" + table.appendChild(newCaption); + table.appendChild(document.createElement('caption')); +} +</script> + +</head> +<body onload="boom();"> + +<table id="table" style="background: green;"></table> + +</body> +</html> |