mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
5bc00870a9
content. Add some first-letter tests, and a few assertions. Bug 367650, r+sr=roc
21 lines
324 B
HTML
21 lines
324 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].firstChild.data = "This is text";
|
|
</script>
|
|
</body>
|
|
</html>
|