Marius Dumitru Florea

Results 9 comments of Marius Dumitru Florea

I debugged a bit this issue and my conclusion is this: * ``Layout#renderTo()`` skips, by default, text nodes that (1) have only white-space and (2) are direct child nodes of...

> Thus the only option I see is to modify ``isIgnorable`` to take into account if the parent element has white-space preserved. That's actually not possible, because the source is...

> Note that for large content (I tested with a table having 1k rows) this freezes the web browser (CPU stays 100% until the browser asks me to stop the...

> Since there is no javascript function for determining whether one DOM node is before another Can't you determine this using https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition ?

Using something like ``element.__proto__.constructor.name`` feels very hackish to me. Can you remind me what is the issue with checking [``node.nodeType``](https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType)? Its value is a **number** and there are predefined **constants**...

This looks a bit similar to https://github.com/pagedjs/pagedjs/issues/265.

I created https://github.com/pagedjs/pagedjs/pull/268 to fix the issue.

I asked Copilot to analyze the issue and I got this response (pasting only relevant parts): > The issue is that the newer Chrome version (124) in the ``zenika/alpine-chrome:124`` Docker...