On Sat, Feb 28, 2015 at 8:15 AM, Robert O'Callahan <rob...@ocallahan.org> wrote:
> Summary: CSSOM Views specify offsetX/Y properties on MouseEvent. Other > browsers implement them. Many sites use it with a fallback for Firefox, but > I've found at least one site that doesn't have a fallback. It's trivial to > implement. > > Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=69787 > > Spec: http://www.w3.org/TR/cssom-view/#dom-mouseevent-offsetx > The spec has a few issues; I've posted to www-style about those, but I > don't think they'll have much effect in the wild. > > Platform coverage: All > Target release: Gecko 39 > > Preference behind which this will be implemented: I don't think this needs > one. Other browsers already have this. There is a bit of risk due to sites > taking a new path in Firefox, but I think it's low since this path is > already taken in IE and Blink so they won't be checking offsetX/Y and > switching on some Webkit-specific stuff, probably. > Oh, another issue is that I've followed the spec and made offsetX/Y doubles, whereas Blink is integers, which introduces a small amount compat risk. Rob -- oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo owohooo osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o oioso oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo owohooo osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro ooofo otohoeo ofoioroeo ooofo ohoeololo. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform