Open
Bug 354804
Opened 18 years ago
Updated 8 years ago
remove unnecessary code from help.css
Categories
(SeaMonkey :: Help Viewer, defect)
SeaMonkey
Help Viewer
Tracking
(Not tracked)
NEW
People
(Reporter: ogirtd, Assigned: jwalden+fxhelp)
Details
Attachments
(1 file)
4.40 KB,
text/css
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20060918 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20060918 Firefox/2.0 Button home & button print can't be disabled in Help -> Help Contents. Therefore, we can remove everything that deals with this issues. This code: #help-home-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 72px 48px 48px); } #help-home-button[disabled="true"] { -moz-image-region: rect(48px 72px 72px 48px); } #help-home-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 72px 96px 48px); } #help-print-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 96px 48px 72px); } #help-print-button[disabled="true"] { -moz-image-region: rect(48px 96px 72px 72px); } #help-print-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 96px 96px 72px); } Can be converted to this: #help-home-button:hover { -moz-image-region: rect(24px 72px 48px 48px); } #help-home-button:hover:active { -moz-image-region: rect(72px 72px 96px 48px); } #help-print-button:hover { -moz-image-region: rect(24px 96px 48px 72px); } #help-print-button:hover:active { -moz-image-region: rect(72px 96px 96px 72px); } Reproducible: Always
Updated•18 years ago
|
Assignee: nobody → jwalden+fxhelp
Component: General → Help Viewer
Product: Firefox → Toolkit
QA Contact: general → help
Summary: remove unnecessary code from classic/help/help.css → remove unnecessary code from help.css
Version: unspecified → Trunk
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 1•18 years ago
|
||
If you're going to do that, you should also remove the disabled states from help's Toolbar.png.
I don't see why help/Toolbar.png is necessary - why not simply using browser/Toolbar.png instead?
Comment 3•18 years ago
|
||
Because that would create a /toolkit dependency on a /browser file.
Can someone please remove the disabled states from help's Toolbar.png?
Updated•8 years ago
|
Product: Toolkit → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•