From 03f506b01ac4d5ef34d46327f53673e2584436f5 Mon Sep 17 00:00:00 2001 From: SGavrl <277843151+SGavrl@users.noreply.github.com> Date: Tue, 4 Aug 2026 05:37:03 +0000 Subject: [PATCH] Improve float, gradient, and script rendering parity --- crates/obscura-js/js/bootstrap.js | 129 ++++--- crates/obscura-js/src/runtime.rs | 58 ++++ crates/obscura-render/src/dom.rs | 246 +++++++++++-- crates/obscura-render/src/lib.rs | 43 +++ crates/obscura-render/src/paint.rs | 382 +++++++++++++++++++-- crates/obscura-render/src/style.rs | 253 +++++++++++++- crates/obscura-render/tests/layout_test.rs | 11 +- 7 files changed, 1005 insertions(+), 117 deletions(-) diff --git a/crates/obscura-js/js/bootstrap.js b/crates/obscura-js/js/bootstrap.js index 33a82d5..019ed75 100644 --- a/crates/obscura-js/js/bootstrap.js +++ b/crates/obscura-js/js/bootstrap.js @@ -189,13 +189,20 @@ if (_origStackDesc && _origStackDesc.get) { } let _fpSeed = 0; -// Dynamic script import queue — serializes concurrent import() calls -// to prevent re-entrant RefCell panic in deno_core's futures_unordered_driver -// when SPAs dynamically insert multiple