Page MenuHomePhabricator

Fatal InvalidArgumentException when trying to save CSS page
Closed, DuplicatePublicPRODUCTION ERROR

Description

Steps to replicate the issue (include links if applicable):

  • Go to a CSS page (I used this one) and click 'Edit'
  • Inside a class definition, add
	-moz-margin-start: 0;
	-webkit-margin-start: 0;
  • Click publish

What happens?:

A page is shown with an error box.

[24ac17f4-17e3-4bbc-8a7b-d26ca798a3e4]

What should have happened instead?:

Not sure.

Event Timeline

Restricted Application changed the subtype of this task from "Bug Report" to "Production Error". · View Herald TranscriptJun 14 2025, 3:05 PM

CSS sanitizer does not support prefixed properties.

That said, it's also not supposed to fatal.

And, that page also fatals on an unknown property, in this case margin-start: 0;. It does not fatal on a known property.

Something has recently been broken, I guess, in the recent patches.