[
https://issues.jboss.org/browse/JBIDE-10462?page=com.atlassian.jira.plugi...
]
Yahor Radtsevich updated JBIDE-10462:
-------------------------------------
Fix Version/s: 3.3.0.Beta1
Description:
Sometimes br pseudo-element puts into div and make there an extra space. It is visible
when background color of this div is not like body color. Maybe it is necessary to mare
this attribute not visible(add display:none into its style).
Style attributes of this element are specified in VpePseudoContentCreator, line 45.
Or, at least, give this element css class (and wrote styles for this element to your css
file)
*Update:*
A test HTML page:
{code:xml|title=test.html}
<html>
<body>
<p>The following div should be rendered as a line.</p>
<div style="border: red 1px solid"></div>
</body>
</html>
{code}
Output:
!screenshot-1.png|thumbnail!
was:
Sometimes br pseudo-element puts into div and make there an extra space. It is visible
when background color of this div is not like body color. Maybe it is necessary to mare
this attribute not visible(add display:none into its style).
Style attributes of this element are specified in VpePseudoContentCreator, line 45.
Or, at least, give this element css class (and wrote styles for this element to your css
file)
Assignee: Yahor Radtsevich
Component/s: Visual Page Editor core
I have updated the description.
br vpe:pseudo-element
---------------------
Key: JBIDE-10462
URL:
https://issues.jboss.org/browse/JBIDE-10462
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core, Visual Page Editor Templates
Environment: win7, eclipse 3.7.0
Reporter: Konstantin Marmalyukov
Assignee: Yahor Radtsevich
Priority: Minor
Labels: pseudo-element
Fix For: 3.3.0.Beta1
Attachments: screenshot-1.png
Sometimes br pseudo-element puts into div and make there an extra space. It is visible
when background color of this div is not like body color. Maybe it is necessary to mare
this attribute not visible(add display:none into its style).
Style attributes of this element are specified in VpePseudoContentCreator, line 45.
Or, at least, give this element css class (and wrote styles for this element to your css
file)
*Update:*
A test HTML page:
{code:xml|title=test.html}
<html>
<body>
<p>The following div should be rendered as a line.</p>
<div style="border: red 1px solid"></div>
</body>
</html>
{code}
Output:
!screenshot-1.png|thumbnail!
--
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