D
David Mark
[snip]
Since I know you will ask, I suggest you look at properties and
methods that have been copied from IE. Some are on their way to
becoming standards. The best example is getBoundingClientRect. By
your formula, scripts would have assumed that IE was the only browser
to implement that method. Most of the majors do now and it may well
become a "real" standard.
And yes, the browser developers are very careful to mimic such
properties to a fault. Those guys are really quite predictable. They
do things that are in their own best interest.
What you can never predict are correlations between browser names,
versions and supported features. I thought this Dean guy was the last
person on earth who did not understand this. Are there now two in
that club?
The goal of cross-browser scripting is to reduce the number of
assumptions being made by checking for functionality. But in some
cases, abandoning browser sniffing in favor or feature detection is
just switching to a different set of assumptions that may or may not
be less fragile. IMO.
Since I know you will ask, I suggest you look at properties and
methods that have been copied from IE. Some are on their way to
becoming standards. The best example is getBoundingClientRect. By
your formula, scripts would have assumed that IE was the only browser
to implement that method. Most of the majors do now and it may well
become a "real" standard.
And yes, the browser developers are very careful to mimic such
properties to a fault. Those guys are really quite predictable. They
do things that are in their own best interest.
What you can never predict are correlations between browser names,
versions and supported features. I thought this Dean guy was the last
person on earth who did not understand this. Are there now two in
that club?