You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org> on 2007/06/09 22:14:26 UTC

[jira] Resolved: (TAPESTRY-1552) @Any divs with no body content render
shorthand form

     [ https://issues.apache.org/jira/browse/TAPESTRY-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert resolved TAPESTRY-1552.
-------------------------------------

    Resolution: Fixed
      Assignee: Jesse Kuhnert

> @Any divs with no body content render <div /> shorthand form
> ------------------------------------------------------------
>
>                 Key: TAPESTRY-1552
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1552
>             Project: Tapestry
>          Issue Type: Bug
>            Reporter: Jeremy F. Kassis
>            Assignee: Jesse Kuhnert
>             Fix For: 4.1.2
>
>
> Here's a short bugzilla discussion between me and my UI engineer...
> The following line:
>      <div class="photo_frame" title="ognl:'invite ' + invitee.username" jwcid="@Any"></div>
> outputs the following code in "view source" using Firefox 1.5.0.12.
>      <div title="invite jkassis" class="photo_frame" id="Any_1" />
> The problem is with the way the div is terminated.  For Firefox to function
> properly, divs need to be terminated like so <div contents></div> and not <div
> contents />
> It tends to generate very hard to track down browser rendering bugs.
> I can't give you any more guidance about why this is happening or where else it
> may be happening right now, but please check it out when you get a chance.
> ------- Comment #1 From Jeremy Kassis 2007-06-05 16:44 [reply] -------
> (In reply to comment #0)
> >  The following line:
> > <div class="photo_frame" title="ognl:'invite ' + invitee.username"
> > jwcid="@Any"></div>
> This source looks OK. Only thing remarkable about it is that it is an @Any
> component with no body content. Tapestry may by trying try to save characters
> by rendering it in the shorthand form.
> Not much I can do about this but put an &nbsp; in there. Thankfully, this kind
> of code (a <div> with no body content) shouldn't happen too frequently.
> ------- Comment #2 From Erik Burns 2007-06-05 16:57 [reply] -------
> yeah, that fixed it.  before we close it though... do you want to mail howard
> or the tapestry mailing list about this?  If his code DOES truncate divs to
> save space, it's a pretty big Tapestry bug since truncated divs don't render
> properly on Firefox 1.0 or 1.5.  I also seem to remember a few other browser
> choke on that, possibly Opera.  It would help us and other developers if the
> Tapestry framework didn't do this type of thing.
> Anyways, log it with the Tapestry list or don't.  Your &nbsp; hack fixed the
> problem (for now).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org