Re: Script error on Google Homepage

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Roland Hall wrote:
> So, you're saying that a browser, as long as it supports
> every standard in the list, it can do whatever the hell
> else is wants and still be compliant?

Absolutely not. I do not use the word "compliant" in any software context.



>> That page does not specify how innerHTML SUPPORT should
>> look. It does not, for example, explain how getAttribute
>> should behave when innerHTML has been changed.
>
> Why would innerHTML doc explain getAttribute?

A proper innerHTML specification would explain exactly what the browser
needed to accomplish with respect to the document structure. This would be
especially important with innerHTML because the very nature of innerHTML
opens a huge hole in the validity of your HTML.

To understand what I mean, consider the range of things that could go wrong
if you tried something like this:

myObj.innerHTML = "</td>"

Your "specification" does not explain how the browser should behave when
told to break the structure of the document. I assume you understand SQL
injection. Think "HTML injection" here.

Can YOU offer us a concise and complete set of rules governing when
attributes in elements inserted via innerHTML change should be accessible to
getAttribute?



>> "100% standards compliant" makes no sense to me.
>
> I see that.

But you don't appear to understand it. There are hundreds of specifications.
Which ones comprise the 100% group?



>> Which standards, specifically?
>
> The ones on the list.

Which list? The word "specifically" is not ambiguous.



>> Conformance does not require you to find a standard for each
>> feature.
>
> Cool. I like createPopup()

Good for you. I could not care less about it than I do. Note that I do not
dislike it. I simply do not care about it. I only care that Internet
Explorer does not support such things as attribute selectors, or that IE
incorrectly implements getElementById().

If I do my job correctly -- coding to standards -- I would like the client
to do its job -- conforming to those same standards. Client support for such
garbage as createPopup() is rendered irrelevant by my decision to use
standards, so I have no reason to care about such support.



> So, are you looking for more conformance or compliance in your
> browser?

All of us would like more conformance to more standards -- as a developer, I
am specifically interested in (X)HTML, CSS and DOM conformance.


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.



.



Relevant Pages

  • Re: document.write and problems with how it overwrites existing code
    ... >>> Here's the problem with the property 'innerHTML'. ... the script writer risks (at a higher probability than ... > versions of a browser which strictly adhere to standards. ...
    (comp.lang.javascript)
  • Re: Script error on Google Homepage
    ... And there are certainly levels of conformance. ... > even with a strict doctype so it's not standards compliant. ... >> how innerHTML support should look? ...
    (microsoft.public.scripting.jscript)
  • Re: Need help on modifying and assembly of a small program!
    ... "broken"...every other "main" browser handles the situation correctly, ... per the W3C standards and RFCs that they should... ... Microsoft won't listen to "put a human on the end of the postmaster ... have two hard drives in it (one 15GB, the other 4GB...yes, not too great by ...
    (alt.lang.asm)
  • Re: Development with IE 7 for non-Windows users.
    ... and standards compliant, but the reality is that the Internet is a segmented ... market with a menangery of browser platforms in use by users. ... I don't want to bash Microsoft, but I feel this is starting to ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Personals Site - designer needed.
    ... >>> with a browser only the smallest of minorities would use? ... And the "universal" ones that comply with w3c standards. ... >>> attempted to access the site using Lynx. ... > My point is that if they render properly in the browsers that make up ...
    (uk.people.disability)