{"action":"opened","issue":{"url":"https://api.github.com/repos/ResponsiveImagesCG/eq-usecases/issues/32","labels_url":"https://api.github.com/repos/ResponsiveImagesCG/eq-usecases/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/ResponsiveImagesCG/eq-usecases/issues/32/comments","events_url":"https://api.github.com/repos/ResponsiveImagesCG/eq-usecases/issues/32/events","html_url":"https://github.com/ResponsiveImagesCG/eq-usecases/issues/32","id":69596593,"number":32,"title":"What's acceptable for the element query polyfill","user":{"login":"adamdbradley","id":452425,"avatar_url":"https://avatars.githubusercontent.com/u/452425?v=3","gravatar_id":"","url":"https://api.github.com/users/adamdbradley","html_url":"https://github.com/adamdbradley","followers_url":"https://api.github.com/users/adamdbradley/followers","following_url":"https://api.github.com/users/adamdbradley/following{/other_user}","gists_url":"https://api.github.com/users/adamdbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/adamdbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamdbradley/subscriptions","organizations_url":"https://api.github.com/users/adamdbradley/orgs","repos_url":"https://api.github.com/users/adamdbradley/repos","events_url":"https://api.github.com/users/adamdbradley/events{/privacy}","received_events_url":"https://api.github.com/users/adamdbradley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-20T14:14:46Z","updated_at":"2015-04-20T14:14:46Z","closed_at":null,"body":"I was hoping to layout the various hacks that can be used for the polyfill, and open up a discussion of what is and is not acceptable.\r\n\r\nMatching:\r\n- Object Element: Using matchMedia on a nested object element within the container.\r\n- window.resize: On resize do a check on each container.\r\n\r\nConfiguration:\r\n- document.styleSheets: Loop through each rule and check if it has EQ information\r\n- Element attributes: Setting an element's EQ(s) via an attribute\r\n- Parsing Text: Manually parsing CSS text for the new syntax, which would be currently invalid css\r\n- CSS properties that accept text: Using the `content` property\r\n\r\nWhat other methods could we add to this? And what methods can we absolutely say \"no that's just too hacky\"."}}