From 7041c448c8d04ff20e94343907989f3f745ccaa1 Mon Sep 17 00:00:00 2001 From: Florian Rappl Date: Wed, 15 May 2019 00:57:00 +0200 Subject: [PATCH] Updated to 0.12.1 --- CHANGELOG.md | 8 ++++++++ src/AngleSharp.Css.Tests/AngleSharp.Css.Tests.csproj | 2 +- src/AngleSharp.Css.nuspec | 2 +- src/AngleSharp.Css/AngleSharp.Css.csproj | 2 +- src/AngleSharp.Css/Dom/ICssGroupingRule.cs | 1 + src/AngleSharp.Css/Dom/ICssKeyframesRule.cs | 5 +++-- src/AngleSharp.Css/Dom/ICssPseudoElementList.cs | 1 + src/AngleSharp.Css/Dom/ICssRuleList.cs | 3 ++- src/AngleSharp.Css/Dom/ICssStyleSheet.cs | 1 + .../AngleSharp.Performance.Css.csproj | 2 +- src/Directory.Build.props | 2 +- 11 files changed, 21 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb3042d..fdc1a0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# 0.12.1 + +Released on Wednesday, May 15 2019. + +- Binary version fix +- Fixed indexers are missing a `DomAccessorAttribute` (#30) +- Added `cssRules` alias: `rules` (#29) + # 0.12.0 Released on Sunday, May 12 2019. diff --git a/src/AngleSharp.Css.Tests/AngleSharp.Css.Tests.csproj b/src/AngleSharp.Css.Tests/AngleSharp.Css.Tests.csproj index db2c258..8e3df29 100644 --- a/src/AngleSharp.Css.Tests/AngleSharp.Css.Tests.csproj +++ b/src/AngleSharp.Css.Tests/AngleSharp.Css.Tests.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/AngleSharp.Css.nuspec b/src/AngleSharp.Css.nuspec index 1d8fac7..4b9fa45 100644 --- a/src/AngleSharp.Css.nuspec +++ b/src/AngleSharp.Css.nuspec @@ -14,7 +14,7 @@ Copyright 2016-2019, AngleSharp html html5 css css3 dom styling library anglesharp angle - + diff --git a/src/AngleSharp.Css/AngleSharp.Css.csproj b/src/AngleSharp.Css/AngleSharp.Css.csproj index 7053301..378be46 100644 --- a/src/AngleSharp.Css/AngleSharp.Css.csproj +++ b/src/AngleSharp.Css/AngleSharp.Css.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/AngleSharp.Css/Dom/ICssGroupingRule.cs b/src/AngleSharp.Css/Dom/ICssGroupingRule.cs index 69fc5a2..56b0d45 100644 --- a/src/AngleSharp.Css/Dom/ICssGroupingRule.cs +++ b/src/AngleSharp.Css/Dom/ICssGroupingRule.cs @@ -14,6 +14,7 @@ /// Gets a list of all CSS rules contained within the grouping block. /// [DomName("cssRules")] + [DomName("rules")] ICssRuleList Rules { get; } /// diff --git a/src/AngleSharp.Css/Dom/ICssKeyframesRule.cs b/src/AngleSharp.Css/Dom/ICssKeyframesRule.cs index 4d508b4..9998a51 100644 --- a/src/AngleSharp.Css/Dom/ICssKeyframesRule.cs +++ b/src/AngleSharp.Css/Dom/ICssKeyframesRule.cs @@ -19,6 +19,7 @@ /// Gets a CSSRuleList of the CSS rules in the media rule. /// [DomName("cssRules")] + [DomName("rules")] ICssRuleList Rules { get; } /// @@ -32,7 +33,7 @@ void Add(String rule); /// - /// Deletes a keyframe rule from the current CSSKeyframesRule. + /// Deletes a keyframe rule from the current CSSKeyframesRule. /// /// /// The index of the keyframe to be deleted, expressed as a string @@ -45,7 +46,7 @@ /// Returns a keyframe rule corresponding to the given key. /// /// - /// A string containing an index of the keyframe to be returned, + /// A string containing an index of the keyframe to be returned, /// resolving to a number between 0 and 1. /// /// The keyframe or null. diff --git a/src/AngleSharp.Css/Dom/ICssPseudoElementList.cs b/src/AngleSharp.Css/Dom/ICssPseudoElementList.cs index 43e0012..86f4895 100644 --- a/src/AngleSharp.Css/Dom/ICssPseudoElementList.cs +++ b/src/AngleSharp.Css/Dom/ICssPseudoElementList.cs @@ -21,6 +21,7 @@ namespace AngleSharp.Css.Dom /// The 0-based index. /// The pseudo element, if any. [DomName("item")] + [DomAccessor(Accessors.Getter)] ICssPseudoElement this[Int32 index] { get; } /// diff --git a/src/AngleSharp.Css/Dom/ICssRuleList.cs b/src/AngleSharp.Css/Dom/ICssRuleList.cs index 01b958c..aca005e 100644 --- a/src/AngleSharp.Css/Dom/ICssRuleList.cs +++ b/src/AngleSharp.Css/Dom/ICssRuleList.cs @@ -1,4 +1,4 @@ -namespace AngleSharp.Css.Dom +namespace AngleSharp.Css.Dom { using AngleSharp.Attributes; using System; @@ -16,6 +16,7 @@ /// The 0-based index of the rule. /// The CSS rule at the given index, if any. [DomName("item")] + [DomAccessor(Accessors.Getter)] ICssRule this[Int32 index] { get; } /// diff --git a/src/AngleSharp.Css/Dom/ICssStyleSheet.cs b/src/AngleSharp.Css/Dom/ICssStyleSheet.cs index 1413ddd..e5f7dd9 100644 --- a/src/AngleSharp.Css/Dom/ICssStyleSheet.cs +++ b/src/AngleSharp.Css/Dom/ICssStyleSheet.cs @@ -21,6 +21,7 @@ /// Gets a CSSRuleList of the CSS rules in the style sheet. /// [DomName("cssRules")] + [DomName("rules")] ICssRuleList Rules { get; } /// diff --git a/src/AngleSharp.Performance.Css/AngleSharp.Performance.Css.csproj b/src/AngleSharp.Performance.Css/AngleSharp.Performance.Css.csproj index e0318a3..bacd4a0 100644 --- a/src/AngleSharp.Performance.Css/AngleSharp.Performance.Css.csproj +++ b/src/AngleSharp.Performance.Css/AngleSharp.Performance.Css.csproj @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/src/Directory.Build.props b/src/Directory.Build.props index dd2c65a..e40eb8d 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,6 +2,6 @@ Extends the CSSOM from the core AngleSharp library. AngleSharp.Css - 0.13.0 + 0.12.1 \ No newline at end of file