diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/first-line-replaced-001.html')
-rw-r--r-- | testing/web-platform/tests/css/css-pseudo/first-line-replaced-001.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/first-line-replaced-001.html b/testing/web-platform/tests/css/css-pseudo/first-line-replaced-001.html new file mode 100644 index 0000000000..453c55e4a7 --- /dev/null +++ b/testing/web-platform/tests/css/css-pseudo/first-line-replaced-001.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<link rel="match" href="first-line-replaced-001-ref.html"> +<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-styling"> +<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> +<style> +.inner { + display: inline-block; + margin: 10px; +} +*::first-line { visibility: visible; } +</style> +<body> + <div>A<span class=inner></span>C</div> +</body> |