[Bug 13079] New: Having a relatively simple code: <table cellpadding=0 cellspacing=0 align="center" border=0 width=0954> <tr><td><table cellpadding=0 cellspacing=0 align="center" width=100% border=0> <tr> <td width=100% colspan="3" height=2 class="MNinner_line"><img src="

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13079

           Summary: Having a relatively simple code: <table cellpadding=0
                    cellspacing=0 align="center" border=0 width=0954>
                    <tr><td><table cellpadding=0 cellspacing=0
                    align="center" width=100% border=0> <tr> <td
                    width=100% colspan="3" height=2
                    class="MNinner_line"><img src="
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification: http://dev.w3.org/html5/spec/Overview.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Having a relatively simple code:
<table cellpadding=0 cellspacing=0 align="center" border=0 width=0954>
    <tr><td><table cellpadding=0 cellspacing=0 align="center" width=100%
border=0>
        <tr>
            <td width=100% colspan="3" height=2
class="MNinner_line"><img src="/Aspacer.gif" width=100% height=2></td>
        </tr>
        <tr>

            <td width=12% >&nbsp;</td>
            <td width=76% align="center"><b>Title</b></td>
            <td width=12% >&nbsp;</td>
        </tr>
        <tr>
            <td width=100% colspan="3" height=2
class="MNinner_line"><img src="/Aspacer.gif" width=100% height=2></td>
        </tr>

we are experiencing a rather perplexing problem. When we set the doctype to
html 5 (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5 Transitional//EN"
"http://www.w3.org/TR/html5/loose.dtd">), the background of the rows, with
css-class set to MNinner_line, stretches far beyond the specified height. This
is true for at least FireFox (v4), IE(v9) and Opera(v11.10).
Also, the problem disappears when we change doctype from html 5 to html 4.01.

The class MNinner_line is declared thus:
TD.MNinner_line { background-color:#244c81; }

Posted from: 217.13.17.134
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101
Firefox/5.0

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 28 June 2011 12:06:36 UTC