Progressbar fix.

This commit is contained in:
Storm Dragon committed 2026-10-14 18:22:59 -04:00
1 parent 6754c8ef6c
commit 9205e7280a
10 files changed
+266 -3

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>Cthulhu Browser Probe</title>
<label>Probe start <input autofocus></label>
<button id="update">Update progress</button>
<label for="native">Native progress</label>
<progress id="native" max="100" value="0"></progress>
<div id="aria" role="progressbar" aria-label="ARIA progress"
aria-valuemin="0" aria-valuemax="100" aria-valuenow="10"></div>
<span id="shader">Processing Vulkan shaders (0%)</span>
<script>
document.getElementById('update').addEventListener('click', () => {
document.getElementById('native').value = 20;
document.getElementById('aria').setAttribute('aria-valuenow', '30');
document.getElementById('shader').textContent = 'Processing Vulkan shaders (37%)';
});
</script>
</html>