[Webkit-unassigned] [Bug 240047] Date times do not respect the system's 12/24-hour time format override

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 10 19:37:48 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240047

--- Comment #8 from Myles C. Maxfield <mmaxfield at apple.com> ---
(In reply to John Wilander from comment #7)
> (In reply to Myles C. Maxfield from comment #5)
> > Another option here is to adjust the implementation of <input time="time">
> > to make its contents unobservable by the webpage. Then it could potentially
> > take users' preferences into account.
> > 
> > This approach won't work for toLocaleDateTimeString() though, of course.
> 
> Wouldn’t the page be able to distinguish the width of a rendered time
> string? That’s a classic circumvention of attempts to hide characters or
> even fonts.

When I say "make its contents unobservable," I'm including "width" in the notion of "contents."

Or, said a different way, one of the requirements to make its contents unobservable is to hardcode the width of the element so it doesn't depend on the string width.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220511/f6d5793a/attachment.htm>


More information about the webkit-unassigned mailing list