question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[TBD] Introduce OutlineLeafNode

See original GitHub issue

Given that we leverage inheritance everywhere in Outline, I think it would make sense to split Leaf <-> Element. The split would help Flow identify methods that should live in leaf nodes and not element nodes.

For example, in #952 Flow would throw when getTextContent is called on an Element node

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
trueadmcommented, Dec 6, 2021

@zurfyx Nope. They should have alt text, but that is a separate thing really.

1reaction
trueadmcommented, Dec 6, 2021

We should remove getTextContent() from OutlineNode. Only TextNode should have the method and maybe we should call it getText only.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cosmos State Machine Data Structures - IPLD
Below we propose an approach and outline the IPLD schemas for enriching SMT and IAVL leaf node IPLDs with type information for the...
Read more >
An Isabelle/HOL Formalization of the Textbook Proof of ...
A prefix code tree is a full binary tree in which leaf nodes are of the form ... involves introduction and elimination rules,...
Read more >
Introduction to Spine to Spine and Leaf - Gigamon
This architecture supports leaf nodes and multiple levels of spine nodes. ... 2First level spine nodes to the leaf nodes and the second...
Read more >
Multidimensional Resource Pricing OR L2EVM OR tbd
Multidim. Resource Pricing: EIP-4844 will for the first time introduce a new resource type, priced independently from main execution.
Read more >
Introduction to the Binary Tree Data Structure - Baeldung
When each node of a binary tree has one or two children, the number of leaf nodes (nodes with no children) is one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found