Re: [mediacapture-main] 'label' needs direction and language metadata (#665)

That's the problem with examples given as recommendations - it's impossible to track down whether they are actually used in practice.

If I read https://heycam.github.io/webidl/#idl-stringifiers correctly, this construct:

dictionary LocalizableWithStringDefault {
    stringifier DOMString value;
    DOMString lang;
    DOMString dir;
}

would do the trick.

@aphillips would such a construct satisfy your concerns?

Given that we would still need 2 browsers to implement this feature in order to get MEDIACAPTURE-MAIN to REC status, I am not committing to the idea; I am asking whether that would satisfy the concerns raised.


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/665#issuecomment-933286389 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 4 October 2021 09:02:00 UTC