Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] CSS3 Migration Roadmap

Hi all,

 

 

As you may know, we are planning a migration from CSS 2.1 to CSS 3 in Papyrus 1.1/Mars [1]. We’re getting close to M6 and not everything is ready yet, so here’s the new Roadmap:

 

For M6:

-          Push the new CSS3 X-Text Editor [2]

-          Update all the tooling depending on this editor (CSS Debug View, Style Creation/Edition menus)

 

This implies the suppression of the plug-in org.eclipse.papyrus.infra.gmfdiag.css.xtext/.ui and the addition of org.eclipse.papyrus.infra.gmfdiag.css3.xtext/.ui

 

Note that the renaming isn’t mandatory, but it makes it clear that it is a different an entirely incompatible plug-in (The grammar has been rewritten – actually copied from the one from E(fx)clipse, without all the java-fx-dependent tooling. We’ll do better in Mars +1 in coordination with people from E(fx)clipse)

 

Then for M7:

-          Push the new CSS3 Runtime Parser [3]

-          Push the new CSS3 Engine, including support for CSS3 Selectors [4]

 

Regarding the Engine and Parser, these changes shouldn’t have any impact on the API, since we’re still using the E4 CSS Interfaces (+ Extensions from Papyrus), and the Engine/Parser shouldn’t be used directly anyway, so it’s safe to push it after M6.

 

Note that the new CSS3 Runtime/Engine/Tooling doesn’t mean that we actually *support* CSS3 modules. In fact, only the new selectors will be supported (In M7): “Starts with”, “Ends with”, “Contains (substring)”, “Negation”. Other modules will be supported as new features either in the service releases, or in Mars +1 (Not really defined yet)

 

There are two reasons why the Engine/Parser can’t be integrated for M6 (Although it is ready): the CQ for Phloc CSS hasn’t been approved yet, and there are many branches to be merged before M6 already. Given the short delay, I’ll avoid introducing potential new conflicts :)

 

[1] 455189: [CSS] Update Papyrus to support CSS 3

https://bugs.eclipse.org/bugs/show_bug.cgi?id=455189

 

[2] 455190: [CSS 3] Update the CSS X-Text Grammar to CSS 3

https://bugs.eclipse.org/bugs/show_bug.cgi?id=455190

 

[3] 455196: [CSS3 - Parser] CSS3 Parser for the Papyrus CSS Engine

https://bugs.eclipse.org/bugs/show_bug.cgi?id=455196

 

[4] 455192: [CSS 3] Support the CSS Selectors Level 3

https://bugs.eclipse.org/bugs/show_bug.cgi?id=455192

 

 

Regards,
Camille


Back to the top