Skip to content

Commit a754c9a

Browse files
authored
Merge pull request #108 from AngleSharp/devel
Release 0.16.4
2 parents beb4292 + 15deaee commit a754c9a

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 0.16.4
2+
Released on ?, February ? 2022.
3+
4+
- Fixed issue with wrong AngleSharp version used for build (#103)
5+
16
# 0.16.3
27

38
Released on Wednesday, January 5 2022.

src/AngleSharp.Css/AngleSharp.Css.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
</ItemGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="AngleSharp" Version="0.16.0" />
24+
<PackageReference Include="AngleSharp" Version="0.16.1" />
2525
</ItemGroup>
2626

2727
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
2828
<DelaySign>false</DelaySign>
2929
</PropertyGroup>
30-
</Project>
30+
</Project>

src/AngleSharp.Css/Values/Primitives/Color.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace AngleSharp.Css.Values
1010
/// Represents a color value.
1111
/// </summary>
1212
[StructLayout(LayoutKind.Explicit, Pack = 1, CharSet = CharSet.Unicode)]
13-
struct Color : IEquatable<Color>, IComparable<Color>, ICssPrimitiveValue
13+
public struct Color : IEquatable<Color>, IComparable<Color>, ICssPrimitiveValue
1414
{
1515
#region Basic colors
1616

@@ -337,7 +337,7 @@ public static Color FromHwba(Double h, Double w, Double b, Double alpha)
337337
var green = 0.0;
338338
var blue = 0.0;
339339

340-
if (ratio < 1.0)
340+
if (ratio < 1.0)
341341
{
342342
w *= ratio;
343343
b *= ratio;
@@ -354,7 +354,7 @@ public static Color FromHwba(Double h, Double w, Double b, Double alpha)
354354
var v = 1.0 - b;
355355
var n = w + f * (v - w);
356356

357-
switch (p)
357+
switch (p)
358358
{
359359
default:
360360
case 6:

src/AngleSharp.Performance.Css/AngleSharp.Performance.Css.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<ItemGroup>
2323
<PackageReference Include="Alba.CsCss" version="1.0.1.0" />
24-
<PackageReference Include="AngleSharp" Version="0.16.0" />
24+
<PackageReference Include="AngleSharp" Version="0.16.1" />
2525
<PackageReference Include="ExCSS" version="2.0.6" />
2626
</ItemGroup>
2727
</Project>

src/Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<PropertyGroup>
33
<Description>Extends the CSSOM from the core AngleSharp library.</Description>
44
<Product>AngleSharp.Css</Product>
5-
<Version>0.16.3</Version>
5+
<Version>0.16.4</Version>
66
</PropertyGroup>
77
</Project>

0 commit comments

Comments
 (0)