[jbosstools-issues] [JBoss JIRA] (JBIDE-10916) Visual Page Editor incorrectly deals with CSS classes.

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Thu Feb 16 05:10:36 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-10916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667034#comment-12667034 ] 

Yahor Radtsevich commented on JBIDE-10916:
------------------------------------------

This issue seems to be a duplicate of JBIDE-10126.
In brief, yes, some complex styles are rendered wrong by VPE. This happens because VPE does not always map HTML code to DOM nodes one to one. Sometimes it wraps real HTML elements in another elements for internal purposes (for example, to make possible to select these nodes by mouse), or some HTML attributes may be missed in rendered DOM tree (e.g. title attribute which is used to make hints about what is under cursor).

This is a "robbing Peter to pay Paul" situation. We can either drop these VPE features, or render CSS incorrectly.
                
> Visual Page Editor incorrectly deals with CSS classes.
> ------------------------------------------------------
>
>                 Key: JBIDE-10916
>                 URL: https://issues.jboss.org/browse/JBIDE-10916
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M5
>         Environment: Ubuntu x64, Eclipse 3.7.1
>            Reporter: Victor Rubezhny
>            Assignee: Yahor Radtsevich
>         Attachments: Screenshot.jpg
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list