(Trying to be more disciplined about pinging dev-platform@ about web-exposed changes, a few other emails will come up in a bit)

Summary:
I plan to add the screenLeft and screenTop properties to the window, as aliases of screenX and screenY respectively, mostly for compat with other engines.

See https://github.com/w3c/csswg-drafts/issues/1091 for all the context.

Basically all other engines support it except Gecko.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1498860

It's not in the spec yet, but there's a spec PR adding it waiting on tests to be merged:

  https://github.com/w3c/csswg-drafts/pull/2669

Platform coverage: All

Estimated or target release: 64

Preference behind which this will be implemented: none

Is this feature enabled by default in sandboxed iframes? Yes

DevTools bug: N/A

web-platform-tests: https://github.com/web-platform-tests/wpt/pull/13543

I've verified that my implementation passes them of course, with the fix to them I've suggested in the review.

Is this feature restricted to secure contexts? No, this is a legacy interop issue and as such I don't think there's any point in restricting it to secure contexts since the aliased properties are exposed everywhere.

 -- Emilio
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to