Page MenuHomePhabricator

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

Description

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;

Details

Related Gerrit Patches:

Event Timeline

Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptSep 5 2017, 3:21 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Trizek-WMF updated the task description. (Show Details)Sep 5 2017, 3:22 PM
matmarex removed a project: OOUI.Sep 5 2017, 5:22 PM
Trizek-WMF updated the task description. (Show Details)Sep 5 2017, 5:38 PM

Not seeing this in Mac Firefox.

Trizek-WMF updated the task description. (Show Details)Sep 5 2017, 5:43 PM

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.

Etonkovidova closed this task as Resolved.Oct 19 2017, 10:31 PM