summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-inline/initial-letter/Initial-letter-breaking-vlr-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-inline/initial-letter/Initial-letter-breaking-vlr-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-inline/initial-letter/Initial-letter-breaking-vlr-ref.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-inline/initial-letter/Initial-letter-breaking-vlr-ref.html b/testing/web-platform/tests/css/css-inline/initial-letter/Initial-letter-breaking-vlr-ref.html
new file mode 100644
index 0000000000..d43b2e39bf
--- /dev/null
+++ b/testing/web-platform/tests/css/css-inline/initial-letter/Initial-letter-breaking-vlr-ref.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>Tests interaction with fragmentation in vertical-lr.</title>
+<link rel="author" title="Google LLC" href="https://www.google.com/">
+<link rel="help" href="https://drafts.csswg.org/css-inline/#initial-letter-breaking">
+<meta name="flags" content="ahem">
+<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" >
+<style>
+ .sample {
+ border: solid 1px green;
+ font-family: Ahem;
+ font-size: 20px;
+ height: 230px;
+ line-height: 24px;
+ writing-mode: vertical-lr;
+ }
+
+ .float {
+ background: cyan;
+ clear: none;
+ float: left;
+ height: 50px;
+ width: 50px;
+ }
+
+ .mc {
+ columns: 2;
+ direction: ltr;
+ height: 500px;
+ writing-mode: vertical-lr;
+ }
+
+ .fake-initial-letter {
+ background: lime;
+ float: left;
+ height: 80px;
+ margin-left: 8px;
+ width: 80px;
+ }
+</style>
+</head>
+<body>
+<div class="mc">
+<div class="sample"><div class="fake-initial-letter"></div>BC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div>
+<div class="sample"><div class="fake-initial-letter"></div>BC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div>
+<div class="sample"><div class="fake-initial-letter"></div>BC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC </div>
+</div>
+</body>
+</html>