This commit is contained in:
Florian Rappl 2019-05-15 00:57:00 +02:00
Родитель 782c2c7780
Коммит 7041c448c8
11 изменённых файлов: 21 добавлений и 8 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -13,7 +13,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="AngleSharp.Xml" Version="0.12.0" />
<PackageReference Include="AngleSharp.Xml" Version="0.12.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="NUnit" Version="3.11.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />

Просмотреть файл

@ -14,7 +14,7 @@
<copyright>Copyright 2016-2019, AngleSharp</copyright>
<tags>html html5 css css3 dom styling library anglesharp angle</tags>
<dependencies>
<dependency id="AngleSharp" version="0.12.0" />
<dependency id="AngleSharp" version="0.12.1" />
</dependencies>
</metadata>
</package>

Просмотреть файл

@ -10,7 +10,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AngleSharp" Version="0.12.0" />
<PackageReference Include="AngleSharp" Version="0.12.1" />
</ItemGroup>
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">

Просмотреть файл

@ -14,6 +14,7 @@
/// Gets a list of all CSS rules contained within the grouping block.
/// </summary>
[DomName("cssRules")]
[DomName("rules")]
ICssRuleList Rules { get; }
/// <summary>

Просмотреть файл

@ -19,6 +19,7 @@
/// Gets a CSSRuleList of the CSS rules in the media rule.
/// </summary>
[DomName("cssRules")]
[DomName("rules")]
ICssRuleList Rules { get; }
/// <summary>
@ -32,7 +33,7 @@
void Add(String rule);
/// <summary>
/// Deletes a keyframe rule from the current CSSKeyframesRule.
/// Deletes a keyframe rule from the current CSSKeyframesRule.
/// </summary>
/// <param name="key">
/// 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.
/// </summary>
/// <param name="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.
/// </param>
/// <returns>The keyframe or null.</returns>

Просмотреть файл

@ -21,6 +21,7 @@ namespace AngleSharp.Css.Dom
/// <param name="index">The 0-based index.</param>
/// <returns>The pseudo element, if any.</returns>
[DomName("item")]
[DomAccessor(Accessors.Getter)]
ICssPseudoElement this[Int32 index] { get; }
/// <summary>

Просмотреть файл

@ -1,4 +1,4 @@
namespace AngleSharp.Css.Dom
namespace AngleSharp.Css.Dom
{
using AngleSharp.Attributes;
using System;
@ -16,6 +16,7 @@
/// <param name="index">The 0-based index of the rule.</param>
/// <returns>The CSS rule at the given index, if any.</returns>
[DomName("item")]
[DomAccessor(Accessors.Getter)]
ICssRule this[Int32 index] { get; }
/// <summary>

Просмотреть файл

@ -21,6 +21,7 @@
/// Gets a CSSRuleList of the CSS rules in the style sheet.
/// </summary>
[DomName("cssRules")]
[DomName("rules")]
ICssRuleList Rules { get; }
/// <summary>

Просмотреть файл

@ -20,7 +20,7 @@
<ItemGroup>
<PackageReference Include="Alba.CsCss" version="1.0.1.0" />
<PackageReference Include="AngleSharp" Version="0.12.0" />
<PackageReference Include="AngleSharp" Version="0.12.1" />
<PackageReference Include="ExCSS" version="2.0.6" />
</ItemGroup>
</Project>

Просмотреть файл

@ -2,6 +2,6 @@
<PropertyGroup>
<Description>Extends the CSSOM from the core AngleSharp library.</Description>
<Product>AngleSharp.Css</Product>
<Version>0.13.0</Version>
<Version>0.12.1</Version>
</PropertyGroup>
</Project>