diff options
author | DannyS712 <DannyS712.enwiki@gmail.com> | 2020-05-18 19:58:59 +0000 |
---|---|---|
committer | DannyS712 <DannyS712.enwiki@gmail.com> | 2020-05-19 00:31:46 +0000 |
commit | b31cec3cecf4337ecbb29f2eb4ab4115bf64dc74 (patch) | |
tree | d7b77c9bf63f433151aa7cbb4b70649ff9971df1 /includes/gallery | |
parent | 02401af46e246058c1618e828d547bfe4e8b8b6b (diff) | |
download | mediawikicore-b31cec3cecf4337ecbb29f2eb4ab4115bf64dc74.tar.gz mediawikicore-b31cec3cecf4337ecbb29f2eb4ab4115bf64dc74.zip |
Remove more IE6 and IE7 compatibility and notes
Neither is supported
Bug: T232563
Change-Id: Ia7902f0b1df6148d819621dd5e57d2fe91a50973
Diffstat (limited to 'includes/gallery')
-rw-r--r-- | includes/gallery/TraditionalImageGallery.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/includes/gallery/TraditionalImageGallery.php b/includes/gallery/TraditionalImageGallery.php index 6c3777531a85..27c5d2177664 100644 --- a/includes/gallery/TraditionalImageGallery.php +++ b/includes/gallery/TraditionalImageGallery.php @@ -54,10 +54,7 @@ class TraditionalImageGallery extends ImageGalleryBase { if ( $this->mPerRow > 0 ) { $maxwidth = $this->mPerRow * ( $this->mWidths + $this->getAllPadding() ); $oldStyle = $this->mAttribs['style'] ?? ''; - # _width is ignored by any sane browser. IE6 doesn't know max-width - # so it uses _width instead - $this->mAttribs['style'] = "max-width: {$maxwidth}px;_width: {$maxwidth}px;" . - $oldStyle; + $this->mAttribs['style'] = "max-width: {$maxwidth}px;" . $oldStyle; } $attribs = Sanitizer::mergeAttributes( |