Skip to content

Commit

Permalink
Fix clicking pseudos with inline hit testing
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Burns <[email protected]>
  • Loading branch information
nicoburns committed Dec 16, 2024
1 parent 3a641e4 commit 958193b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/blitz-dom/src/layout/construct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ fn flush_pseudo_elements(doc: &mut Document, node_id: usize) {
DUMMY_NAME,
Vec::new(),
)));
doc.nodes[new_node_id].parent = Some(node_id);

let content = &pe_style.as_ref().get_counters().content;
if let Content::Items(item_data) = content {
Expand Down

0 comments on commit 958193b

Please sign in to comment.