blob: 2e73f0e42b770cc1b486ba6d54a848a71ce6086d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reference Test</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
table
{
width: 400px;
}
caption
{
border-top: orange solid 6px;
color: blue;
font-size: 32px;
}
span
{
bottom: 3px;
position: relative;
}
</style>
<p>Test passes if the words "Table caption" are below a thick orange line. Test fails if, instead of a thick orange line, there is an orange rectangle with the words "Table caption" in it.
<table>
<caption><span>Table caption</span></caption>
</table>
|