{"action":"created","issue":{"url":"https://api.github.com/repos/bensampaio/chrome-extension-web_inspector/issues/11","repository_url":"https://api.github.com/repos/bensampaio/chrome-extension-web_inspector","labels_url":"https://api.github.com/repos/bensampaio/chrome-extension-web_inspector/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/bensampaio/chrome-extension-web_inspector/issues/11/comments","events_url":"https://api.github.com/repos/bensampaio/chrome-extension-web_inspector/issues/11/events","html_url":"https://github.com/bensampaio/chrome-extension-web_inspector/issues/11","id":208770849,"number":11,"title":"Text Nodes Cannot Be Selected When Siblings Are Element Nodes","user":{"login":"sshaw","id":17570,"avatar_url":"https://avatars.githubusercontent.com/u/17570?v=3","gravatar_id":"","url":"https://api.github.com/users/sshaw","html_url":"https://github.com/sshaw","followers_url":"https://api.github.com/users/sshaw/followers","following_url":"https://api.github.com/users/sshaw/following{/other_user}","gists_url":"https://api.github.com/users/sshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/sshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshaw/subscriptions","organizations_url":"https://api.github.com/users/sshaw/orgs","repos_url":"https://api.github.com/users/sshaw/repos","events_url":"https://api.github.com/users/sshaw/events{/privacy}","received_events_url":"https://api.github.com/users/sshaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-20T02:41:05Z","updated_at":"2017-02-22T04:40:21Z","closed_at":null,"body":"Given this: <img width=\"550\" alt=\"screen shot 2017-02-19 at 9 37 15 pm\" src=\"https://cloud.githubusercontent.com/assets/17570/23109991/b3ad6884-f6eb-11e6-9a65-ead2bff5f56e.png\">\r\n\r\n\"866 Results\" cannot be selected. If I wrap it in a `span`, it can be. \r\n\r\n`.search-options__actions` is floated right. "},"comment":{"url":"https://api.github.com/repos/bensampaio/chrome-extension-web_inspector/issues/comments/281567297","html_url":"https://github.com/bensampaio/chrome-extension-web_inspector/issues/11#issuecomment-281567297","issue_url":"https://api.github.com/repos/bensampaio/chrome-extension-web_inspector/issues/11","id":281567297,"user":{"login":"sshaw","id":17570,"avatar_url":"https://avatars.githubusercontent.com/u/17570?v=3","gravatar_id":"","url":"https://api.github.com/users/sshaw","html_url":"https://github.com/sshaw","followers_url":"https://api.github.com/users/sshaw/followers","following_url":"https://api.github.com/users/sshaw/following{/other_user}","gists_url":"https://api.github.com/users/sshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/sshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sshaw/subscriptions","organizations_url":"https://api.github.com/users/sshaw/orgs","repos_url":"https://api.github.com/users/sshaw/repos","events_url":"https://api.github.com/users/sshaw/events{/privacy}","received_events_url":"https://api.github.com/users/sshaw/received_events","type":"User","site_admin":false},"created_at":"2017-02-22T04:40:21Z","updated_at":"2017-02-22T04:40:21Z","body":"Page is not public but this demonstrates the issue:\r\n\r\n```html\r\n<!DOCTYPE html>\r\n<html lang='en'>\r\n    <head>\r\n        <title>Foo</title>\r\n    </head>\r\n    <body>\r\n        <h1>Foo</h1>\r\n        <div style=\"width:300px; margin: auto\">\r\n            <div style=\"float:right\">\r\n                <button>Filter</button>\r\n            </div>\r\n            866 results\r\n        </div>\r\n    </body>\r\n</html>\r\n```\r\n\r\nAdding a `span` to the source fixes it. \r\n\r\nI haven't looked at your code but from the markup it looks like it requires an element with a `.chrome-extention-wi-element` class. Which a text node cannot.\r\n"}}
{"actor":{"display_login":"sshaw"}}