summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/word-spacing-inline-box-line-width-expected.html
blob: 9936c1e8e3e41a1ca6acbecb9ec45024c313d3d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<style>
#container {
    position: relative;
    width: 300px;
    height: 300px;
    border: solid 1px red;
}

#right-align-block {
    position: absolute;
    right: 0;
    word-spacing: 10px;
}
</style>
<div id="container">
  <div id="right-align-block">
    <span>AAAAA</span>
    <span style="display:inline-block">BBBBB</span>
    <span>CCCCC</span>
  </div>
</div>
This test passes if the texts are aligned right, without overflowing.