| Summary: | Javascript GCTest fails in Firefox 3.0 | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.3 | ||
| Target Milestone: | 1.3 RC1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Ralf Sternberg
In Firefox, the <canvas> context "font" attribute requires Gecko 1.9.1 ( Firefox 3.5+ ). As we don't use canvas for drawing the text (for the same reason - Firefox 3.5+ is needed ) we can introduce "font" property in GC.js instead of canvas context. Looking more deeply into the issue I found that the problem is not in the "font" attribute itself, but in context save() and restore() function. As canvas context "font" attribute is not supported in FF < 3.5, save/restore do not respect it. We don't use save/restore of "font" attribute in our code, thus - no broken functionality. Need to fix only the test somehow. Fixed in CVS HEAD. |