What is the problem?
While editing, the font size of the toolbar and buttons is 16px, while the font size of the articles content (when reading it or viewing preview) is 14px.
Note that this varies depending on the default font size you have set in your browser. By default (on Firefox at least) this is 16px. If you increase this to, say, 20px the toolbar/buttons are 20px and the article content is 17.5px.
I think we want the font size of all/most the elements on the page to be the same.
This occurs regardless of whether you have Realtime Preview enabled or not, or whether you have the 2010 editing toolbar (WikiEditor) enabled or not.
This was originally raised in T322337#8371320.
Steps to reproduce problem
- https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Selenium_Echo_link_test_0.10199512259694399_0.10199512259694399&action=edit
- Click "Show preview"
- Compare the font size of the article's content with the toolbar or the buttons
Expected behavior: They should be the same.
Observed behavior: The latter are larger.
Environment
Browser: Firefox, Chrome, Safari
Wiki(s): https://en.wikipedia.beta.wmflabs.org MediaWiki 1.40.0-alpha (02a97c8) 10:21, 9 November 2022.
Skin: Vector 1.0.0 (32230c1) 08:01, 9 November 2022.
Editor: WikiEditor 0.5.3 (c621738) 07:59, 9 November 2022.