blob: ebd5f6e3637e615b2e654133b3e88ad46b48ab41 [file] [edit]
<!DOCTYPE html>
<meta charset="utf-8">
<title>Generated text content in ::before should not crash layout</title>
<link rel="help" href="https://bugs.webkit.org/show_bug.cgi?id=61411">
<style>
div::before {
content: 'PASS';
display: block;
overflow: hidden;
width: 100px;
height: 100px;
}
</style>
<div></div>
<script>
document.body.offsetTop;
</script>