mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
16 lines
276 B
HTML
16 lines
276 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
#it { display: inline-table; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>a<span id="it">b</span>d</p>
|
|
<script>
|
|
document.body.offsetWidth;
|
|
document.getElementById("it").appendChild(document.createTextNode("c"));
|
|
</script>
|
|
</body>
|
|
</html>
|