次のコードを含む rtl の HTML ページがあり、Google プラス 1 ボタンがページに正しく表示されません。plusone.js ファイルが読み込まれるまで、html タグの dir="rtl" のために非常に大きな水平スクロールが発生します。plusone.js をロードすると、スクロールが消えます。この横スクロールの表示と非表示を回避するにはどうすればよいですか。 (タグから dir="rtl" を削除したくない)
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">
<head>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</head>
<body>
<div id="content">
<div class="g-plusone" data-size="small" data-annotation="none"></div>
</div>
</body>
</html>