Author: vrubezhny
Date: 2012-02-22 04:32:00 -0500 (Wed, 22 Feb 2012)
New Revision: 38969
Modified:
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/indexResolveSelector.html
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/styleResolveSelector.css
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java
Log:
JBIDE-10127
Resolve selector in open-on of style class in VPE
org.jboss.tools.jst.text.ext.test.CSSStylesheetOpenOnTest.testCSSClassResolveSelectorOpenOn()
JUnit Test Test Case is updated.
Modified:
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/indexResolveSelector.html
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/indexResolveSelector.html 2012-02-22
09:31:08 UTC (rev 38968)
+++
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/indexResolveSelector.html 2012-02-22
09:32:00 UTC (rev 38969)
@@ -17,6 +17,9 @@
<div class="styleA">
div.styleA {color: #FF0080}
</div>
+ <div id="div34" class="styleA">
+ div#div34.styleA {color: yellow}
+ </div>
<div title="x" class="styleA">
div[title="x"].styleA {color: #0000FF}
</div>
Modified:
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/styleResolveSelector.css
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/styleResolveSelector.css 2012-02-22
09:31:08 UTC (rev 38968)
+++
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/projects/OpenOnTest/WebContent/styleResolveSelector.css 2012-02-22
09:32:00 UTC (rev 38969)
@@ -3,5 +3,6 @@
div.styleA {color: #FF0080}
div[title="x"].styleA {color: #0000FF}
p input.styleA {color: #CCAA00}
+[title="y"] p input.styleA {color: #00CCFF}
div p input.styleA {color: #CC00FF}
-[title="y"] p input.styleA {color: #00CCFF}
\ No newline at end of file
+div#div34.styleA {color: yellow}
\ No newline at end of file
Modified:
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java
===================================================================
---
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java 2012-02-22
09:31:08 UTC (rev 38968)
+++
trunk/jst/tests/org.jboss.tools.jst.text.ext.test/src/org/jboss/tools/jst/text/ext/test/CSSStylesheetOpenOnTest.java 2012-02-22
09:32:00 UTC (rev 38969)
@@ -308,6 +308,7 @@
".styleA {color: #FF0000}",
".styleA .styleB {color: #FF8000}",
"div.styleA {color: #FF0080}",
+ "div#div34.styleA {color: yellow}",
"div[title=\"x\"].styleA {color: #0000FF}",
"p input.styleA {color: #CCAA00}",
"div p input.styleA {color: #CC00FF}",
Show replies by date