W3C home > Mailing lists > Public > public-webapi@w3.org > July 2006

DOM3 Core clarification: isElementContentWhitespace?

From: Alex Vincent <ajvincent@gmail.com>
Date: Fri, 7 Jul 2006 14:12:22 -0700
Message-ID: <9301ed6b0607071412j5f7fca63i3de6746f6f4f16a8@mail.gmail.com>
To: public-webapi@w3.org

I took a look at DOM 3 Core's isElementContentWhitespace definition,
and I don't fully understand how it's supposed to work.  I thought at
first glance it meant "Does this text node
contain only whitespace?", but a fellow developer tells me it isn't that simple.

Could I get some clarification on what it is supposed to mean?
Preferably with code or pseudocode examples.

"The first step in confirming there is a bug in someone else's work is
confirming there are no bugs in your own."
-- Alexander J. Vincent, June 30, 2001
Received on Friday, 7 July 2006 21:12:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC