[jbosstools-issues] [JBoss JIRA] (JBIDE-11290) Support rendering of <bdi> tag

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Wed Apr 11 10:11:47 EDT 2012


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

Denis Maliarevich edited comment on JBIDE-11290 at 4/11/12 10:11 AM:
---------------------------------------------------------------------

<bdi> tag was implemented as inline div.
For simple texts as in the example above -- div works fine.
For something more complex like
{code:html}
<div dir="ltr" lang="en">
<p dir="ltr" lang="en">This is a sample opening paragraph of a Wikipedia article about Vladimir Lenin. The number 24 is supposed to appear to the left of the Russian name:</p>
<p dir="rtl" lang="he">ולדימיר לנין (ברוסית: <bdi lang="ru">Владимир Ленин</bdi>, 24 באפריל 1870–22 בינואר 1924) הוא מנהיג פוליטי קומוניסטי רוסי.</p>
<p dir="ltr" lang="en">The following paragraph lists left-to-right names of MediaWiki developers. When such a list appears in a right-to-left paragraph, the comma is supposed to appear to the right of the space:</p>
<p dir="rtl" lang="he">אתר הוויקי הזה מופעל על ידי מדיה־ויקי, © 2001–2011 <bdi>Magnus Manske</bdi>, <bdi>Brion Vibber</bdi>, <bdi>Lee Daniel Crocker</bdi>, <bdi>Tim Starling</bdi>, <bdi>Erik Möller</bdi>.</p>
</div>
{code}
the direction is not always correct: !bdiAsDiv.png|thumbnail!
But I haven't found a better solution.


                
      was (Author: dmaliarevich):
    <bdi> tag was implemented as inline div.
For simple texts as in the example above -- div works fine.
For something more complex like
{code:html}
<div dir="ltr" lang="en">
<p dir="ltr" lang="en">This is a sample opening paragraph of a Wikipedia article about Vladimir Lenin. The number 24 is supposed to appear to the left of the Russian name:</p>
<p dir="rtl" lang="he">ולדימיר לנין (ברוסית: <bdi lang="ru">Владимир Ленин</bdi>, 24 באפריל 1870–22 בינואר 1924) הוא מנהיג פוליטי קומוניסטי רוסי.</p>
<p dir="ltr" lang="en">The following paragraph lists left-to-right names of MediaWiki developers. When such a list appears in a right-to-left paragraph, the comma is supposed to appear to the right of the space:</p>
<p dir="rtl" lang="he">אתר הוויקי הזה מופעל על ידי מדיה־ויקי, © 2001–2011 <bdi>Magnus Manske</bdi>, <bdi>Brion Vibber</bdi>, <bdi>Lee Daniel Crocker</bdi>, <bdi>Tim Starling</bdi>, <bdi>Erik Möller</bdi>.</p>
</div>
{code}
the direction is not always correct. But I haven't found a better solution.


                  
> Support rendering of <bdi> tag
> ------------------------------
>
>                 Key: JBIDE-11290
>                 URL: https://issues.jboss.org/browse/JBIDE-11290
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Visual Page Editor Templates
>    Affects Versions: 3.3.0.Beta1
>         Environment: JBT v. 3.3.0. Beta1e
>            Reporter: Vlado Pakan
>            Assignee: Denis Maliarevich
>             Fix For: 3.3.0.Beta3
>
>         Attachments: bdiAsDiv.png, bdiTagInExtBrowser.png, bdiTagInVpe.png, unknownTag.png
>
>
> Tag <bdi> is market with warning "Unknown tag". Also visual representation of tag is different than in external web browser.
> HTML code used in test page:
> {code:xml}
> <li>User <bdi>hrefs</bdi>: 60 points</li>
> <li>User <bdi>jdoe</bdi>: 80 points</li>
> <li>User <bdi>إيان</bdi>: 90 points</li>
> {code}
> Warning in VPE:
> !unknownTag.png!
> Visual representation in VPE:
> !bdiTagInVpe.png!
> Visual representation in external web browser:
> !bdiTagInExtBrowser.png!

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