Last change
on this file since 13067 was
12762,
checked in by aballeit, 9 years ago
|
#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)
|
File size:
1.9 KB
|
Line | |
---|
1 | using System;
|
---|
2 |
|
---|
3 | namespace SharpVectors.Dom.Css
|
---|
4 | {
|
---|
5 | /// <summary>
|
---|
6 | /// The CSSMediaRule interface represents a @media rule in a CSS style sheet. A @media rule can be used to delimit style rules for specific media types
|
---|
7 | /// </summary>
|
---|
8 | /// <developer>niklas@protocol7.com</developer>
|
---|
9 | /// <completed>100</completed>
|
---|
10 | public interface ICssMediaRule : ICssRule
|
---|
11 | {
|
---|
12 | /// <summary>
|
---|
13 | /// Used to delete a rule from the media block.
|
---|
14 | /// </summary>
|
---|
15 | /// <param name="index">The index within the media block's rule collection of the rule to remove.</param>
|
---|
16 | /// <exception cref="DomException">INDEX_SIZE_ERR: Raised if the specified index does not correspond to a rule in the media rule list.</exception>
|
---|
17 | /// <exception cref="DomException">NO_MODIFICATION_ALLOWED_ERR: Raised if this media rule is readonly</exception>
|
---|
18 | void DeleteRule(ulong index);
|
---|
19 |
|
---|
20 | /// <summary>
|
---|
21 | /// Used to insert a new rule into the media block.
|
---|
22 | /// </summary>
|
---|
23 | /// <param name="rule">The parsable text representing the rule. For rule sets this contains both the selector and the style declaration. For at-rules, this specifies both the at-identifier and the rule content.</param>
|
---|
24 | /// <param name="index">The index within the media block's rule collection of the rule before which to insert the specified rule. If the specified index is equal to the length of the media blocks's rule collection, the rule will be added to the end of the media block.</param>
|
---|
25 | /// <returns>The index within the media block's rule collection of the newly inserted rule</returns>
|
---|
26 | ulong InsertRule(string rule, ulong index);
|
---|
27 |
|
---|
28 | /// <summary>
|
---|
29 | /// A list of all CSS rules contained within the media block.
|
---|
30 | /// </summary>
|
---|
31 | SharpVectors.Dom.Css.ICssRuleList CssRules{get;}
|
---|
32 |
|
---|
33 | /// <summary>
|
---|
34 | /// A list of media types for this rule
|
---|
35 | /// </summary>
|
---|
36 | SharpVectors.Dom.Stylesheets.IMediaList Media{get;}
|
---|
37 | }
|
---|
38 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.