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

Glenn Maynard glenn at zewt.org
Sat Jun 29 15:47:11 PDT 2013


On Sat, Jun 29, 2013 at 4:55 PM, Tim Streater <tim at 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



More information about the whatwg mailing list