Skip to content

Read/Write of styles gap and grid-gap swap the order of col and row #137

Closed
@danielhazel

Description

@danielhazel

Bug Report

Description

A style read as:

grid-gap: 10px 80px;

is written as:

grid-gap: 80px 10px;

Similarly, a style read as:

gap: 10px 80px;

is written as:

gap: 80px 10px;

Possible Solution

row and col are incorrectly assigned here:

https://github.com/AngleSharp/AngleSharp.Css/blob/main/src/AngleSharp.Css/Declarations/GridGapDeclaration.cs#L33

and here:

https://github.com/AngleSharp/AngleSharp.Css/blob/main/src/AngleSharp.Css/Declarations/GapDeclaration.cs#L33

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions