Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Re: Help needed...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 10 of 11 Topic 35513 of 37128
Post > Topic >>

Re: Help needed: do***ent true width and height?

by VK <schools_ring@[EMAIL PROTECTED] > May 7, 2008 at 04:32 PM

On May 8, 3:16 am, GTalbot <newsgr...@[EMAIL PROTECTED]
> wrote:
> On 7 mai, 18:13, VK <schools_r...@[EMAIL PROTECTED]
> wrote:
>
> > Any way I guess we'll stick for now with
> >  do***ent.do***entElement.scrollWidth
> >  do***ent.do***entElement.scrollHeight
> > and see if they are still usable for the standard border-box box
> > model.
>
> > And Safari just has to keep trying to become a modern browser. One day
> > they may finally succeed though the chances are getting lower every
> > year onward.
>
> VK,
> you can file a bug for sup****t of
> do***ent.do***entElement.scrollWidth
> do***ent.do***entElement.scrollHeight
> at https://bugs.webkit.org/index.cgi?GoAheadAndLogIn=1

Maybe some later - or you are welcome to do it on my behalf - I am not
so concerned about bug copyrights :-)

With all these offset/content/scroll Width/Height/Top/Left one may get
quickly exhausted by filing bugs to different UA producers. It just
happened that scrollWhatever is broken for Safari but "only" buggy on
others. IMO the best would be to trash out all these properties all
together as no one reliably does what claimed and never did ever since
IE4/NN4. Instead I would file a bug to W3C, CC to Microsoft and
Mozilla asking to stop this nonsense and to define

 .trueWidth
 true width of the container if it would be shown
 without scrollbars

 .trueHeight
 true height of the container if it would be shown
 without scrollbars

 .view****tWidth
 the width of the container currently shown

 .view****tHeight
 the height of the container currently shown

 .absoluteX
 X distance from the trueWidth left border in px

 .absoluteY
 Y distance from the trueHeight right border in px

 .vew****tX
 X distance from the view****t left border in px

 .vew****tY
 Y distance from the view****t right border in px

Yes, I know - silly dreams. But can we dream at least sometimes...
 




 11 Posts in Topic:
Help needed: document true width and height?
VK <schools_ring@[EMAI  2008-05-07 10:30:25 
Re: Help needed: document true width and height?
Martin Honnen <mahotra  2008-05-07 19:45:18 
Re: Help needed: document true width and height?
GTalbot <newsgroup@[EM  2008-05-07 11:06:18 
Re: Help needed: document true width and height?
VK <schools_ring@[EMAI  2008-05-07 11:34:57 
Re: Help needed: document true width and height?
GTalbot <newsgroup@[EM  2008-05-07 11:49:21 
Re: Help needed: document true width and height?
GTalbot <newsgroup@[EM  2008-05-07 11:50:54 
Re: Help needed: document true width and height?
VK <schools_ring@[EMAI  2008-05-07 12:35:36 
Re: Help needed: document true width and height?
VK <schools_ring@[EMAI  2008-05-07 15:13:49 
Re: Help needed: document true width and height?
GTalbot <newsgroup@[EM  2008-05-07 16:16:05 
Re: Help needed: document true width and height?
VK <schools_ring@[EMAI  2008-05-07 16:32:07 
Re: Help needed: document true width and height?
GTalbot <newsgroup@[EM  2008-05-07 21:25:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 14:55:33 CDT 2008.