~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/layout/html/tests/block/bugs/14363.html

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<title>vertical_align_texttop.html</title>
 
5
<style type="text/css">
 
6
        .one {
 
7
                font-size: 30pt
 
8
}
 
9
        .two {
 
10
                vertical-align: text-top; font-size: 12pt
 
11
}
 
12
        </style>
 
13
</head>
 
14
<body>
 
15
<p>Text-top aligns the top of the box with the top of the parent element's font. In the example below, the top of the box (the b's) should align with the top of the parent element's font (sentence). However, the sentence displays a little low.</p>
 
16
<p class="one"><span class="two">bbbbbbbbbbbbbbb</span>Top of the b should align with the top of this sentence's font.</span>
 
17
</p>
 
18
</body>
 
19
</html>
 
20
 
 
21
 
 
22
 
 
23