diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-038-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-038-ref.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-038-ref.html b/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-038-ref.html new file mode 100644 index 0000000000..bd8db762dd --- /dev/null +++ b/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-038-ref.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<style> +.clamp { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + font: 16px / 32px serif; + background-color: yellow; + overflow: hidden; +} +</style> +<div class="clamp"> + <div> + Line 1<br>Line 2<br>Line 3<br>Line 4<br>Line 5 + </div> +</div> |