Skip to content

assignments without a value #60

Description

@ucarbehlul

I don't know if it's a valid syntax according to W3C specifications but I sometimes see assignments like visibility:.

It seems these kind of assignments make the CSS elements disappear, so they are kind of shortcut for reassigning to default value.

This is not a big problem if you write the code yourself but this causes problems when you run javascript code in an arbitrary website. Current implementation gives a TypeError(you get undefined from array) in CSSStyleDeclaration.js file in cssText set method.

Is it possible to change the implementation for supporting assigments without a value in the way I described?

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions