repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
printing
/
ellipsis-printing-style.html
blob
ab9a2f3d3a9a828660804883aaee2f8d25db5ba0
1
<!DOCTYPE
html
>
2
<script
src
=
"../resources/ahem.js"
></script>
3
4
<script>
5
if
(
window
.
testRunner
)
6
testRunner
.
setPrinting
();
7
</script>
8
9
<style>
10
div {
11
font-family: Ahem;
12
background-color: black;
13
color: white;
14
height:
1.5
em;
15
width:
10.5
em;
16
overflow: hidden;
17
white-space: nowrap;
18
text-overflow: ellipsis;
19
}
20
</style>
21
22
<div>
This text should be ellipsized and the ellipsis should visible when printed.
</div>