Page MenuHomePhabricator

CodexModule disables CSS flipping in non-Codex styles
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

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

  • Create the following module:

skin.json

		"testit": {
			"class": "MediaWiki\\ResourceLoader\\CodexModule",
			"styles": [
				"resources/test.less"
			]
		},

test.less

div {
    position: absolute;
    left: 0;
}

What happens?:
CSS is not flipped.

div{position:absolute;left:0}.

What should have happened instead?:
CSS should be flipped.

div{position:absolute;right: 0}.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

CCiufo-WMF moved this task from Triaging to Up Next on the Design-System-Team board.
CCiufo-WMF set the point value for this task to 3.Apr 26 2024, 8:33 PM

Change #1025476 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/core@master] CodexModule: Don't flip Codex styles, but do flip other styles

https://gerrit.wikimedia.org/r/1025476

Change #1025476 merged by jenkins-bot:

[mediawiki/core@master] CodexModule: Don't flip Codex styles, but do flip other styles

https://gerrit.wikimedia.org/r/1025476