rel=stylesheet attribute on CssStyle element.

4 messages Options
Embed this post
Permalink
Finn Bock

rel=stylesheet attribute on CssStyle element.

Reply Threaded More More options
Print post
Permalink
Hi,

The html generated by a CssStyle generates a rel="stylesheet" attribute:

 <style type="text/css" rel="stylesheet">
 body { font: 12px arial; }
 </style>

Neither html-4.01 or xhtml-1.0 allow a rel attribute on the style
element. Does it serve a purpose or is it a copy&paste leftover from
CssImport where the rel attribute is valid?

regards,
Finn
WarnerJan Veldhuis

Re: rel=stylesheet attribute on CssStyle element.

Reply Threaded More More options
Print post
Permalink
It looks like a copy/paste from the <link>-tag where this attribute lives :)


Finn Bock wrote:

> Hi,
>
> The html generated by a CssStyle generates a rel="stylesheet" attribute:
>
>  <style type="text/css" rel="stylesheet">
>  body { font: 12px arial; }
>  </style>
>
> Neither html-4.01 or xhtml-1.0 allow a rel attribute on the style
> element. Does it serve a purpose or is it a copy&paste leftover from
> CssImport where the rel attribute is valid?
>
> regards,
> Finn
>  
Finn Bock

Re: rel=stylesheet attribute on CssStyle element.

Reply Threaded More More options
Print post
Permalink
2009/8/26 WarnerJan Veldhuis <[hidden email]>:
> It looks like a copy/paste from the <link>-tag where this attribute lives :)

I've added a patch on CLK-580 in case the committers agree.

regards,
Finn
Bob Schellink-2

Re: rel=stylesheet attribute on CssStyle element.

Reply Threaded More More options
Print post
Permalink
Hi Finn,

Thanks for all the patches, I'll apply them in the next couple of days.
(I've recently relocated and still waiting for internet)

kind regards

bob

Finn Bock wrote:

> 2009/8/26 WarnerJan Veldhuis <[hidden email]>:
>  
>> It looks like a copy/paste from the <link>-tag where this attribute lives :)
>>    
>
> I've added a patch on CLK-580 in case the committers agree.
>
> regards,
> Finn
>
>