Re: standard bug / suggestion: scroll bar placement in frames


Thanks for your answer.

As you may imagine, I'm not a standards or CSS expert so some of its subtleties may be lost on me. And to me it does look a little too complex for a problem I view as rather simple. So I'll try to answer as well as I can.

I'm not sure what kinds of elements have this problem. I have an example page, I can attach it if you'd like but not right now because I'm in kind of a hurry and it would take some time to make sure it behaves as it should (that is, problematic). I'll do it in one of my next posts.

Your quote from CSS21:

"In the case of a scrollbar being placed on an edge of the element's box, it should be inserted between the inner border edge and the outer padding edge. The space taken up by the scrollbars affects the computation of the dimensions in the rendering model."

What I get from it is that even if it may not mandate the current behavior, it strongly suggests it. Is there any wording in the standard that suggests placing the scroll bars at the edges of the visible area ? I suppose there isn't, and so no wonder all browsers do as they do. I'm even surprised that you say there are some frame elements which do behave correctly (or maybe I haven't understood you right). I don't remember having seen anything like this.

Anyway, IMO the simple solution would be that the standard mandates the good behavior for any sort of frame element, not leaving anything to the choice of the implementer. Or if that is deemed to be too difficult to do, though I cannot imagine why - I don't know, you should at least suggest it, or find some other solution, you're the experts.

That's about the best I can say on the issue.

V. Sim.


Received on Wednesday, 26 November 2008 13:16:30 UTC