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

Bug 464443

Summary: [CSS] Diagrams are not CSSViews
Product: [Modeling] Papyrus Reporter: Christian Damus <give.a.damus>
Component: DiagramAssignee: Christian Damus <give.a.damus>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cletavernier
Version: 1.1.0   
Target Milestone: M7   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/45696
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=23d0944ec2ff4681c1699cf014205964a7e593ba
Whiteboard:
Bug Depends on:    
Bug Blocks: 433206    

Description Christian Damus CLA 2015-04-11 09:42:21 EDT
Papyrus Mars M6

The CSSDiagram is a specialization of Diagram (which is a specialization of View) but it is not a specialization of CSSView.  Hence, a diagram is not itself stylable with CSS.  Among other consequences (such as setting gradients and other properties with CSS), it is not possible to use a CSS stylesheet to make a diagram in its entirety canonically synchronized with a stylesheet like this:

  * { canonical: true; }

For behaviour diagrams it doesn't matter because the diagram surface as such isn't interesting (everything happens within the behaviour's frame) but for class, component, deployment, use case diagrams it is important.
Comment 1 Eclipse Genie CLA 2015-04-11 09:47:31 EDT
New Gerrit change created: https://git.eclipse.org/r/45696
Comment 3 Camille Letavernier CLA 2015-04-21 10:27:52 EDT
> Gerrit change https://git.eclipse.org/r/45696 was merged to [master].

I close the task