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

Visual Page Editor incorrectly deals with CSS classes.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.M5
    • None
    • Ubuntu x64, Eclipse 3.7.1

    • 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.

        1. Screenshot.jpg
          92 kB
          Victor Rubezhny

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

                Created:
                Updated:
                Resolved: