Closed Bug 15943 Opened 25 years ago Closed 25 years ago

table background repeats every cell when it shouldn't

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: blackhand, Assigned: karnaze)

References

Details

I may be wrong but this is the way that logically it should render.

test 1: the background should start over each cell
test 2: the background should start over each row, but not each cell
test 3: the background should start over at the end of the image
test 4: same as test 3

Right now the background stars over each cell on test 1, 2 and 3.
Test 4 works as expected. (Note: test 4 starts over every cell in all versions
of Netscape 4.xx including 4.70)

------------------------------------test 1--------------------------
      <table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="bg.gif">test data</td>
          <td background="bg.gif">test data</td>
        </tr>
      </table>
------------------------------------test 2--------------------------
      <table border="0" cellspacing="0" cellpadding="0">
        <tr background="bg.gif">
          <td>test data</td>
          <td>test data</td>
        </tr>
      </table>
------------------------------------test 3--------------------------
      <table border="0" cellspacing="0" cellpadding="0" background="bg.gif">
        <tr>
          <td>test data</td>
          <td>test data</td>
        </tr>
      </table>
------------------------------------test 4--------------------------
      <table cellspacing="0" cellpadding="0" background="bg.gif">
        <tr>
          <td>
            <table cellspacing="0" cellpadding="0">
              <tr>
                <td>test data</td>
                <td>test data</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
--------------------------------------------------------------------
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
The behavior that you want is possible in Standard mode (which may only be
available right now in viewer.exe not apprunner.exe). The behavior you are
complaining about is NavQuirks which is the default. I'm marking this invalid.
Status: RESOLVED → VERIFIED
Made up a new test case, with a different color for each background to view more
closely. 5.0 defaults to NavQuirks mode and renders the same as Nav. If you
revise the test case to include the 'strict' doctype (<!doctype HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">), then you can see the behavior in 'standard' mode
which renders the tables to code.

Agree with resolution. Verifying bug invalid.
*** Bug 49609 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.