Closed atlastodor closed 5 years ago
AngleSharp
For more information, see the CONTRIBUTING guide.
CONTRIBUTING
CSS boder-style not properly expanded when 3 values are given.
<!DOCTYPE html> <html> <head><title></title></head> <body style="border-style: hidden double dashed;"></body> </html>
var styleDeclaration = document.Body.ComputeCurrentStyle();
Expected behavior: As per CSS border-style
When three values are specified, the first style applies to the top, the second to the left and right, the third to the bottom. "border-top-style: hidden" "border-left-style: double" "border-right-style: double" "border-bottom-style: dashed"
When three values are specified, the first style applies to the top, the second to the left and right, the third to the bottom.
"border-top-style: hidden" "border-left-style: double" "border-right-style: double" "border-bottom-style: dashed"
Actual behavior:
"border-top-style: double" "border-left-style: double" "border-right-style: hidden" "border-bottom-style: dashed"
Environment details: Windows 10, .Net 4.7
Fix the order into which the property is expanded.
Landed in devel.
devel
Bug Report
Prerequisites
AngleSharp
directly)For more information, see the
CONTRIBUTING
guide.Description
CSS boder-style not properly expanded when 3 values are given.
Steps to Reproduce
var styleDeclaration = document.Body.ComputeCurrentStyle();
Expected behavior: As per CSS border-style
Actual behavior:
Environment details: Windows 10, .Net 4.7
Possible Solution
Fix the order into which the property is expanded.