| Summary: | [Tree] TreeItems show & instead of & in IE8 | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Chris Fairhall <chris> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | tbuschto |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M6 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Chris Fairhall
I can reproduce it too in IE8. This is a regression after implementing markup in Table. It is reproducible with IE9 as well. TreeRow#_getVisualTextWidth calls item.getText with parameter true ( to escape the text ). This call lazily escapes the item text. After the recent IE optimizations (get use of innerText instead of innerHtml), item text should never be escaped for IE as it is done by the browser itself (when innerText is used). Probably, a proper implementation of lazy escaping is need in TreeItem#getText. Fixed in CVS HEAD. The text to measure is now taken from the DOM where its already escaped. |