[whatwg] Partial HTML5 documents

I'm actually looking into manually editing these in an authoring
environment and this is why I want them to be valid.

The parsing section looks fine but it doesn't help in this case.


Best,
Rostislav

----------------------------------------------------------------
Asual - Open software that pushes the limits
http://www.asual.com



On Thu, Sep 9, 2010 at 7:12 PM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> On Thu, Sep 9, 2010 at 9:06 AM, Rostislav Hristov
> <rostislav.hristov at gmail.com> wrote:
>> Hello,
>>
>> I'm looking for a way to define valid partial HTML fragments that can
>> be included into other documents using a server-side language or
>> injected using AJAX. The current specification doesn't have any major
>> restrictions in this area but it always require the presence of a
>> TITLE tag which in this specific case is not needed. Does anybody have
>> an idea if the TITLE can be skipped somehow or how this whole thing
>> can be implemented properly? Do you think it should be specified?
>
> If you're just passing around fragments in javascript or server-side
> code, then there's no need whatsoever to have a valid document at all
> times. ?You just need to ensure that the final page is valid. ?So, you
> don't need a <title> at all on some fragment you're fetching via ajax.
>
> ~TJ
>

Received on Thursday, 9 September 2010 09:37:11 UTC