HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Technical questions / Troubleshooting › CSS selector parts using :last-child / :last-of-type seem to get ignored › Reply To: CSS selector parts using :last-child / :last-of-type seem to get ignored
I’m afraid that
:last-of-type won’t be supported without a complete refactoring of the CSS runtime.
Support requires either an additional parsing pass of entire HTML document, or non-trivial look-ahead parsing logic (in extreme cases, it takes even more time/resources than a second parsing pass).
All our attempts to implement this feature resulted in significant performance degradation even in simple cases where this feature was not used. We have decided to temporarily omit the feature