Skip to content

Issue parsing CSS syntax "border-radius:0 0 100px 100px / 0 0 20px 20px;" #206

Closed

Description

@ChrisCinelli

It is a valid CSS statement for creating the bottom elliptical border.
However after less.js parses it, it becomes "border-radius: 0 0 120px Infinitypx 0 6px 6px; "
It looks like less.js try to calculate 120px / 0 but it is not the right thing to do here.
Note syntax "border-radius:200px / 100px;" is legal too in CSS.

Activity

  1. lukeapage commented on Sep 14, 2011

    @lukeapage
    Member

    duplicate of #146

  2. ttfkam commented on Sep 14, 2011

    @ttfkam
    Contributor
     border-radius: ~"200px / 100px";
    

    This takes it as a literal string without the normal math conversion.

  3. matthew-dean commented on Jan 31, 2012

    @matthew-dean
    Member

    Is this syntax finalized? I guess it has been stable enough with font declarations.

  4. lukeapage commented on Jul 18, 2012

    @lukeapage
    Member

    dupe of #146, please move future discussion their.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions