tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitris Zenios (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2106) Tapestry should pass CSS file URLs that are not relative file references (inlcuding VML URLs) through unchanged
Date Mon, 20 May 2013 20:37:16 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662337#comment-13662337
] 

Dimitris Zenios commented on TAP5-2106:
---------------------------------------

It looks like is still not fixed.

@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
/**
 * Default theme for reveal.js.
 *
 * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
 */
@font-face {
  font-family: 'League Gothic';
  src: url("../../lib/font/league_gothic-webfont.eot");
  src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"),
url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf")
format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
  font-weight: normal;
  font-style: normal; }


This piece of code is not replaced correctly.This is the result

@import url("https://fonts.googleapis.com/css");
/**
 * Default theme for reveal.js.
 *
 * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
 */
@font-face {
  font-family: 'League Gothic';
  src: url("/partner/assets/meta/11098f6a/reveal/lib/font/league_gothic-webfont.eot");
  src: url("/partner/assets/meta/11098f6a/reveal/lib/font/league_gothic-webfont.eot?#iefix")
format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"),
url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular")
format("svg");
  font-weight: normal;
  font-style: normal; }


>From the http import all the url parameters are removed and from the font face only the
first one is being replaced
                
> Tapestry should pass CSS file URLs that are not relative file references (inlcuding VML
URLs) through unchanged
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2106
>                 URL: https://issues.apache.org/jira/browse/TAP5-2106
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Michael Gentry
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.4
>
>
> T5.4 doesn't handle CSS URLs in this format:
>     behavior: url(#default#VML);
> It fails upon re-writing the URL.  This may also impact 5.3.x (didn't evaluate that version).
> Related user-list e-mail thread:
> http://mail-archives.apache.org/mod_mbox/tapestry-users/201304.mbox/%3cCAA-upzqY4WNyfpeck1HxVyMxH=8jE2Bt96Ocx6b7oak+HmBpLQ@mail.gmail.com%3e

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message