On Tuesday, September 29, 2015 at 4:01:52 AM UTC-7, Axel Hecht wrote: > The question boils down to: > > Is there a DOM element where we wouldn't want to take the text content > and some attributes because one attribute is missing?
Technically no, morally yes. I believe that we should aim for element consistency, so if 'placeholder' or 'title' or 'ariaLabel' is missing, we should take the whole element from fallback. > Is there a DOM element where we wouldn't want to take the ..... because > the text content is missing? Same as above. If textContent is missing from an element and it should be there, we want to take it from fallback. And I opt for consistency of an element. > Do we need to sanitize obsolete attributes? Or is the code in > https://github.com/l20n/l20n.js/blob/master/src/bindings/html/overlay.js > strong enough? Stas? zb. _______________________________________________ tools-l10n mailing list [email protected] https://lists.mozilla.org/listinfo/tools-l10n
