News for hackers. Stuff that matters.
Re:Introducing docs.microsoft.com by tgb on Wednesday May 04, 2016 @08:30AM (#11627824)
So what do you guys think of HN? I get frustrated by how if I drag the selection down on HN comments, the selection will "hop" up at certain points. It's very aesthetically unpleasing, but I just need to click and drag select whatever I'm reading.
Re:Introducing docs.microsoft.com by jordanlev on Wednesday May 04, 2016 @10:27AM (#11628574)
fwiw, I believe this is due to HN's archaic table-based html layout, as opposed to some javascript code like on medium and this new ms docs site.
Re:Introducing docs.microsoft.com by ihsw on Wednesday May 04, 2016 @12:08PM (#11629324)
This is it.

It has to do with border-spacing between table cells -- when you select text that runs into the border-spacing, it resets the selection to go from 1) original cell 2) start of the table 3) next cell.

With more sane styling (ie: setting border-spacing to 0), the selection won't jump to the start of the table.

Re:Introducing docs.microsoft.com by scrumper on Wednesday May 04, 2016 @01:13PM (#11629827)
I don't mind HN, you can get all sorts of pleasing patterns of highlight by dragging down nested comment hierarchies. Extra satisfying when you get the darker 'double highlight' and you can make it pop by wiggling your fingers a bit.

This is just heaven here: http://imgur.com/asQy8v3

Look at all those lovely lines and right angles.