Comment #27 on issue 2393 by ciryus432: Support user stylesheet
http://code.google.com/p/chromium/issues/detail?id=2393

Extensions can NOT achieve what a user stylesheet can do. The reason is  
pretty
simple: the CSS standard define levels of priority for resolving which  
rules apply to
an element (http://reference.sitepoint.com/css/cascade).

Having a user stylesheet allows to override ALL definition with the use of
'!important'. This is particularly important if one wants to change  
font-size of
font-family, and for all other concerns regarding accessibility.

The injection of CSS rules directly in the page, even if done correctly (ie  
also in
iframes) does not provide a simple way to have an 'overriding' rule that  
works all
the time. If it just happens that the CSS of the site as a more precise  
selector for
an element, their choice will override yours.
Maybe it could be done in an other way as an extension and respect  
priorities, in
which case this would be an acceptable solution.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to