[
http://jira.jboss.com/jira/browse/JBIDE-1960?page=comments#action_12407445 ]
Eric H commented on JBIDE-1960:
-------------------------------
I'm encountering a similar bug (the same bug?) in Tools 2.0.1, on Windows only. Here
is the test file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<body>
<p style="background: url(img/error.gif);">Yo yo yo!</p>
</body>
</html>
On Linux, the background image shows up as I'm editing. On Windows, the BG image does
not show up. When I run the file and it is opened in a real browser, it does show up on
both Windows and Linux.
Note that this isn't using a linked CSS sheet. This is an in-line style.
Problem with loading images from css style included with help of
<link> tag.
----------------------------------------------------------------------------
Key: JBIDE-1960
URL:
http://jira.jboss.com/jira/browse/JBIDE-1960
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.1
Reporter: Andrei Scherbovich
Assigned To: Maxim Areshkau
Fix For: 2.2.x
Attachments: Celebrere.zip, test.xhtml
Problem with loading css style included with help of <link> tag.
Steps:
1. EXECUTE: Unpack Celebrere.zip (attached) in WebContent/celebrere folder of a project
2. EXECUTE: Open index.html file in VPE and in browser
3. FAILURE: In VPE no header background image
4. EXECUTE: Open style.css file and find #header style declaration.
#header {
float: left;
position: relative;
width: 818px;
height: 139px;
text-align: left;
background-image: url(images/hd.gif);
background-repeat: no-repeat;
overflow: hidden;
font-family: Arial, Helvetica, sans-serif;
}
5. EXECUTE: Copy it into idex.html and refresh VPE
6. ASSERT: Now header background image is present
So now VPE has problem with resolving url if css style loaded via <link> tag.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira