mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +02:00
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
19 lines
689 B
HTML
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>
|