Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

On Sat, Jun 29, 2013 at 4:55 PM, Tim Streater <tim@clothears.org.uk> wrote:

> But what I'm doing, I'm not doing for CSS purposes. I'm trying to find a
> particular row, by id, in order to modify the contents of cells in that
> row. I find it perverse to be using a style-related API call to do that.
>

CSS uses selectors, not the other way around.  querySelector() has nothing
to do with styles.

-- 
Glenn Maynard

Received on Saturday, 29 June 2013 22:47:36 UTC