[webkit-dev] Request for thoughts on the need to control screen brightness

2022-03-22 Thread François Beaufort  via webkit-dev
Hello WebKit folks,

Since 2018, the W3C Devices and Sensors Working Group has received
significant requests from web developers surrounding the need to increase
the brightness of a device's screen.

Multiple solutions have been proposed in
https://github.com/w3c/screen-wake-lock/blob/gh-pages/brightness-mode-explainer.md
:
- Screen extension: await screen.requestBrightnessIncrease();
- Screen Wake Lock integration: await navigator.wakeLock.request({
increaseBrightness: true });
- navigator.screenBrightness
- and more.

We would really appreciate WebKit's folks reviewing this document and
possibly providing alternative solutions.

Thank you very much for your time and consideration!
Francois.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Request for HTMLInputElement showPicker()

2021-12-13 Thread François Beaufort  via webkit-dev
Hi webkit-dev,

This is a request for WebKit's position on adding showPicker() to 
elements as newly specified by the HTML spec. It addresses a very common
request from web developers: programmatically showing a picker for controls
like date etc.

Spec:
   https://html.spec.whatwg.org/multipage/input.html#dom-input-showpicker

Discussion:
  https://github.com/whatwg/html/pull/7319

WebKit bug:
   https://bugs.webkit.org/show_bug.cgi?id=234009

Best.
François
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Request for position: Honor media HTML attribute for link icon

2021-03-03 Thread François Beaufort  via webkit-dev
Hi webkit-dev,

This is a request for WebKit's position on honoring the media HTML
attribute for link[rel="icon"] as specified by the HTML spec.

Spec:

https://html.spec.whatwg.org/multipage/semantics.html#processing-the-media-attribute

Discussion:
  https://github.com/whatwg/html/issues/6408

Existing WebKit bug:
   https://bugs.webkit.org/show_bug.cgi?id=68861

Summary:

The link element’s “media” attribute will be honored for link[rel="icon"]
so that web developers can define multiple equally appropriate icons based
on a media query (dark and light modes for instance). The last one that
matches will be picked.

Note that browsers don’t currently honor the media attribute for
link[rel="icon"] even though the HTML specification says they should:
"Icons could be auditory icons, visual icons, or other kinds of icons. If
multiple icons are provided, the user agent must select the most
appropriate icon according to the type, media, and sizes attributes."


Best.
François
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] WebKit position on Web NFC

2020-01-22 Thread François Beaufort 
Gentle ping.

On Mon, Jan 13, 2020 at 12:56 PM François Beaufort  <
fbeauf...@google.com> wrote:

> As promised earlier, here's the intent to experiment thread URL we've just
> sent to blink-dev:
> https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/8bsAd-PsdbA
>
> It would be greatly appreciated if you could share specifics about your
> decision.
> Some alternative designs would also help moving this discussion forward.
>
> Thank you,
> Francois.
>
> On Mon, Jan 6, 2020 at 10:48 PM Maciej Stachowiak  wrote:
>
>>
>> We oppose this feature and will not implement it.
>>
>> We do not believe a permission prompt is a sufficient mitigation for the
>> serious security and privacy risks raised by this specification. In
>> addition, we think exposing direct hardware access to the web is a bad idea
>> and compromises the device-independence of the web platform.
>>
>> We can provide more details if desired but it may take a few days.
>>
>> On Jan 5, 2020, at 11:40 PM, François Beaufort  
>> wrote:
>>
>> Hello WebKit Dev folks,
>>
>> Following Maciej's invitation to send requests for positions on Web API
>> proposals to webkit-dev, we would like to know WebKit's position on Web
>> NFC: https://w3c.github.io/web-nfc/
>>
>> Web NFC aims to provide sites the ability to read and write to nearby NFC
>> devices. The current scope is limited to NDEF, a lightweight binary message
>> format. Low-level I/O operations with the ISO-DEP protocol and Host-based
>> Card Emulation (HCE) are not supported.
>>
>> FYI, an intent to experiment will be posted soon on blink-dev.
>> I'll update this webkit-dev thread with the URL when done.
>>
>> TAG Review: https://github.com/w3ctag/design-reviews/issues/461
>> Chromestatus URL: https://www.chromestatus.com/features/6261030015467520
>> Mozilla standards-positions:
>> https://github.com/mozilla/standards-positions/issues/238
>>
>> Thank you,
>> Francois.
>> ___
>> webkit-dev mailing list
>> webkit-dev@lists.webkit.org
>> https://lists.webkit.org/mailman/listinfo/webkit-dev
>>
>>
>>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev