diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-024-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-024-ref.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-024-ref.html b/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-024-ref.html new file mode 100644 index 0000000000..d4820a1b48 --- /dev/null +++ b/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-024-ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Reference</title> +<style> +.clamp { + display: inline-block; + overflow: hidden; + font: 16px / 32px monospace; + white-space: pre; + padding: 0 4px; + background-color: yellow; +} +</style> +Before <div class="clamp">Line 1 +Line 2 +Line …</div> After</div> +<p>Following content.</p> |