Opened 5 years ago

Closed 4 years ago

#11877 closed bug (fixed)

Web+ issues with images defined in a css

Reported by: humdinger Owned by: pulkomandy
Priority: normal Milestone: R1
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


This is hrev48830.

Web+ won't display an image defined in a css file, if the css file isn't in the same folder as the html file referencing it. This is seen when opening the Haiku Welcome page haiku/docs/welcome/welcome_en.html. The css is in the same folder, no problem.
Viewing haiku/docs/welcome/en/bugreports.html which is one level below the css file, the logo at the top is missing. This is a snippet of the css file, if that should matter:

#banner div {
	background: transparent url(images/logo.png) no-repeat scroll 10px 0;
	min-width: 59em;
	max-width: 70em;
	height: 100%;
	margin: 0 auto;

QupZilla has no issues displaying the logo.

Change History (4)

comment:1 by pulkomandy, 5 years ago

Is this online over http, or only when opening local files? (or both?)

comment:2 by humdinger, 5 years ago

Works for the online version, doesn't when you have the Welcome page locally installed.

comment:3 by pulkomandy, 4 years ago

This should be fixed now. Can you test and confirm?

comment:4 by humdinger, 4 years ago

Resolution: fixed
Status: newclosed

Works indeed. Thanks!

Note: See TracTickets for help on using tickets.