Re: Page background color won't change.
- From: Ben C <spamspam@xxxxxxxxx>
- Date: Sat, 22 Mar 2008 13:28:19 -0500
On 2008-03-22, Harlan Messinger <hmessinger.removethis@xxxxxxxxxxx> wrote:
Ben C wrote:[...]
On 2008-03-21, Harlan Messinger <hmessinger.removethis@xxxxxxxxxxx> wrote:
Does it no longer care if you stick TRs directly inside TDs so that it[...]
no longer knows what the table's structure is and can no longer render
it
CSS rules define how to render something that's display: table-row
directly inside something that's display: table-cell. There's no problem
there.
I'm not talking about CSS, I'm talking about HTML. You could make the
same CSS-based excuse for having <TD><TR>...</TR></TD> in your HTML
markup.
No, because if you put that in your HTML markup that's not what you will
get in your DOM tree (in Firefox etc. or by HTML5 suggestions).
The point is, you're making a distinction between the markup and
what you do to the object model afterwards, and I'm pointing out that
whatever benefits there are to validity before continue to apply after,
Not quite all-- one of the benefits to validity is that the markup can
be processed by other programs which aren't going to run the JS.
and whatever problems are caused by invalid markup are still problems if
introduced after the initial rendering.
Valid markup is required for correct forms and links behaviour. But not
for CSS rendering. The biggest practical problem caused by invalid
markup (where forms and links aren't involved) is that the browser
patches it up producing an unpredictable DOM tree. If you create your
DOM tree with scripting, you _have_ avoided that problem, assuming
browsers don't do any patching up in that case, which they don't.
.
- Follow-Ups:
- Re: Page background color won't change.
- From: Harlan Messinger
- Re: Page background color won't change.
- References:
- Re: Page background color won't change.
- From: Eric B . Bednarz
- Re: Page background color won't change.
- From: rf
- Re: Page background color won't change.
- From: Harlan Messinger
- Re: Page background color won't change.
- From: Ben C
- Re: Page background color won't change.
- From: Chris F.A. Johnson
- Re: Page background color won't change.
- From: Ben C
- Re: Page background color won't change.
- From: Eric B . Bednarz
- Re: Page background color won't change.
- From: Ben C
- Re: Page background color won't change.
- From: Harlan Messinger
- Re: Page background color won't change.
- From: Ben C
- Re: Page background color won't change.
- From: Harlan Messinger
- Re: Page background color won't change.
- From: Ben C
- Re: Page background color won't change.
- From: Harlan Messinger
- Re: Page background color won't change.
- Prev by Date: Re: Page background color won't change.
- Next by Date: Re: Page background color won't change.
- Previous by thread: Re: Page background color won't change.
- Next by thread: Re: Page background color won't change.
- Index(es):
Relevant Pages
|