summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-012-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-012-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-012-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-012-ref.html b/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-012-ref.html
new file mode 100644
index 0000000000..d28c9388ae
--- /dev/null
+++ b/testing/web-platform/tests/css/css-overflow/reference/webkit-line-clamp-012-ref.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Reference</title>
+<style>
+.clamp {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ font: 16px / 32px serif;
+ white-space: pre;
+ padding: 0 4px;
+ background-color: yellow;
+}
+.child {
+ display: flex;
+ font: 24px / 48px serif;
+ color: blue;
+}
+</style>
+<div class="clamp"><div>Line 1
+Line 2<div class="child">Line 3
+Line 4</div>Line 5…</div></div>