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

« back to all changes in this revision

Viewing changes to mozilla/layout/html/tests/table/bugs/bug222846.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 XHTML 1.0 Transitional//EN"
 
2
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
3
<html>
 
4
<head>
 
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
6
<title>table dom test</title>
 
7
<style type="text/css">
 
8
  table {width:200px}
 
9
table[summary="summ"] {font-size:24pt}
 
10
</style>
 
11
<script type="text/javascript">
 
12
function dom(){
 
13
var t = document.getElementById('t2');
 
14
t.summary="summ";
 
15
}
 
16
</script>
 
17
</head>
 
18
 
 
19
<body onload="dom()">
 
20
 
 
21
Both tables should look identical
 
22
 
 
23
<table id="t2" border><caption>caption</caption><tbody><tr><td>cell1</td></tr></tbody></table>
 
24
 
 
25
<table id="t2" summary="summ" border><caption>caption</caption><tbody><tr><td>cell1</td></tr></tbody></table>
 
26
 
 
27
</body>
 
28
 
 
29
</html>