screen-orientation icon indicating copy to clipboard operation
screen-orientation copied to clipboard

Add can-lock-orientation CSS media feature

Open marcoscaceres opened this issue 4 months ago • 2 comments

  • Implement can-lock-orientation media feature for Issue #206
  • Add privacy considerations to prevent fingerprinting through user preferences
  • Include examples showing CSS and JavaScript usage
  • Update abstract to mention CSS media features

Closes #206

The following tasks have been completed:

  • [ ] Modified Web platform tests (link to pull request)

Implementation commitment:

  • [ ] WebKit (https://bugs.webkit.org/enter_bug.cgi)
  • [ ] Chromium (https://bugs.chromium.org/p/chromium/issues/detail?id=)
  • [ ] Gecko (https://bugzilla.mozilla.org/show_bug.cgi?id=)

Preview | Diff

marcoscaceres avatar Oct 17 '25 07:10 marcoscaceres

Why is this a media feature out of curiosity? Feels rather odd, is there any precedent for these can-*?

emilio avatar Nov 11 '25 08:11 emilio

@Emilio, it's where we landed with: https://github.com/w3c/screen-orientation/issues/206

But yes, the name is terrible.

marcoscaceres avatar Nov 11 '25 10:11 marcoscaceres