Thankfully, they also provide an HTML 5 <div class="g-plusone"> option.
While the <g:plusone> tag is configured with 'size' and 'url' attributes, in order to be HTML 5 compliant, the <div> version passes parameters using HTML 5's 'data-' attributes, such as 'data-size' and 'data-url'.
Or at least, that's what the documentation says.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn4L8bef_Fq6YOYW5n6K0tUAjwKOG0xsQKex0MI3TFP8KhoeGNXQSCJO5pkWsUaPVTPA55qdjX6qiXfsmnUmEb9KSuRBM5HKdHMIZGJQWg1fF4QqDI0Q8K0gcqjYKqqQq6FWXARPdpxgI/s200/Screen+shot+2011-06-03+at+08.19.31.png)
I have put together a test case to illustrate the problem:
Test case demonstrating the broken +1 HTML 5 implementation.
Hopefully Google will address this quickly.
Update, June 14 2011
The test case now renders correctly, indicating that Google has fixed the problem. Hooray!
No comments:
Post a Comment