Skip to content

NullReferenceException in CssOriginValue when using transform-origin: bottom #161

@meziantou

Description

@meziantou

Prerequisites

  • Can you reproduce the problem in a MWE?
  • Are you running the latest version of AngleSharp.Css?
  • Did you check the FAQs to see if that helps you?
  • Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g., AngleSharp.Xml for Xml support)
  • Did you perform a search in the issues?

Description

Sorry, I don't have a MWE yet. I tried to strip down the code, the CssOriginValue can have null _z for transform-origin: bottom. So, there is a NullReferenceException in the compute method:

image

I'll try to create an MWE tomorrow if needed.

Steps to Reproduce

I will try to create a repro tomorrow

Expected Behavior

No exception

Actual Behavior

NullReferenceException

Possible Solution / Known Workarounds

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions