You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DOM element, like all DOM elements, accepts a lang attribute that is used to define language specific treatment for font selection (when fonts have locale specific glyphs). Browsers respect this attribute. However, when an OffscreenCanvas is created there is no way to set locale information, possibly resulting in a state where an offscreen canvas produces rendered results that differ from the canvas in which it's output is used. This feature adds a lang IDL attribute to CanvasTextDrawingStyles to give developers direct control over the language for the text drawing and metrics.
The text was updated successfully, but these errors were encountered:
Request for Mozilla Position on an Emerging Web Specification
lang
IDL Attribute to CanvasTextDrawingStyles, and clarify "direction" on same whatwg/html#10873@
-mention GitHub accounts): @schenney-chromiumOther information
The DOM element, like all DOM elements, accepts a
lang
attribute that is used to define language specific treatment for font selection (when fonts have locale specific glyphs). Browsers respect this attribute. However, when an OffscreenCanvas is created there is no way to set locale information, possibly resulting in a state where an offscreen canvas produces rendered results that differ from the canvas in which it's output is used. This feature adds alang
IDL attribute to CanvasTextDrawingStyles to give developers direct control over the language for the text drawing and metrics.The text was updated successfully, but these errors were encountered: