{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/3249","labels_url":"https://api.github.com/repos/atom/atom/issues/3249/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/3249/comments","events_url":"https://api.github.com/repos/atom/atom/issues/3249/events","html_url":"https://github.com/atom/atom/issues/3249","id":40152525,"number":3249,"title":"CSS ::selection doesn't have an effect","user":{"login":"tollus","id":1820386,"avatar_url":"https://avatars.githubusercontent.com/u/1820386?v=3","gravatar_id":"","url":"https://api.github.com/users/tollus","html_url":"https://github.com/tollus","followers_url":"https://api.github.com/users/tollus/followers","following_url":"https://api.github.com/users/tollus/following{/other_user}","gists_url":"https://api.github.com/users/tollus/gists{/gist_id}","starred_url":"https://api.github.com/users/tollus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tollus/subscriptions","organizations_url":"https://api.github.com/users/tollus/orgs","repos_url":"https://api.github.com/users/tollus/repos","events_url":"https://api.github.com/users/tollus/events{/privacy}","received_events_url":"https://api.github.com/users/tollus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-08-13T13:11:41Z","updated_at":"2015-07-08T08:28:09Z","closed_at":null,"body":"I was trying to emulate the option `\"draw_white_space\": \"selection\"` from Sublime Text by using the CSS below, but it seems to have no effect.\r\n\r\nWhat it should do, is only show the invisible characters when highlighted/selected.\r\n\r\n```css\r\n.editor {\r\n    .invisible-character {\r\n        opacity: 0;\r\n    }\r\n\r\n    .invisible-character::selection {\r\n        opacity: 1;\r\n    }\r\n}\r\n```\r\n\r\nForgot to include a link to MDN, which does say it's non-standard, but that Chrome supports it.\r\nhttps://developer.mozilla.org/en-US/docs/Web/CSS/::selection"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/119491506","html_url":"https://github.com/atom/atom/issues/3249#issuecomment-119491506","issue_url":"https://api.github.com/repos/atom/atom/issues/3249","id":119491506,"user":{"login":"alexrussell","id":412784,"avatar_url":"https://avatars.githubusercontent.com/u/412784?v=3","gravatar_id":"","url":"https://api.github.com/users/alexrussell","html_url":"https://github.com/alexrussell","followers_url":"https://api.github.com/users/alexrussell/followers","following_url":"https://api.github.com/users/alexrussell/following{/other_user}","gists_url":"https://api.github.com/users/alexrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/alexrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexrussell/subscriptions","organizations_url":"https://api.github.com/users/alexrussell/orgs","repos_url":"https://api.github.com/users/alexrussell/repos","events_url":"https://api.github.com/users/alexrussell/events{/privacy}","received_events_url":"https://api.github.com/users/alexrussell/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T08:28:09Z","updated_at":"2015-07-08T08:28:09Z","body":"@Dv92 :+1: to that! I'd still maybe like to be able to target all layers of a given selection (I'm aware that the reason this hasn't been possible so far is that Atom has these different layers) would be handy for general hackability, but this does kinda solve the issue for me for the time being."}}