Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #14986

Re: DOM 0 Reference

From Matt McDonald <matt@fortybelow.ca>
Newsgroups comp.lang.javascript
Subject Re: DOM 0 Reference
Date 2012-07-09 20:40 -0600
Organization A noiseless patient Spider
Message-ID <jtg4mi$m1e$1@dont-email.me> (permalink)
References <jtcl5e$ilq$1@dont-email.me> <XSPKNdI+7y+PFw1k@invalid.uk.co.demon.merlyn.invalid>

Show all headers | View raw


On 12-07-09 01:20 PM, Dr J R Stockton wrote:

> It is useless to me, being written in white on black or thereabouts.

You have registered this complaint to me before. I will
consider alternative colour schemes.

> I don't know what your formatting is intended to do, but text can exceed
> window width.

The media queries utilised are intended to condense the layout
for environments with small widths. Are you noting text that overflows
its container (e.g. the table of contents), and beyond the client
width?

> The font you have forced on me (font-family: "Georgia", serif;) has
> small digits, which I find anti-helpful.

I will consider alternative serif fonts.

> There is no visual distinction between unvisited links, visited ones,
> and underlined text.  But perhaps they are not links. They confuse.

Every single instance is in fact a link. The styling is intended
to emphasise that. I will consider separate styles for anchor element
pseudo-classes.

> Now you need to make it so that all things which look like links are in
> fact links.

See my reply above.

> It would be better to have your name and a date on each page.

I will also consider this. However, given Thomas' concern raised
regarding copyrighting, I may withhold my name.

> I think it would be useful to include, perhaps in a float-right box, a
> brief indication of what has in each place been added in the DOM in
> common use.  For example, "Content Insertion Methods" looks very empty,
> and I do not know whether it should be.

If I'm interpreting your post correctly, you're requesting the
addition of examples for each feature. I agree with this
suggestion.

> [reference entry for `Document.write`]
>
> But I commonly have used it to insert text into a document not
> so opened, for example by putting
> <script> document.write('It is ', new Date()) </script>
> among my HTML.  Would that not have worked in DOM 0?

`HTMLDocument::write` is specified in both the DOM Level 1 and
Level 2 HTML specifications to:

 > Write a string of text to a document stream opened by open().

which is how I documented it. However, the HTML 5
specification specifies[0] the method with much more
depth, which is in concordance with your assertion that
the documentation is insufficient. This will be amended
to cover the various corner cases.

> I suggest you consult the HTML authoring newsgroup.

HTML or CSS? Your complaints pertain to CSS. Nonetheless,
I will read CIWAH more often, and perhaps request advice.

I'd like to thank you for your thorough critique.

[0]: http://www.whatwg.org/specs/web-apps/current-work/
multipage/elements.html#document.write()

-- 
Matt McDonald: Web/Flash Developer; Edmonton, Alberta, Canada

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

DOM 0 Reference Matt McDonald <matt@fortybelow.ca> - 2012-07-08 12:56 -0600
  Re: DOM 0 Reference Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-07-09 03:04 +0200
    Re: DOM 0 Reference Matt McDonald <matt@fortybelow.ca> - 2012-07-08 20:18 -0600
      Re: DOM 0 Reference Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-07-09 16:28 +0200
        Re: DOM 0 Reference Matt McDonald <matt@fortybelow.ca> - 2012-07-09 12:08 -0600
          Re: DOM 0 Reference Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-07-09 22:24 +0200
        Re: DOM 0 Reference Dr J R Stockton <reply1228@merlyn.demon.co.uk.not.invalid> - 2012-07-10 23:25 +0100
  Re: DOM 0 Reference Dr J R Stockton <reply1228@merlyn.demon.co.uk.not.invalid> - 2012-07-09 20:20 +0100
    Re: DOM 0 Reference Matt McDonald <matt@fortybelow.ca> - 2012-07-09 20:40 -0600
      Re: DOM 0 Reference Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-07-10 10:26 +0200
      Re: DOM 0 Reference Dr J R Stockton <reply1228@merlyn.demon.co.uk.not.invalid> - 2012-07-11 20:52 +0100
        Re: DOM 0 Reference Matt McDonald <matt@fortybelow.ca> - 2012-07-11 19:38 -0600
          Re: DOM 0 Reference Dr J R Stockton <reply1228@merlyn.demon.co.uk.not.invalid> - 2012-07-13 21:01 +0100

csiph-web