473,661 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2273
da******@hotmai l.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
3106
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 FORCE it to be sent? I know there is some way to get the file size for these files because Internet Explorer is capable of determining the size on a cut / paste of the same exact url.
10
3394
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 file="content.htm" --> But I do not want to use SSI. Is it possible to call it using something like:
10
7151
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; "validity error : Content model of section is not determinist: (text , (list , text)* , list?)" Here's a very simplified version of the DTD demonstrating the problem:-
0
1630
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 ok in 2003, and I've not seen this error before so does anyone know what it could be? Can't find anything on the web about it.
1
1759
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 where?) I'm coding an application which serves out files for download via HTTP. I can provide the file name thus Content-Disposition:attachment;filename="somename.dat" I read in RFC2183 that I should be able to supply the modification date
1
1031
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 reinstalled it and the HTML and classic ASP pages are rendered, but not the ASPX files: the error is: "xml-page cannot be rendered ..." "name starts with wrong token ..." <%@ Page Language="VB" debug ....
11
15086
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; filename=Log_" & activityLogID & ".kml") The strage is that on my development server all works (IE try to open the
0
1554
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 codification subsequently produces the required web-controls for a page based on whether the page is eg. in view or update mode, examination of the user's security permissions for certain fields, etc. In VS2003 our "Page Master" (to use the VS2005 term)...
3
7048
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 automatically adds headers such as "Content-Length: 0". This causes an error on the client. HttpResponse.ClearHeaders() doesn't help. How to make asp not to add headers (especially Content- Length)? Thanks in advance.
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8542
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7362
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1740
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.