Skip to content

Commit cd731d9

Browse files
committed
Add backface visibility workaround fps test, Slow chrome rendering workaround
1 parent 0e8ca35 commit cd731d9

File tree

5 files changed

+79
-80
lines changed

5 files changed

+79
-80
lines changed

content.json

Lines changed: 64 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,65 @@
1-
{
2-
"address": "1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr",
3-
"description": "This site",
4-
"domain": "ZeroNetwork.bit",
5-
"files": {
6-
"css/all.css": {
7-
"sha1": "35db2805dfddd29824703e3305d51e298e40ebcd",
8-
"sha512": "7a08a5a333e86a1a2abbe88fd0a0d0122cf29f0d7a85f6d2374e10c1b843fd59",
9-
"size": 81530
10-
},
11-
"favicon.ico": {
12-
"sha1": "cad8bea56c32b24fafd1d095a65407dd7e88dc86",
13-
"sha512": "4b16ceb40191f83af1286438e4b069ab613736a199d5c5cc32a44cd60051ca13",
14-
"size": 1150
15-
},
16-
"font/Roboto-Light.woff": {
17-
"sha1": "bfd78b64b607ae5826d68748813467d03b8c35db",
18-
"sha512": "de3320e07959009e1301ef718bb0ea6761da9eac1f536245dccb1da4abf26b97",
19-
"size": 17564
20-
},
21-
"font/Roboto-Medium.woff": {
22-
"sha1": "1ac836d3c3b5dd16b1754a93b143e15beed9da80",
23-
"sha512": "ddaaa5ca7e11cde24b1f0f993e6cf5f9da8de0664af4cbbba46a5f2f1a0a3b18",
24-
"size": 18140
25-
},
26-
"font/TextMeOne-Regular.woff": {
27-
"sha1": "eba67a81aa6ae2cf7c6438451dd139d3cb42e552",
28-
"sha512": "3ea7911d55424dcbb3be9939cd44f5cc92a90df869b5e9df019cbc8969f4f31e",
29-
"size": 13868
30-
},
31-
"img/loading.gif": {
32-
"sha1": "a669dbd8a577f6957656fc88ba4960b93fcd23d9",
33-
"sha512": "8a42b98962faea74618113166886be488c09dad10ca47fe97005edc5fb40cc00",
34-
"size": 723
35-
},
36-
"index.html": {
37-
"sha1": "e0af0d192206cc058094d0a637112995ef510f52",
38-
"sha512": "fe372396f3ad5a963eae104eee15919f69482c416c8f3e48d62f621905c4600b",
39-
"size": 2629
40-
},
41-
"js/all.js": {
42-
"sha1": "696b59fa4fc337bb0d3db414154c10184e279393",
43-
"sha512": "f4d990efd25822ddc5f5f8c8aa5817b8f602af3b6684877fde074b9f9b02362c",
44-
"size": 124592
45-
},
46-
"test/jquery.min.js": {
47-
"sha1": "41b4bfbaa96be6d1440db6e78004ade1c134e276",
48-
"sha512": "eda31b5c7d371d4b3acced51fa92f27a417515317cf437aae09a47c3acc8a36b",
49-
"size": 84320
50-
},
51-
"test/render.html": {
52-
"sha1": "1991d232fec0c5c8aad80b63d699aad72df19b81",
53-
"sha512": "5dd8cd2ee481c133ba0a74c90055a9d5397a826af61fc5ba38d7450c7fb3dac3",
54-
"size": 2248
55-
},
56-
"test/security.html": {
57-
"sha1": "fd1de950eeca9b815d77c0c319e92b438205f2d1",
58-
"sha512": "a641685276ad0757bcffc0850ca2b98a900df9849f786b4d751a166241e9e858",
59-
"size": 1016
60-
},
61-
"test/stats.js": {
62-
"sha1": "60daa096ccae1d152b9c5c7c8772c8e63a39e4db",
63-
"sha512": "a304ab798b9bbd1581f8aac90ea0b3b12a6ae2e9c7dd64846cd40ce0bbd099b3",
64-
"size": 3560
65-
}
66-
},
67-
"ignore": "(js|css)/(?!all.(js|css))",
68-
"modified": 1427755038.457,
69-
"sign": [
70-
93137679403170415386898911890941676344644849900231502258567679364321833377757,
71-
109922661316557071301604854682195237082062550382810971449795191700931584576188
72-
],
73-
"signers_sign": null,
74-
"signs_required": 1,
75-
"title": "ZeroHello",
76-
"zeronet_version": "0.2.8"
1+
{
2+
"address": "1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr",
3+
"description": "This site",
4+
"domain": "ZeroNetwork.bit",
5+
"files": {
6+
"css/all.css": {
7+
"sha512": "aac2430f92c24fec777277c25419b27299eded44b5cee91fc065a2cc677a1af4",
8+
"size": 82041
9+
},
10+
"favicon.ico": {
11+
"sha512": "4b16ceb40191f83af1286438e4b069ab613736a199d5c5cc32a44cd60051ca13",
12+
"size": 1150
13+
},
14+
"font/Roboto-Light.woff": {
15+
"sha512": "de3320e07959009e1301ef718bb0ea6761da9eac1f536245dccb1da4abf26b97",
16+
"size": 17564
17+
},
18+
"font/Roboto-Medium.woff": {
19+
"sha512": "ddaaa5ca7e11cde24b1f0f993e6cf5f9da8de0664af4cbbba46a5f2f1a0a3b18",
20+
"size": 18140
21+
},
22+
"font/TextMeOne-Regular.woff": {
23+
"sha512": "3ea7911d55424dcbb3be9939cd44f5cc92a90df869b5e9df019cbc8969f4f31e",
24+
"size": 13868
25+
},
26+
"img/loading.gif": {
27+
"sha512": "8a42b98962faea74618113166886be488c09dad10ca47fe97005edc5fb40cc00",
28+
"size": 723
29+
},
30+
"index.html": {
31+
"sha512": "258e368d91b0d8641dcf80412be87824702137b6e299be3f034b9b99336cca18",
32+
"size": 2614
33+
},
34+
"js/all.js": {
35+
"sha512": "1e1dd5a16f58ba9e96a249db8b9d13bbdce4ccbe670b1ee82024282eea4ce40e",
36+
"size": 126948
37+
},
38+
"test/jquery.min.js": {
39+
"sha512": "eda31b5c7d371d4b3acced51fa92f27a417515317cf437aae09a47c3acc8a36b",
40+
"size": 84320
41+
},
42+
"test/render.html": {
43+
"sha512": "5dd8cd2ee481c133ba0a74c90055a9d5397a826af61fc5ba38d7450c7fb3dac3",
44+
"size": 2248
45+
},
46+
"test/security.html": {
47+
"sha512": "a641685276ad0757bcffc0850ca2b98a900df9849f786b4d751a166241e9e858",
48+
"size": 1016
49+
},
50+
"test/stats.js": {
51+
"sha512": "a304ab798b9bbd1581f8aac90ea0b3b12a6ae2e9c7dd64846cd40ce0bbd099b3",
52+
"size": 3560
53+
}
54+
},
55+
"ignore": "(js|css)/(?!all.(js|css))",
56+
"modified": 1435255364.247,
57+
"sign": [
58+
23968814545139924943599664396837396157943009298343569111004846680073321449742,
59+
22926650895730676704243349969406556060621418772538790765362755272336876493247
60+
],
61+
"signers_sign": null,
62+
"signs_required": 1,
63+
"title": "ZeroHello",
64+
"zeronet_version": "0.3.1"
7765
}

css/ZeroHello.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
body { background-color: #D2CECD; color: #393837; margin: 10px; padding: 0px; font-family: 'Roboto', sans-serif; padding-bottom: 50px }/*#AF3FBB*/
1+
body { background-color: #D2CECD; color: #393837; margin: 10px; padding: 0px; font-family: 'Roboto', sans-serif; padding-bottom: 50px; backface-visibility: hidden } /*#AF3FBB*/
22
h1, h2, h3, h4 { font-family: 'Roboto', sans-serif; font-weight: normal; font-size: 100px; margin: 0px; padding: 0px }
33
h1 { font-family: 'Text Me One', sans-serif;; padding-bottom: 30px; line-height: 100px }
44
h2 { font-size: 35px }

css/all.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<div class="user">Current user: <a class='identicon' href='#Show+Private+key' title='Show private key'></a><a href="#Logout" class="button button-logout">Logout</a></div>
1717
<div class="version current">Version: <a href="https://github.com/HelloZeroNet/ZeroNet" target="_top">Unknown</a></div>
18-
<div class="version latest new" title="New update available">Latest: <a href="https://github.com/HelloZeroNet/ZeroNet" target="_top">0.3.0</a></div>
18+
<div class="version latest new" title="New update available">Latest: <a href="https://github.com/HelloZeroNet/ZeroNet" target="_top">0.3.1</a></div>
1919
<br><a href="#Update" class="button button-update button-submit">Update to new version</a>
2020
<br><span class='broken-autoupdate'>Err, we broke the autoupdate for this version.<br> Please overwrite your current <b>update.py</b> file<br> with the <a href="https://raw.githubusercontent.com/HelloZeroNet/ZeroNet/master/update.py" target="_top">latest one from github</a>, run it and restart ZeroNet.<br>Sorry for the troubles!</span>
2121
</div>

test/render.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@
4545
}, 2000).animate({
4646
scrollTop: 0
4747
}, 2000);
48+
console.log($("body").css("backface-visibility"))
49+
if ($("body").css("backface-visibility") == "hidden") {
50+
$("body").css("backface-visibility","initial")
51+
$("#backface").text("body backface-visibility: initial")
52+
} else {
53+
$("body").css("backface-visibility","hidden")
54+
$("#backface").text("body backface-visibility: hidden")
55+
}
4856
}
4957

5058
$( document ).ready(function() {
@@ -56,7 +64,10 @@
5664
})
5765
</script>
5866

59-
<a href="/1TaLk3zM7ZRskJvrh3ZNCDVGXvkJusPKQ/?Topic:7@2/Slow+rendering+in+Chrome" target="_top" style="position: fixed; right: 50px; bottom: 10px; background-color: white; padding: 10px; z-index: 999; display: block">Please post your results to ZeroTalk</a>
67+
<div style="position: fixed; right: 50px; bottom: 10px; background-color: white; padding: 10px; z-index: 999; display: block">
68+
<span id="backface"></span>
69+
<a href="/1TaLk3zM7ZRskJvrh3ZNCDVGXvkJusPKQ/?Topic:7@2/Slow+rendering+in+Chrome" target="_top">Please post your results to ZeroTalk</a>
70+
</div>
6071

6172
<!-- Sites -->
6273
<div id="sites" style="height: initial">

0 commit comments

Comments
 (0)