mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +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>
|