Re: [css3-background] Glossary

2009/6/11 fantasai <fantasai.lists@inkedblade.net>:
> Giovanni Campagna wrote:
>>
>> 2009/6/10 Anne van Kesteren <annevk@opera.com>:
>>>
>>> 1. text/xhtml+xml is not a valid media type.
>>> 2. Both XHTML document and source document are terms not used in the
>>> document and should probably be removed therefore.
>>
>> The term "XHTML document" should be used in the section 3.12.
>> In fact, the section should say "For HTML and XHTML documents whose
>> root element is an html element: if the computed value of
>> ‘background-image’ on the root element is ‘none’ and its
>> ‘background-color’ is ‘transparent’, user agents must instead
>> propagate the computed values of the background properties from that
>> element's first HTML body child element"
>> because: all HTML5 elements are lowercase (although case insensitive)
>> and because being XHTML or HTML is not a property of the element, is a
>> property of the source document.
>
> No, that's not correct. The rule should apply to arbitrary XML documents
> as well as things constructed through the DOM, etc.

Well, anyway there is no difference between "HTML HTML element" and
"XHTML html element".
You could remove any reference to XHTML could be fine and just talk
about "HTML html element" (definining it as the html element in
http://www.w3.org/1999/xhtml namespace).
You could also add "Note: This is not limited to HTML documents"

> ~fantasai
>

Giovanni

Received on Thursday, 11 June 2009 14:28:55 UTC