tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Blower (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-1048) Support for IE conditional stylesheets will need changes to DocumentLinkerImpl
Date Wed, 10 Mar 2010 11:53:27 GMT
Support for IE conditional stylesheets will need changes to DocumentLinkerImpl
------------------------------------------------------------------------------

                 Key: TAP5-1048
                 URL: https://issues.apache.org/jira/browse/TAP5-1048
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.1.0.5
            Reporter: Andy Blower
            Priority: Minor


I'm having the issue described in TAP5-56, and although it's fairly easily solved using a
component (see: http://markmail.org/message/aidg4w223t5yaass) or some other way, this is still
not sufficient. The problem is in the ordering of the stylesheets in the final rendered HTML
output. The addStylesheetsToHead() method of DocumentLinkerImpl adds the included stylesheets
and then moves them before any stylesheet links already in the dom. This fails if one of the
existing stylesheet links is a conditional one, as findExistingElement() doesn't find the
comment.

I've tried modifying the service, but because comments are Raw node, it seems impossible to
put a bunch of Element nodes before one in the DOM.

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


Mime
View raw message