Page MenuHomePhabricator

Safari Problem: PostCSS doesn't transform inset-inline-start, etc.
Closed, InvalidPublicBUG REPORT

Description

Steps to Reproduce:
Create a SCSS declaration with:

.some-class {
	inset-block-end: 0;
}

Actual Results:

.some-class {
	inset-block-end: 0;
}

Expected Results:

[dir=ltr] .some-class {
	left: 0;
}
[dir=rtl] .some-class {
	right: 0;
}
.some-class {
	inset-inline-start: 0;
}

Firefox and Chrome understand inset-inline-start, but Safari and IE11 don't. So things look broken there. This is currently affecting the Popover component.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Turns out it did actually create the correct output, but the stories in the DS storybook do not have the dir attribute set by default