Closed
Bug 286925
Opened 20 years ago
Closed 20 years ago
Ability to disable specific css properties
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bugmail-mozilla, Assigned: dbaron)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-CH; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-CH; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 It would be nice to be able to disable specific CSS properties. I will be very useful especially with CSS3 invasive properties coming like the Target properties (http://www.w3.org/TR/css3-hyperlinks/#target0), CSS cursors (url), fonts and so on. Theese properties are not yet implemented, but it would be nice to be able to prevent some properties to be used from now, for example colors, position etc. This could work for example like the javascript policies. Reproducible: Always
Comment 1•20 years ago
|
||
Wouldn't a few rules in your user stylesheet fix this? something like:
* {
property: <non-invasive-value> ! important;
}
(see http://www.squarefree.com/userstyles/user-style-sheets.html)| Assignee | ||
Comment 2•20 years ago
|
||
User stylesheets work fine, although there are issues with pseudo-elements, and they could be a little easier to use. But the bug as filed works for me.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•