| Summary: | [Hover] Create test suite for tooltips | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | Editor | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | emoffatt, libingw, Michael_Rennie |
| Version: | 9.0 | ||
| Target Milestone: | 11.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Curtis Windatt
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=d592a2dc8e9b2042946e611917a730456526f618 Created an initial test suite that creates a text view in the page and opens tooltips. The text cases look way more complicated than they need to be because Internet Explorer creates divs and other elements at floating point sizes (i.e. height: 499.99997, width: 397.45623). Implemented: - show/hide API - positioning around fixed anchor - default height/width - max width/height To do: - maxWidth/Height while positioned around an anchor - update() onHover API - fixed tooltip position I already found one issue, bug 482852 from the tests. I noticed that there is no check that a set position anchor or tooltip is withing the editor view. I don't think this should be considered a bug though (allows us to use editor tooltips on the navigator for example). http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=a6811ad7c90e783afbe1e35a6d57beaca5273893 Added more tests While there are more possible cases, this gives us a good check against regressions in the tooltip API and sizing calculations. Marking as FIXED. |