473,401 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

CSS 2.1 "Rendered Content"

Hi,

I'm trying to make sense of the definition for "Rendered Content" in
current CR for CSS 2.1
>Content
The content associated with an element in the source document. Some elements have no >content, in which case they are called empty. The content of an element may include text, and it >may include a number of sub-elements, in which case the element is called the parent of those >sub-elements.
>Rendered content
The content of an element after the rendering that applies to it according to the relevant style >sheets has been applied. The rendered content of a replaced element comes from outside the >source document. Rendered content may also be alternate text for an element (e.g., the value of >the XHTML "alt" attribute), and may include items inserted implicitly or explicitly by the style >sheet, such as bullets, numbering, etc.
Is rendered content what is displayed on the particular media or
device? from the definitions, I got the impression that the rendered
content is referring to the source document and not the particular
media or device where the document is displayed

The definition of "Content" uses the word content inside itself, ...
getting a bit confused

Jan 8 '07 #1
1 2262
da******@hotmail.com wrote:
Hi,

I'm trying to make sense of the definition for "Rendered Content" in
current CR for CSS 2.1
[snip]
Is rendered content what is displayed on the particular media or
device? from the definitions, I got the impression that the rendered
content is referring to the source document and not the particular
media or device where the document is displayed
The distinction being drawn is this: The "content" of an HTML element is
everything that appears between the element's tags (assuming the tags
appear explicitly in the code, or where they would be if they're
optional and aren't used).

<p>This is a <em>sentence</em>.</p>

The content of the P element denoted by the P tags is

This is a <em>sentence</em>.

The content of the EM element denoted by the EM tags is

sentence

"Rendered content" is whatever is displayed in a device. In a visual
browser the rendered content of the first line of HTML above is the
sentence "This is a sentence." with the word "sentence" probably
italicized, depending on the browser and on any style information that
my override the default rendering for EM.

In the case, for example, of an IMG tag:

<img src="attention.gif" width="50" height="40" alt="Warning!">

the content is empty--the IMG element never has content (and no end tag
in non-XML HTML; in XHTML, the tag is made self-closing with a slash at
the end). The rendered content of the IMG in a typical graphical browser
like IE or Firefox or Safari in their default configuration is the image
itself, occupying the space indicated by the dimensions and as may also
be determined by any applicable stylesheet rules. In these same browsers
with images turned off, or in a text-based browser, the rendered content
is the text "Warning!".
Jan 10 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Justin | last post by:
I have a program that downloads files from the web. There are instances in which a .info() will not return a "Content-length" header to me. Is ther a way to specifically request this header or...
10
by: Blue® | last post by:
I would like to call the content of content.htm (containing only HTML codes) into index.htm. This is usually done by renaming index.htm to index.shtml and use this tag: <!--#include...
10
by: Michael Strorm | last post by:
Hi! I've been having problems with a DTD. Having had the Sun XML validator reject a document, I put it through 'xmllint' for more information. 'Xmllint' noted a problem with the DTD itself;...
0
by: J.Edwards | last post by:
I'm getting this error when trying to use a control built in VS 2003 (1.1) in a new asp project in VS 2005. "Content controls can only be used in a content page" The control has always worked...
1
by: Henry Law | last post by:
(I posted this to comp.infosystems.www.browsers.misc but there seems to be very little traffic there. I can't see another suitable group; is it on topic here? If not, any suggestions as to...
1
by: Dave | last post by:
Hi, I installed asp.net 2.0 and everything worked good. Now i made some changes in my system (stopping services for speeding up ..) and the result was that IIS did'nt start anymore. I...
11
by: Trapulo | last post by:
I've this statement in my output's creation: Response.Clear() Response.ContentType = "application/vnd.google-earth.kml+xml kml" Response.AddHeader("Content-Disposition", "inline;...
0
by: Kevin Frey | last post by:
We have a data-centric application where all of the "layout" for each data centric page is to be codified (ie. it is expressed in C# code rather than being expressed declaratively). This...
3
by: Alexander Smirnov | last post by:
I'm developing asp.net 2 web application and need to make a custom http handler which sometime must send response with "204 No Content" code. I set HttpResponse.Status="204 No Content"; But asp...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.