-
-
Notifications
You must be signed in to change notification settings - Fork 41
CSS shorthand property **text-decoration** is not properly expanded #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report. I'll look into it.
Unfortunately, this was one of the original designs and it has many pitfalls. What I can recommend is either working with some auto variables or something like OzCode. Just for debugging reasons |
Landed in |
OK. I understand. Normally when I need such a thing, my method will return something like: |
This sounds like a great strategy @atlastodor. I guess we could do something like this! |
Bug Report
Prerequisites
AngleSharp
directly)For more information, see the
CONTRIBUTING
guide.Description
CSS shorthand property text-decoration is not properly expanded.
Steps to Reproduce
var styleDeclaration = document.Body.ComputeCurrentStyle();
Expected behavior:
As per CSS text-decoration
Actual behavior:
Environment details:
Windows 10, .Net 4.7
Possible Solution
Swap so text-decoration-style is expanded into text-decoration-line and vice-versa.
PS: When you are changing CSS properties behavior, could you please override the ToString() method to return the CssText. This will make working in the debugger much easier.
The text was updated successfully, but these errors were encountered: