Skip to content

Commit

Permalink
Merge pull request #108 from AngleSharp/devel
Browse files Browse the repository at this point in the history
Release 0.16.4
  • Loading branch information
FlorianRappl authored Feb 15, 2022
2 parents beb4292 + 15deaee commit a754c9a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 0.16.4
Released on ?, February ? 2022.

- Fixed issue with wrong AngleSharp version used for build (#103)

# 0.16.3

Released on Wednesday, January 5 2022.
Expand Down
4 changes: 2 additions & 2 deletions src/AngleSharp.Css/AngleSharp.Css.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="AngleSharp" Version="0.16.0" />
<PackageReference Include="AngleSharp" Version="0.16.1" />
</ItemGroup>

<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
<DelaySign>false</DelaySign>
</PropertyGroup>
</Project>
</Project>
6 changes: 3 additions & 3 deletions src/AngleSharp.Css/Values/Primitives/Color.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace AngleSharp.Css.Values
/// Represents a color value.
/// </summary>
[StructLayout(LayoutKind.Explicit, Pack = 1, CharSet = CharSet.Unicode)]
struct Color : IEquatable<Color>, IComparable<Color>, ICssPrimitiveValue
public struct Color : IEquatable<Color>, IComparable<Color>, ICssPrimitiveValue
{
#region Basic colors

Expand Down Expand Up @@ -337,7 +337,7 @@ public static Color FromHwba(Double h, Double w, Double b, Double alpha)
var green = 0.0;
var blue = 0.0;

if (ratio < 1.0)
if (ratio < 1.0)
{
w *= ratio;
b *= ratio;
Expand All @@ -354,7 +354,7 @@ public static Color FromHwba(Double h, Double w, Double b, Double alpha)
var v = 1.0 - b;
var n = w + f * (v - w);

switch (p)
switch (p)
{
default:
case 6:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<ItemGroup>
<PackageReference Include="Alba.CsCss" version="1.0.1.0" />
<PackageReference Include="AngleSharp" Version="0.16.0" />
<PackageReference Include="AngleSharp" Version="0.16.1" />
<PackageReference Include="ExCSS" version="2.0.6" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<PropertyGroup>
<Description>Extends the CSSOM from the core AngleSharp library.</Description>
<Product>AngleSharp.Css</Product>
<Version>0.16.3</Version>
<Version>0.16.4</Version>
</PropertyGroup>
</Project>

0 comments on commit a754c9a

Please sign in to comment.