mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-08-16 08:29:02 +00:00
27 lines
386 B
HTML
27 lines
386 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<style type="text/css">
|
||
|
|
||
|
#tablecell {
|
||
|
display: table-cell;
|
||
|
}
|
||
|
.border { border: 1px solid blue; }
|
||
|
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<span class="border">
|
||
|
<span id="tablecell">x</span>
|
||
|
</span>
|
||
|
|
||
|
<script>
|
||
|
|
||
|
document.body.offsetWidth;
|
||
|
document.getElementById("tablecell").removeAttribute("id");
|
||
|
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|