W3C home > Mailing lists > Public > www-style@w3.org > January 2002

RE: Rendering question

From: RUST Randal <RRust@COVANSYS.com>
Date: Tue, 8 Jan 2002 08:27:05 -0500
Message-ID: <37925254B67DD311876C009027B0FF9201D3A5AE@cbscolex01.cbsinc.com>
To: "Css (E-mail)" <www-style@w3.org>
From the CSS2 Specification:

"if an element in the document tree has a value of 'none' for the 'display'
property, that element will generate nothing in the formatting structure"

Isn't it correct that the User Agent generates the document tree BEFORE
rendering the page on the screen?

-----Original Message-----
From: Rowland Shaw [mailto:Rowland.Shaw@crystaldecisions.com]
Sent: Tuesday, January 08, 2002 8:08 AM
To: 'RUST Randal'
Subject: RE: Rendering question

I believe the browser should skip the entire <dvi> and all it contains. It
may have been a different case had it been visibility: hidden

-----Original Message-----
From: RUST Randal [mailto:RRust@COVANSYS.com]
Sent: 08 January 2002 13:04
To: RUST Randal; Css (E-mail)
Subject: RE: Rendering question

Sorry, what I meant to say was if I had an IMAGE inside of a DIV, with the
display property of the DIV set to NONE, does the UA render the image.

-----Original Message-----
From: RUST Randal [mailto:RRust@COVANSYS.com]
Sent: Tuesday, January 08, 2002 7:58 AM
To: Css (E-mail)
Subject: Rendering question

If i set the "display" property of a <div> to "none," does the User Agent
STILL render the image?  Or does it just skip over it?

The reason for the question is that a client has requested a "text only"
version of the site, which is fine, but if I can use one page for both
versions, rather than constructing two separate sites, by simply using
Javascript to show/hide images, then that would be great.


Received on Tuesday, 8 January 2002 08:25:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:00 UTC