mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
20 lines
339 B
HTML
20 lines
339 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<style>
|
||
|
div { color: black; }
|
||
|
div::first-letter { color: green; }
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div>
|
||
|
<span></span>
|
||
|
</div>
|
||
|
<script>
|
||
|
document.body.offsetWidth;
|
||
|
document.getElementsByTagName("span")[0].
|
||
|
appendChild(document.createTextNode("This is text"));
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|