Subject:
|
Re: MSIE5 better but still buggy (was: Re: Why MSIE sucks for the HTML writer)
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Mon, 20 Mar 2000 19:45:53 GMT
|
Viewed:
|
1534 times
|
| |
| |
In lugnet.admin.general, Todd Lehman writes:
>
> Well, maybe you're right about that after all. According to section 8.1.3 of
> RFC1866[1] (HTML 2.0), "[t]he initial state has the first option selected,
> unless a SELECTED attribute is present on any of the <OPTION> elements."
> (This is completely bizarre!)
>
> The HTML 4.0 spec redefines this to be undefined (it's up to the application
> whether or not to select the first item in this case).
>
> Thus, it appears that Netscape _went against_ the HTML 2.0 spec when it
> implemented the <SELECT> tag, and that Microsoft _adhered_ to the HTML 2.0
> spec when it implemented the <SELECT> tag. We could say then that it's
> actually the spec itself which is broken, since it provides no way to
> guarantee that a multiple-select list box comes up with exactly zero items
> preselected. To its credit, in violating the HTML 2.0 spec, Netscape made
> the <SELECT> tag work better than it was intended to. It is unfortunate
> (IMHO) that Microsoft did not also violate the spec. If they had, then
> the HTML 4.0 might now define <SELECT> in a more versatile way than the
> crippled way that it does now. >
Ok, well I couldn't stop from smiling when I read your post.
It sounds to me that Netscape did a little "embracing and extending" of its
own in this area :)
> Does MSIE give any other way (though perhaps
> some other ATTRIBUTE) whereby an HTML author can send a multiple-select list
> and guarantee that _zero_ of the list items are preselected? That would be
> a nice workaround to the shortcoming in the spec.
I don't understand your question...
|
|
Message has 1 Reply:
Message is in Reply To:
131 Messages in This Thread: (Inline display suppressed due to large size. Click Dots below to view.)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|