On Mon, 27 Jan 2025 14:35:30 GMT, Nizar Benalla <nbena...@openjdk.org> wrote:
>> When translating to some languages like Portuguese or Arabic google >> translate will modify the HTML and changes the value of the HTML title >> Attribute. >> Example when auto-translating the page to Arabic `<link rel="stylesheet" >> type="text/css" href="resource-files/jquery-ui.min.css" title="أسلوب">` >> >> This patch to add a `translate="no"` attribute to the HTML `link` tag used >> to link CSS stylesheets, this seems to prevent the translation of the >> `title` property by google chrome on my local machine. >> >> TIA > > Nizar Benalla has updated the pull request incrementally with one additional > commit since the last revision: > > respond to feedback It is part of the [alternative style sheets](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) mechanism, but alternative style sheets are not widely supported (see [browser support table](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets#browser_compatibility)), and we were not making proper use of the feature anyway (stylesheet title was same hard-coded value for all style sheets, even for custom style sheets). I also learned that today, btw. ------------- PR Comment: https://git.openjdk.org/jdk/pull/23263#issuecomment-2616286791