Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderMy impression from this is that "take the text nodes and format them with whitespace that corresponds to the browser layout" is a vague enough definition that browsers can't agree on precisely how to do that. So it seems like it shouldn't be standardised, but maybe a JS lib could step in to come up with a reliable way of doing it?
Oh boy, this is an article from April 2015. I had to look this ( innerText vs textContent) up yesterday and MDN had a much clearer explanation. "The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants." https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement...
I’ve been working on rich text editing ideas for the past month or so, and I have to say, innerText is probably not the solution you’re looking for, for that use-case. Despite what they say about standardization, there are still subtle differences between browsers over how exactly they handle certain elements and styles. The innerText property also does a feeble attempt at representing rich text whitespace, by making table cells tab-separated and adding an extra newline of padding around p…
Anybody who's interested in improving innerText's standing in the world should check out the WICG discussion on [standardizing innerText][1] and [CSS Plain-Text Conversion][2]. [1]: http://discourse.wicg.io/t/standardizing-innertext/799 [2]: http://discourse.wicg.io/t/css-plain-text-conversion/976
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 2
- Total points
- 332
- Total comments
- 74
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2015-04-01 | The poor, misunderstood innerTextFirst breakout · Best thread | antouank | 178 | 32 |
| 2015-09-03 | The poor, misunderstood innerText | happyscrappy | 2 | 1 |
| 2016-10-31 | The poor, misunderstood innerText (2015) | codezero | 2 | 0 |
| 2020-11-22 | The Poor, Misunderstood InnerText (2015) | bobajeff | 38 | 13 |
| 2023-03-22 | The Poor, Misunderstood InnerTextLatest 20+ point return | sharno | 112 | 28 |
