diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/bugs/539880-1-dynamic.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/bugs/539880-1-dynamic.html')
-rw-r--r-- | layout/reftests/bugs/539880-1-dynamic.html | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/layout/reftests/bugs/539880-1-dynamic.html b/layout/reftests/bugs/539880-1-dynamic.html new file mode 100644 index 000000000..ea1efef31 --- /dev/null +++ b/layout/reftests/bugs/539880-1-dynamic.html @@ -0,0 +1,58 @@ +<html> +<body> + +<table cellpadding="10"> + <tr> + <th>0</th> + <td><table cellpadding="4" border="7"><tr><td>border="0"</td></tr></table></td> + <td><table cellpadding="4" border="7"><tr><td>border="0px"</td></tr></table></td> + <td><table cellpadding="4" border="7"><tr><td>border="0em"</td></tr></table></td> + </tr> + <tr> + <th>1</th> + <td><table cellpadding="4" border="0"><tr><td>border="1"</td></tr></table></td> + <td><table cellpadding="4" border="0"><tr><td>border="1px"</td></tr></table></td> + <td><table cellpadding="4" border="0"><tr><td>border="1em"</td></tr></table></td> + </tr> + <tr> + <th>2</th> + <td><table cellpadding="4" border="3em"><tr><td>border="2"</td></tr></table></td> + <td><table cellpadding="4" border="3em"><tr><td>border="2px"</td></tr></table></td> + <td><table cellpadding="4" border="3em"><tr><td>border="2em"</td></tr></table></td> + </tr> + <tr> + <th>3</th> + <td><table cellpadding="4" border="0em"><tr><td>border="3"</td></tr></table></td> + <td><table cellpadding="4" border="0em"><tr><td>border="3px"</td></tr></table></td> + <td><table cellpadding="4" border="0em"><tr><td>border="3em"</td></tr></table></td> + </tr> + <tr> + <th>10</th> + <td><table cellpadding="4" border="0foo"><tr><td>border="10"</td></tr></table></td> + <td><table cellpadding="4" border="0foo"><tr><td>border="10px"</td></tr></table></td> + <td><table cellpadding="4" border="0foo"><tr><td>border="10em"</td></tr></table></td> + </tr> +</table> + +<script> + +var tables = document.getElementsByTagName("table"); +var values = [ null, "0", "0px", "0em", "1", "1px", "1em", + "2", "2px", "2em", "3", "3px", "3em", "10", "10px", "10em" ]; +if (tables.length == values.length) { + for (var i in values) { + var table = tables[i]; + var value = values[i]; + if (value != null) { + // flush + getComputedStyle(table.firstChild.firstChild.firstChild, "").borderWidth; + + table.setAttribute("border", value); + } + } +} + +</script> + +</body> +</html> |