Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09f2543

Browse files
authored
Support: ensure display is set to block for the support div
* Support: ensure display is set to block for the support div- Fixes an issue with the support test in iframes in Android 8 Chrome 86+, where display: inline resulted in unexpected height values.Closegh-4845Fixesgh-4832
1 parent8ae477a commit09f2543

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎src/css/support.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ support.reliableTrDimensions = function() {
3333
tr.style.height="1px";
3434
div.style.height="9px";
3535

36+
// Support: Android Chrome 86+
37+
// In our bodyBackground.html iframe,
38+
// display for all div elements is set to "inline",
39+
// which causes a problem only in Android Chrome, but
40+
// not consistently across all devices.
41+
// Ensuring the div is display: block
42+
// gets around this issue.
43+
div.style.display="block";
44+
3645
documentElement
3746
.appendChild(table)
3847
.appendChild(tr)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp