Closed Bug 184384 Opened 22 years ago Closed 22 years ago

background image link remains Absolute, even after setting to Relative

Categories

(Core :: DOM: Editor, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 167262

People

(Reporter: rolan, Assigned: cmanske)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130

When using Format->Page Colors and Background...
to set the Background Image:, the link becomes absolute.
Clicking the checkbox (URL is relative to page location) will appear to make the
link relative, however after clicking OK, it becomes absolute again.
(ie. file:///D:/mydir/myimage.jpg )
Even if the filename is entered manually (ie myimage.jpg) - without using the
"Choose File" option, something causes the link to become absolute again.





Reproducible: Always

Steps to Reproduce:
1.Enter Composer
2.Click Format->Page Colors and Background...
3.Set a background image (relative link)
4.Click OK
5.Go back into Page Colors and Background...
6.See that it becomes absolute (ie. file:///D:/mydir/myimage.jpg )
7.Try and set it reltave by removing "file:///D:/mydir/" and clicking OK
8.Go back and see that it becomes absolute again

Actual Results:  
The link remained Absolute even when explicitly entering in as relative.

Expected Results:  
The link should become relative

I went into edit <HTML> Source, changed the file to relative, went back into
Normal mode, and it went back to Absolute.
charlie, akkana, daniel: can any of you take this one?
Assignee: jfrancis → cmanske
It looks like a dup of bug 167262.
Please check if "preferences/composer/"Use CSS-Styles instead..." is selected.
Yes, this is a dup

*** This bug has been marked as a duplicate of 167262 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.