W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2013

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

From: Glenn Maynard <glenn@zewt.org>
Date: Sat, 29 Jun 2013 17:47:11 -0500
Message-ID: <CABirCh8cwHvn+3Z9JN-kSVtyHmpU3UnbsGqkAsg1sHBfN=BWtQ@mail.gmail.com>
To: Tim Streater <tim@clothears.org.uk>
Cc: WHATWG <whatwg@lists.whatwg.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, Zirak A <zirak@mail.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:22 UTC