| Summary: | [Theming] Possible optimization in ConditionalValues computation | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 1.2 | ||
| Target Milestone: | 1.3 M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed in CVS HEAD. See StyleSheet#getValues(). |
Conditional values returned by StyleSheet#getValues( String, String ) contain redundant elements whenever properties are overwritten in a stylesheet. Such values are unnecessarily sent to the client. Example: This stylesheet yields a two-element array for getValues( "Button", "color" ) although only the first one is ever needed. * { color: red; } Button { color: blue; }