zbraniecki / fluent-domoverlays-js

Fluent DOM Overlays (JS)
1 stars 0 forks source link

Allow for `id="named-arg"` scope to align named dom nodes #14

Open Pike opened 5 years ago

Pike commented 5 years ago

Right now, data-l10n-name is the only attribute that creates a named mapping between pre- and post-translation DOM.

Gijs mentioned the id attribute in https://github.com/zbraniecki/fluent-domoverlays-js/issues/13#issuecomment-478610457.

Filing an issue to open that up for discussion separately.

zbraniecki commented 5 years ago

That sounds good. I was thinking of using class for that, to avoid the semantic meaning of id being document-scoped, but I'm not very strongly opinionated here.