gecko-dev/testing/web-platform/tests/css/css-overflow/webkit-line-clamp-033.html
Rune Lillesveen f0045da32c Bug 1568534 [wpt PR 18041] - Blink cannot use about:blank as test reference., a=testonly
Automatic update from web-platform-tests
Blink cannot use about:blank as test reference.

Bug: 305376
Change-Id: I5cbd87d04852a4605507859dd39187c24e282d85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715814
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680441}

--

wpt-commits: 88ac01000adb8ab57175d5aa411d2bc7a6e88e22
wpt-pr: 18041
2019-08-05 14:49:26 +00:00

19 lines
689 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>CSS Overflow: -webkit-line-clamp with an empty line</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#webkit-line-clamp">
<link rel="match" href="/css/reference/blank.html">
<style>
.clamp {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
font: 16px / 32px serif;
white-space: pre;
background-color: yellow;
padding: 0 4px;
overflow: hidden; /* can be removed once implementations update their old -webkit-line-clamp implementations */
}
</style>
<div class="clamp"><div><span></span></div></div>