mdn / mdn/browser-compat-data

html.global_attributes.translate - translating a span on edge will result on removing all it's content

Open
#26,188 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:edge data:html info needed
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

The following situation occurs on Microsoft edge 134.0.3124.51 (Official build) (arm64):

 <span translate="no">sea</span>

will result in the following element after i right mouse-click and hit translate to dutch:

<font _mstmutation="1" _msttexthash="27820" _msthash="1"><span translate="no" role="menuitem" _mstmutation="1" _istranslated="1"></span></font>

As you can see Edge removed all it's content. instead of that it should just "not" translate the word sea here, it displays nothing.

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79+, Opera, Samsung Internet)

What did you expect to see?

i expect to see to see the very same word even after translation

Did you test this? If so, how?
  1. i loaded a page on edge with the: sea
  2. i right mouse-click on translate to dutch
  3. the content of the span disapeared
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/translate

MDN metadata
MDN page report details
  • Query: html.global_attributes.translate
  • Report started: 2025-03-11T14:48:34.283Z

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the compatibility-data entry for the html.global_attributes.translate query and compare it with the behavior reported for Edge 134 on the linked MDN page. Confirm what support information should be represented for Chromium-based browsers, then update the relevant data and run the repository's validation checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.