Automatic update from web-platform-tests Migrate css-content generated-content crashtests to wpt Moves 3 crash tests from fast/dynamic/ to external/wpt/css/css-content/crashtests/ (new directory): - crash-generated-text.html → generated-text.html - crash-generated-quote.html → generated-quote.html - crash-generated-counter.html → generated-counter.html Bug: 485677942 Change-Id: Ic456b5919e47a00ce70aad801f20f8c21b15138d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8029795 Commit-Queue: Sharon Yang <yangsharon@igalia.com> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/main@{#1657202} -- wpt-commits: 428dad3036873d3f071a1e830369b951dda00d13 wpt-pr: 61070
19 lines
415 B
HTML
19 lines
415 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>Generated counter content in ::before should not crash layout</title>
|
|
<link rel="help" href="https://bugs.webkit.org/show_bug.cgi?id=61411">
|
|
<style>
|
|
div::before {
|
|
counter-reset: foobar;
|
|
content: counter(foobar, upper-roman);
|
|
display: block;
|
|
overflow: hidden;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
<div></div>
|
|
<script>
|
|
document.body.offsetTop;
|
|
</script>
|