We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally posted by @kphrx in #10 (reply in thread)
The text was updated successfully, but these errors were encountered:
Chromium だけの問題なのでコメントレイヤー周りで処理が分岐してる以下が怪しい
OffscreenLayer
if (util.isChrome()) { frame.removeAttribute('srcdoc'); }
NicoCommentCss3PlayerView
if (env.isChrome()) {iframe.removeAttribute('srcdoc');}
srcdoc を Element.removeAttribute() してもしなくても表示は正常。 開発者ツールの Elements で <iframe> が折り畳まれていても srcdoc が完全に表示されるから Element.removeAttribute() していた?
srcdoc
Element.removeAttribute()
<iframe>
srcdoc を Element.removeAttribute() すると <iframe> の document が初期化される。
NicoCommentCss3PlayerView で Element.removeAttribute() せずに処理を進めるとコメントが見える。高さの情報は OffscreenLayer で計算してるので、こちらでも Element.removeAttribute() しないようにすることで正常に表示される
srcdoc を Element.removeAttribute() するとコメントが表示されない。 Element.removeAttribute() しなくても開発者ツールの Inspector では srcdoc のような長い属性は一部だけ表示されて大部分が省略されてるので邪魔にならない
Sorry, something went wrong.
47fd74c
No branches or pull requests
Originally posted by @kphrx in #10 (reply in thread)
The text was updated successfully, but these errors were encountered: