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
/
css3
/
calc
/
vertical-align.html
blob
2ec6f4421a97d771dd28a77f632f73d44aee9580
1
<!DOCTYPE
HTML
>
2
<style>
3
.aligntest {
4
line-height:
16
px;
5
vertical-align: calc(
25
% +
5
px);
6
}
7
</style>
8
<hr/>
9
<span
class
=
"aligntest"
>
The first four words
</span>
in this sentence should have a line-height of
16
px; they are also (
25
%+
5
px)-aligned, which should raise them
9
px relative to the natural baseline.
10
<hr/>