[Javascript] Re: Standards

Chris Tifer christ at saeweb.com
Fri Apr 11 15:01:45 CDT 2003


I'd like to see how you do your styles. My comments are inline:


> Well, I won't provide an exhaustive list, but just in several minutes of
> testing I found the following:
>
>     (1)    font-sizing directives don't work one-to-one and onto

Not quite sure what "one-to-one and onto" mean, but using something like:
font: 12px arial; works just fine.

>     (2)    Image boundary zones aren't respected (margin-top,
margin-right,
> etc.)

<img src="http://www.emailajoke.com/images/ver4/common/topLogo.gif"
border="1" style="margin-top: 10px; margin-right: 0px;">

Test

Shows differently than:

<img src="http://www.emailajoke.com/images/ver4/common/topLogo.gif"
border="1" style="margin-top: 10px; margin-right: 20px;">

Test


>     (3)    button labels don't appear

What type of labels are you talking about here? I don't know of any
possible label declarations available through CSS


>     (4)    layers -- still use Netscape proprietary methods for hiding
> (visibility doesn't render the same way)

Adding visibility: hidden; to the above image will make it disappear.
WithOUT being in a layer or anything like that.


>     (5)    borders all default to standard grey, and relief declarations
> don't work properly

Is there a standard default border color out there that's been defined and
accepted by browser makers?

>     (6)    cellspacing declarations are ignored, or altered substantially

I couldn't get a cellspacing property to work in either browser. How
do you accomplish this?

>     (7)    CSS definitions pertaining to the internals of text fields,
> pull-downs, etc. either don't work at all or are
>             substantially modified from their declared values


If I recall correctly, I thought I had found that with SELECT lists,
NN had MORE control than IE, but I don't have any code handy.

Also, something like this:

<form>
 <input type="text" name="test" size="20" value="test" style="padding: 15px;
color: #FF0000; background: #000000;">
</form>

Actually works more to how I would imagine it should in NN than
in IE. It adds the padding to the text. In IE, it's still there, but the
textbox didn't get any larget so you can't tell...


>     (8)    Key events are still flaky, and the masks don't conform to
> HTML4.0 spec.  Don't worry, IE doesn't make the
>             grade on this one either.
>


I'm sure the masks aren't that good, but key events are stable, as
we went over just yesterday or two days ago. They've even been
working since NN4. How you handle them is different, but in the
end, that's not a CSS issue, but a scripting issue.

Chris Tifer

P.S. Keep in mind that I used to bash NN constantly. It's just
obvious to me that they're FINALLY trying to do something about
the bad reputation they were earning.



More information about the Javascript mailing list