[3.1.0] Landed modified patch by Braden Anderson for %CSS.AllowedProperties
[htmlpurifier/bfroehle.git] / library / HTMLPurifier / ConfigSchema / schema / Filter.ExtractStyleBlocksScope.txt
blob2e410d35dea5b64d76f9f0702bc0d36a39c7e2f3
1 Filter.ExtractStyleBlocksScope\r
2 TYPE: string/null\r
3 VERSION: 3.0.0\r
4 DEFAULT: NULL\r
5 --DESCRIPTION--\r
6 \r
7 <p>\r
8   If you would like users to be able to define external stylesheets, but\r
9   only allow them to specify CSS declarations for a specific node and\r
10   prevent them from fiddling with other elements, use this directive.\r
11   It accepts any valid CSS selector, and will prepend this to any\r
12   CSS declaration extracted from the document. For example, if this\r
13   directive is set to <code>#user-content</code> and a user uses the\r
14   selector <code>a:hover</code>, the final selector will be\r
15   <code>#user-content a:hover</code>.\r
16 </p>\r
17 <p>\r
18   The comma shorthand may be used; consider the above example, with\r
19   <code>#user-content, #user-content2</code>, the final selector will\r
20   be <code>#user-content a:hover, #user-content2 a:hover</code>.\r
21 </p>\r
22 <p>\r
23   <strong>Warning:</strong> It is possible for users to bypass this measure\r
24   using a naughty + selector. This is a bug in CSS Tidy 1.3, not HTML\r
25   Purifier, and I am working to get it fixed. Until then, HTML Purifier\r
26   performs a basic check to prevent this.\r
27 </p>\r