This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8838 - <th> default align rendered incorrectly
Summary: <th> default align rendered incorrectly
Status: NEW
Alias: None
Product: Amaya
Classification: Unclassified
Component: Misc (show other bugs)
Version: 11.3.1
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Vatton
QA Contact: Vatton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 14:14 UTC by chris cheney
Modified: 2010-01-29 14:14 UTC (History)
5 users (show)

See Also:


Attachments

Description chris cheney 2010-01-29 14:14:47 UTC
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  <title>New</title>
  <meta name="generator" content="Amaya, see http://www.w3.org/Amaya/" />
</head>
<table summary="a">
<tr><th>a</th><th>b</th></tr>
<tr><td>1234567890</td><td>1234567890</td></tr>
</table>
<body>
</body>
</html>

is rendered aligned left but should be centred, see e.g. http://www.w3.org/TR/html401/struct/tables.html#h-11.2.6 section 11.3.2:

"Attribute definitions

align = left|center|right|justify|char [CI]
    This attribute specifies the alignment of data and the justification of text in a cell. Possible values:

        * left: Left-flush data/Left-justify text. This is the default value for table data.
        * center: Center data/Center-justify text. This is the default value for table headers.
..."