Sent by Jukka K. Korpela on 13 September 2003 13:01
On Fri, 12 Sep 2003, Brian Cummiskey wrote:
> Thanks for those links. According to the MSDN site:
> "visible Default. Content is not clipped and scroll bars are not added.
> Elements are clipped to the size of the containing window or frame "
>
> Now, if that is default, that is saying that no scroll bars will ever
> show up?
Yes, and this Microsoft description of overflow-x is in accordance with
the specification of the overflow property in CSS 2, see
http://www.w3.org/TR/REC-CSS2/visufx.html#propdef-overflow
if we read "default" as "initial value". The Microsoft wording is
misleading, since for the root element (<html>), the default (the
hypothetical setting in browser's default style sheet) is auto.
> If that's the case, I defintely don't want that.
For the root element, the reasonable setting is auto. In fact, for IE 6
in "standards mode", you can simply use
html { overflow: auto; }
to make the scroll bar appear only when needed. So the nonstandard
overflow-x is not needed for this purpose.
> >> Exactly how did you carry out validation?
>
> I ran the validator from the uri to my stylesheet, and didn't fill in
> any of the selections on the w3 validtor site at first. It defaulted to
> media = all according to the sheet. It gave that as a Warning.
Yes, I can verify that. It's odd that when asked to "validate" against
CSS 2, it reports non-CSS 2 features with warnings only. The same happens
when the "profile" is set to CSS 1.
> When I ran it as media = screen, it gave that as an Error, not a
> warning. So, it looks like it's a screen issue, not a 2 vs 3 issue.
The CSS 1 and CSS 2 specifications clearly say that all properties can be
assigned to all elements. But not all assignments have an effect. It would
be odd if they changed this fundamental principle in the possibly
forthcoming CSS 3.
But when I tried with media = screen, I get the same "Congratulations".
If I switch off warnings in the "CSS Validator" interface, I get
"Congratulations" with no warnings. So the "CSS Validator", when asked to
check compliance with CSS 2, now claims that a style sheet with
overflow-x setting "validates as CSS" and is "valid CSS".
On the practical side, this means that we should never switch off warnings
in the "CSS Validator".
--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/