3 ms·
Is it open source? Thinking about the logic for auto boxing text nodes adjacent to elements...
by aliswe 8y ago
Is it open source? Thinking about the logic for auto boxing text nodes adjacent to elements...
- emmanueloga_ 8y agoCan you elaborate on "auto boxing text nodes" ? Not sure what you mean. Are you trying to shape paragraphs of text? (like [1]). By the way, anything having to do with text is more complicated to handle that one would imagine [2]. 1: https://github.com/bramstein/typeset#variable-line-width https://github.com/bramstein/typeset#variable-line-width 2: https://xxyxyz.org/line-breaking/ https://xxyxyz.org/line-breaking/
- aliswe 8y agoThis is what I'm referring to: https://www.google.com/search?q=css+anonymous+block+box https://www.google.com/search?q=css+anonymous+block+box Ie. when having text adjacent to an element (which is a block element), that text is automatically inserted into a box which can't be styled or referred to, but yet help to layout the document. <div> I'm in a box <div></div> Me too </div>