Skip to content

scaleX "only “0” can be a “unit”. You must put a unit after your number" error #439

Closed
@ashleyryan

Description

@ashleyryan

We regularly validate our CSS against the service and within the last 12 hours so we started getting an error that a transform: scaleX(1) value isn't valid and needs a unit. My understanding is that that's not true, and scale uses a multiple. MDN doesn't show a unit. Is this a bug?

I suspect it may be related to this PR? #438

errors: [
    {
      line: '1729',
      errortype: 'parse-error',
      context: '.removed',
      errorsubtype: '\n                                exp\n                            ',
      skippedstring: '\n' +
        '                                scaleX(1)\n' +
        '                            ',
      type: 'zero',
      message: '\n' +
        '\n' +
        '                                only “0” can be a “unit”. You must put a unit after your number : \n' +
        '                            ',
      error: '\n                        '
    }
  ],

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions