fix(anatomy): V1-2.2 marker layer and halo outside the drawing's group
Owner-approved lot B (brief 2026-11-01). The composition root is the engine's (namespaces and frame); the drawing's root becomes a group and the marker layer and halo are its siblings, so no root property reaches a marker. Point hitboxes declare stroke none and visibleFill. Census over the reader's whole allowlist; R3 references compared under the declared transform; click proofs in three engines.
This commit is contained in:
1 parent
f1bb19b30b
commit
4f52f5e1c4
23 files changed
+933
-112
No files matched your search
@@ -12,7 +12,8 @@ mod common;
|
||||
use std::collections::HashSet;
|
||||
|
||||
use common::svg_tree::{
|
||||
reread, tree_value, view_names, with_ids_scoped_per_view, with_trigger_names_per_language,
|
||||
reread, tree_value, view_names, with_ids_scoped_per_view, with_isolated_layer,
|
||||
with_trigger_names_per_language,
|
||||
};
|
||||
use faunosteo_core::anatomy::compose::{
|
||||
ComposeError, asset_id_of_view, compose_canvas, compose_highlight,
|
||||
@@ -96,6 +97,7 @@ fn every_highlighted_view_equals_the_engine_tree() {
|
||||
let label = format!("{} {} {view}", case["sheet"], case["observation"]["id"]);
|
||||
let mut frozen = expected(case, &oracle);
|
||||
with_trigger_names_per_language(&mut frozen, &view_names(document));
|
||||
with_isolated_layer(&mut frozen);
|
||||
assert_eq!(reread(&composed), frozen, "{label}");
|
||||
}
|
||||
}
|
||||
@@ -109,6 +111,7 @@ fn canvas_golden(view: &str) -> Value {
|
||||
let mut frozen: Value = serde_json::from_str(&text).unwrap();
|
||||
with_trigger_names_per_language(&mut frozen, &view_names(&draft()));
|
||||
with_ids_scoped_per_view(&mut frozen, view);
|
||||
with_isolated_layer(&mut frozen);
|
||||
frozen
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user