<html> tag and
<body>
tag. <head> information is optional. Gadgets run the browser mode of the container's choice unless explicitly specified using the "quirks" attribute on the Contents element. If the quirks attribute is set to "true", gadgets will be rendered in quirks mode. If set to "false", they will be rendered in standards mode. To summarize this thread it looks like we want to give gadgets the ability to render in standards mode. The corresponding spec change would be:
i. For type HTML gadgets, the order is as follows:
- Standard HTML header, opening
<html>tag and<body>tag.<head>information is optional. Gadgets run the browser mode of the container's choice unless explicitly specified using the "quirks" attribute on the Contents element. If the quirks attribute is set to "true", gadgets will be rendered in quirks mode. If set to "false", they will be rendered in standards mode.
This means that for all containers that will default to standards mode, all current gadgets that are counting on quirks mode will need to either change or break. If this is acceptable for a 0.7 to 0.8 upgrade then this should be fine. Otherwise.. we'll need a better idea.
Any new app would probably not use quirks mode - unless the developer
enjoys pain :), so it's a little odd to have as the default. What is
the true impact of changing the default to false? Would this only
affect applications if they specifically required opensocial-0.8?
We could trigger standards mode by one of several things:
1) Calls to OpenSocial or gadgets.* apis
2) Use of certain features, e.g. OpenSocial
<html> tag and
<body>
tag. <head> information is optional. Gadgets are run in quirks mode unless the "quirks" attribute on the Contents element is set to "false". If the
quirks attribute is set to "false", they will be rendered in standards mode. it's already in the shindig code :)
On Fri, Apr 25, 2008 at 02:12:14PM +0200, Cassie wrote:
> Okay, so are we all talking about a change like this then?
>
> i. For type HTML gadgets, the order is as follows:
>
> 1. Standard HTML header, opening <html> tag and <body> tag.
> <head>information is optional.
> *Gadgets are run in quirks mode unless the "quirks" attribute on the
> Contents element is set to "false". If the quirks attribute is set to
> "false", they will be rendered in standards mode. *
> You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
> To post to this group, send email to opensocial-an...@googlegroups.com
> To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
--
Paul Lindner ||||| | | | | | | | | |
lin...@inuus.com
Wouldn't this impact the quirks vs standards switch as well?
A quirks attribute is better than what we have right now, so I’ll take away my -1 on this one as well.