W3C home > Mailing lists > Public > www-style@w3.org > April 2008

Re: [cssom-view] padding edge / border edge for offsetTop/offsetLeft?

From: Alan Gresley <alan@css-class.com>
Date: Fri, 25 Apr 2008 02:05:16 +1000
Message-ID: <4810AFBC.2080909@css-class.com>
To: Brad Kemper <brkemper@comcast.net>
CC: Anne van Kesteren <annevk@opera.com>, Mike Wilson <mikewse@hotmail.com>, 'Sylvain Galineau' <sylvaing@microsoft.com>, 'Www-style' <www-style@w3.org>

Brad Kemper wrote:
> 
> On Apr 24, 2008, at 8:04 AM, Alan Gresley wrote:
> 
>> Since this is relating to CSSOM and HTML5 which IE8 will not support 
>> and since IE8 'doesn't' have the 'hasLayout' hack/bug [1] why not just 
>> ignore what IE5~IE7 does. Then the quirks mode of IE9 will be IE8 
>> standard mode behavior. This seems the sensible approach for 
>> interoperability.
> 
> On the general pubic audience site I monitor, about half of the IE users 
> are on IE6 (about 35% of our total audience), and accessing during work 
> hours. I don't see any mad rush to IE8 anytime soon. It will be years 
> before the share of IE6 users (or IE8+ operating in some sort of IE6 
> mode) dwindles to insignificance.


That shouldn't matter. Whatever browser usage share is happening now 
should not hold future standard support hostage. The spec should be 
designed for the future ignoring the mistakes of the past.

At this point in time we have Gecko 1.8~1.9, Safari 3, Opera 9.5 and IE8 
all showing great consistency in support of CSS2.1 (some 
interoperability is happening now).

Where does that leave us (authors) if the parent with the offset child 
sits beside a float? I do not want it to have the layout that Opera 2.7 
(or earlier) or IE7 (or earlier) show. I want it to show as Gecko 
1.8~1.9, Safari 3, Opera 9.5 and IE8 does now.

If offsetTop/offsetLeft can only work if hasLayout is emulated in all 
implementations then these properties must be dropped from CSSOM?

This is why I asked how IE8 offsets div#x (or if this is going to be 
fixed in a later beta)?


Alan
Received on Thursday, 24 April 2008 16:06:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:05 GMT