[Webkit-unassigned] [Bug 26415] New: External CSS with angular brackets in XSL breaks UIWebView in iPhone

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 15 14:44:33 PDT 2009


           Summary: External CSS with angular brackets in XSL breaks
                    UIWebView in iPhone
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aral at aralbalkan.com

Loading an XSL file into a UIWebView that has an external CSS file with angular
brackets in it (for the selectors) results in an invalid document (nothing

To test, 

Simplified from my app:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"

<xsl:template match="/">
        <!--<link href="iui.css" rel="stylesheet" type="text/css"/>-->
        <style media="screen" type="text/css">  
                        @import url("iui.css"); 
       <link xmlns="http://www.w3.org/1999/xhtml" rel="stylesheet"
type="text/css" href="iui.css"/>
        <script type="application/x-javascript" src="iui.js"
     <h1>This doc won't render in UIWebView on iPhone</h1>

None of the methods of linking the stylesheet work (wrapping it in CDATA
doesn't help). To see the stylesheet in question, see:


If you go into iui.css and manually escape all angular brackets to >, the
document renders (but, of course, the CSS is messed up).

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list