Bug 1433715 - Make fallback folder icon content-accessible. r=Gijs

The skin used on Firefox for Android doesn't style directory listing, hence we
fall back to using the default icon from gre/res/html. As of bug 863246, this
location is no longer accessible from content as a resource://, hence the file
needs moving into the special content-accessible directory.

MozReview-Commit-ID: obtefafqul

--HG--
extra : rebase_source : 0227487abb4914a11f5749c493d215a1fec45e46
This commit is contained in:
Jan Henning 2018-01-28 23:01:42 +01:00
Родитель c4601413b4
Коммит faa05c4265
4 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -694,7 +694,6 @@
#endif
@RESPATH@/res/fonts/*
@RESPATH@/res/dtd/*
@RESPATH@/res/html/*
@RESPATH@/res/language.properties
#ifdef XP_MACOSX
@RESPATH@/res/MainMenu.nib/

Просмотреть файл

@ -212,7 +212,7 @@ LOCAL_INCLUDES += [
JAR_MANIFESTS += ['jar.mn']
RESOURCE_FILES.html = [
CONTENT_ACCESSIBLE_FILES.html = [
'folder.png',
]

Просмотреть файл

@ -468,7 +468,6 @@
@BINPATH@/res/table-remove-row.gif
@BINPATH@/res/grabber.gif
@BINPATH@/res/dtd/*
@BINPATH@/res/html/*
@BINPATH@/res/language.properties
#ifndef MOZ_ANDROID_EXCLUDE_FONTS

Просмотреть файл

@ -351,7 +351,7 @@ nsIndexedToHTML::DoOnStartRequest(nsIRequest* request, nsISupports *aContext,
" vertical-align: middle;\n"
"}\n"
".dir::before {\n"
" content: url(resource://gre/res/html/folder.png);\n"
" content: url(resource://content-accessible/html/folder.png);\n"
"}\n"
"</style>\n"
"<link rel=\"stylesheet\" media=\"screen, projection\" type=\"text/css\""