Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10916

Visual Page Editor incorrectly deals with CSS classes.

XMLWordPrintable

    • Hide

      Steps to reproduce:

      EXECUTE: Import OpenOnTest project from <JBossToolsSrc>/jst/tests/org.jboss.tools.jst.text.ext.test/projects folder
      EXECUTE: Open /WebContent/indexResolveSelector.html in JBoss Tools HTML Editor (Make sure that Visual tabs are working), then switch it to Visual Tab.
      EXECUTE: Open the same file in Eclipse's Web Browser.
      ASSERT: According visible elements are to be colored equal in VPE and Web Browser. (Fail - See the screenshot attached)

      Show
      Steps to reproduce: EXECUTE: Import OpenOnTest project from <JBossToolsSrc>/jst/tests/org.jboss.tools.jst.text.ext.test/projects folder EXECUTE: Open /WebContent/indexResolveSelector.html in JBoss Tools HTML Editor (Make sure that Visual tabs are working), then switch it to Visual Tab. EXECUTE: Open the same file in Eclipse's Web Browser. ASSERT: According visible elements are to be colored equal in VPE and Web Browser. (Fail - See the screenshot attached)

      Visual Page Editor incorrectly deals with CSS classes.

      VPE deals with CSS classes in a way that differs from what Web Browser does.

      See the screenshot attached for the example of that difference: lines 4, 5 and 7 are colored differently despite the fact that they both are displaying the same HTML page.

            yradtsevich Yahor Radtsevich (Inactive)
            vrubezhny Victor Rubezhny (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: