Page MenuHomePhabricator

Remove <strong> on MediaWiki:Rcfilters-other-review-tools
Closed, ResolvedPublic

Description

Snip_20170904123431.png (310×353 px, 26 KB)

Windows 10 Version 1703 / Firefox 55.03

Chrome and Firefox apparently don't treat <strong> the same way when a parent style is already in bold.

.oo-ui-buttonElement > .oo-ui-buttonElement-button has bold so:

  • Chrome cancels .oo-ui-buttonElement > .oo-ui-buttonElement-button and only render <strong>MediaWiki:Rcfilters-other-review-tools</strong> as font-wright:bold;
  • Firefox cumulates .oo-ui-buttonElement > .oo-ui-buttonElement-button and <strong> and renders MediaWiki:Rcfilters-other-review-tools as font-wright:bolder;

Event Timeline

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

Simple example to explicit this : with this code

<span style="font-weight:bold>test <strong>strong</strong></span>
  • "test" and "strong" are displayed the same in Chrome 61 (windows 7, 10, android), Edge (40/15), Firefox 55 (android 6)
  • "strong" is bolder with Firefox 55 (windows 7 and 10), IE 11 (Windows 7)

I do not have Apple devices to test.

Change 384498 had a related patch set uploaded (by Petar.petkovic; owner: Petar.petkovic):
[mediawiki/core@master] Remove strong tag from "Other review tools"

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

Change 384498 merged by jenkins-bot:
[mediawiki/core@master] Remove strong tag from "Other review tools"

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

Checked in frwiki (wmf.4 Windows 10 FF55) - the <strong> tag is removed.