Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 302975

Summary: [Browser] Support basic CSS properties
Product: [RT] RAP Reporter: Bogdan B. <bbarzu>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: bbarzu
Version: 1.3   
Target Milestone: 1.3 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Bogdan B. CLA 2010-02-16 12:07:24 EST
Build Identifier: M5

Any chance of getting CSS support for a Browser widget by the release of RAP1.3?
Especially for the property "border"?

I just need to draw a flat looking border around a Browser widget, to be able to use it inside a FormEditor. And since FormToolkit.paintBordersFor() is not implemented in RAP ...

Reproducible: Always
Comment 1 Bogdan B. CLA 2010-02-16 12:11:34 EST
By the way, is there a newer version of the RWT theming reference than the one I use:
http://help.eclipse.org/galileo/topic/org.eclipse.rap.help/help/html/reference/theming/index.html

, or this is the right one?
Comment 2 RĂ¼diger Herrmann CLA 2010-02-16 12:48:00 EST
It should be possible to implement this in the near future.
In the meanwhile you may embed the browser Widget into a Composite that has the desired border applied.

Regarding documentation:
The URL mention in comment #1 applies to the Galileo release (RAP 1.2). CSS documentation for milestone builds is published with the RAP Tooling.
Comment 3 Ivan Furnadjiev CLA 2010-02-16 15:35:41 EST
Browser is now themeable widget with one CSS property - "border". Example:
Browser[BORDER] {
  border: 5px solid red;
}
Changes are in CVS HEAD.