Add 'noflip' option on RL modules to disable CSSJanus
authorBrion Vibber <brion@pobox.com>
Tue, 18 Oct 2016 19:04:40 +0000 (12:04 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 18 Oct 2016 20:36:27 +0000 (13:36 -0700)
commitff490cc42a3818ce330ce336f9c59123f4f25270
tree01e4a8d3ebcfddff3d35d0e8167c35fc35d108b9
parentc7eb4d9c835c5cb73fda41ec57e933d0be27c74c
Add 'noflip' option on RL modules to disable CSSJanus

Should be useful for cases where we pull in an external library
that already manages RTL flipping in its styles, and CSSJanus
does the wrong thing without extra markup.

Example:

  'ext.tmh.video-js' => $baseExtensionResource + [
      'scripts' => 'resources/videojs/video.js',
      'styles' => 'resources/videojs/video-js.css',
      'noflip' => true,
      ...
  ],

Bug: T148572
Bug: T148565
Change-Id: Icbad20d8a6e9a0d354ad159f5816f4fb67cc2775
docs/extension.schema.json
docs/extension.schema.v1.json
includes/resourceloader/ResourceLoaderFileModule.php