Skip to content

Commit

Permalink
Fix unit names in UnitNames.cs
Browse files Browse the repository at this point in the history
Change "radiants" to "Radians" for the CSS "rad" unit (see https://developer.mozilla.org/en-US/docs/Web/CSS/angle#units).

Change "Grads" to "Gradians" for the CSS "grad" unit (see https://developer.mozilla.org/en-US/docs/Web/CSS/angle#units).

Change "Remainings" to "Font size of the root element." for the CSS "rem" unit (see https://developer.mozilla.org/en-US/docs/Web/CSS/length#units).

Change "Pieces" to "Picas" for the CSS "pc" unit (see https://developer.mozilla.org/en-US/docs/Web/CSS/length#units).
  • Loading branch information
ericmutta authored Nov 25, 2021
1 parent c4d9499 commit fd71500
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/AngleSharp.Css/Constants/UnitNames.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ public static class UnitNames
public static readonly String Turn = "turn";

/// <summary>
/// Radiants.
/// Radians.
/// </summary>
public static readonly String Rad = "rad";

/// <summary>
/// Grads.
/// Gradians.
/// </summary>
public static readonly String Grad = "grad";

Expand Down Expand Up @@ -123,12 +123,12 @@ public static class UnitNames
public static readonly String Pt = "pt";

/// <summary>
/// Remainings.
/// Font size of the root element.
/// </summary>
public static readonly String Rem = "rem";

/// <summary>
/// Pieces.
/// Picas.
/// </summary>
public static readonly String Pc = "pc";

Expand Down

0 comments on commit fd71500

Please sign in to comment.