Torsten2217 / google-plus-platform

Automatically exported from code.google.com/p/google-plus-platform
0 stars 0 forks source link

Google plus button broken in Chrome with XHTML "Failed to install bubble styles: TypeError: Cannot read property" #413

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The Google+ button throws the following error when viewed in Google Chrome from 
a document served as application/xhtml+xml.

Failed to install bubble styles: TypeError: Cannot read property 'parentNode' 
of undefined cb=gapi.loaded_0:82
_.ob cb=gapi.loaded_0:82
_.ib cb=gapi.loaded_0:82
(anonymous function) cb=gapi.loaded_1:95
(anonymous function) plusone.js:6
ab plusone.js:8
Ia plusone.js:6
b plusone.js:7
I.(anonymous function) plusone.js:7
X.(anonymous function) plusone.js:7
(anonymous function)

Consequently, the popup is rendered incorrectly, and outside of trivial 
examples, displays unpredictable behaviour depending on surrounding markup.

Not sure if this is a Chrome problem or an Google+ widget problem. The issue 
does not manifest in IE9.0. The attached file should reproduce the issue in 
Chrome version 23.0.1271.64.

Still searching for a workaround that doesn't involve degrading to serving as 
text/html.

Many Thanks

Original issue reported on code.google.com by sashasg...@gmail.com on 24 Nov 2012 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by joannasm...@google.com on 6 Feb 2013 at 7:19

GoogleCodeExporter commented 9 years ago
I am unable to reproduce this issue.  Does it persist for you?

Original comment by joannasm...@google.com on 3 Apr 2013 at 4:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I experience the same issue with my app served as application/xhtml+xml.
Any workaround (except from reverting back to text/html) ?
Thanks,
C.

Original comment by christop...@gmail.com on 24 Jul 2015 at 12:23