Open Bug 87655 Opened 23 years ago Updated 2 years ago

Can't open pages in editor which has unresolved links to external stylesheets

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

mozilla1.5beta

People

(Reporter: sfraser_bugs, Unassigned)

Details

Comments from beppe: > I extracted this from another bug: > > I think I've narrowed the problem. Mozilla cannot (will not?) open HTML files > for editing if the URI prefix is file:// AND the target file has a LINK REL > statement pointing to a CSS file whose path is absolute, according to the httpd > document root for the website. > > For example, if the LINK REL statement is: > > <LINK REL="stylesheet" TYPE="text/css" HREF="/file.css> > > and I open the file with file:///usr/home/jubal/web/index.html, Mozilla will > fail to edit the file, because, presumably, /file.css does not exist on the > local filesystem. > > I hope that makes sense. > What I'd suggest for this issue is, if Editor encounters a file:// open request > and the LINK REL's HREF value is a path not found on the filesystem, present a > warning to the user that says: > > "File dependency /file.css not found on local filesystem. Continue editing? [Y/ N]"
Priority: -- → P2
Target Milestone: --- → mozilla1.0
Changing platform
Hardware: All → Macintosh
> <LINK REL="stylesheet" TYPE="text/css" HREF="/file.css> that sure doesn't look like valid html.
OS: Mac System 8.5 → All
Hardware: Macintosh → All
with the exception of the closing quote, which was just a bug reporting input error, it is correct.
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 (you can query for this string to delete spam or retrieve the list of bugs I've moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
removing myself from the cc list
Pre-sabbatical bug triage.
Target Milestone: mozilla1.0.1 → mozilla1.2alpha
Target Milestone: mozilla1.2alpha → mozilla1.5alpha
Target Milestone: mozilla1.5alpha → mozilla1.5beta
QA Contact: sujay → editor
Assignee: sfraser_bugs → nobody
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.