laptop and a wrench

漏洞

Styles applied to the text element of a TextSymbol do not properly honor a range of styles such as the color, background color, and text shadow.

上次发布: November 20, 2015 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000092242
已提交November 17, 2015
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本3.14
操作系统Windows OS
操作系统版本7.0 64 Bit
状态Known Limit

附加信息

This is due to the internal styling of TextElement. Users can view this in Chrome's developer tools. This styling overrides what is set within the CSS and is by design. As a workaround, work with SVG and CSS to get the desired results. Graphics are rendered using SVG, so use text attributes such as fill, fill opacity, stroke, and so forth. More information on working with SVG can be found at https://developers.arcgis.com/javascript/jshelp/inside_styling_svg.html

重现步骤

漏洞 ID: BUG-000092242

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项