~fusonic/chive/1.1

« back to all changes in this revision

Viewing changes to yii/vendors/htmlpurifier/standalone/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksScope.txt

  • Committer: Matthias Burtscher
  • Date: 2010-02-12 09:12:35 UTC
  • Revision ID: matthias.burtscher@fusonic.net-20100212091235-jqxrb62klx872ajc
* Updated Yii to 1.1.0
* Removed CodePress and CodeMirror
* Updated jQuery and some plugins
* Cleaned some code ...

Show diffs side-by-side

added added

removed removed

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