translate
attributeIntended audience:
users, HTML coders, script developers, CSS coders, Web project managers, and anyone who wants to know how translate
attributes work in current browsers.
Updated
These tests check whether browsers recognize the translate mode
of an element.
To see the test, click on the link in the left-most column. To see detailed results for a single test, click on a row and look just above the table. The detailed results show the date(s) the test result was recorded, and the version of the browser tested.
Any dependencies are shown in notes above the table, and notes below the table will usually provide any additional useful information, including an explanation of why a result was marked as 'partially successful'.
Key:
pass | fail | partially successful |
Links to run tests | Assertions | Gecko Firefox | Blink Chrome | Blink Opera | Webkit Safari | Legacy Edge | IE |
---|---|---|---|---|---|---|---|
no translate attribute the-translate-attribute-007.html |
In the default case, ie. with no translate attribute in the page, javascript will detect the translation mode of text as translate-enabled. | fail | pass | pass | pass | fail | fail |
translate=yes the-translate-attribute-008.html |
If the translate attribute is set to yes, javascript will detect the translation mode of text as translate-enabled. | fail | pass | pass | pass | fail | fail |
translate=no the-translate-attribute-009.html |
If the translate attribute is set to no, javascript will detect the translation mode of text as no-translate. | fail | pass | pass | pass | fail | fail |
translate inherits no the-translate-attribute-010.html |
If the translate attribute is set to no, javascript will detect the translation mode of elements inside that element with no translate flag as no-translate. | fail | pass | pass | pass | fail | fail |
translate=yes inside translate=no the-translate-attribute-011.html |
If the translate attribute is set to yes on an element inside an element with the translate attribute set to no, javascript will detect the translation mode of text in the inner element as translate-enabled. | fail | pass | pass | pass | fail | fail |
translate='' the-translate-attribute-012.html |
If the translate attribute is set to a null string, javascript will detect the translation mode of text as translate-enabled. | fail | pass | pass | pass | fail | fail |
Spec links for this table: link