STR: 1. Load attached testcase (with pref `layout.css.text-decoration-skip-ink.enabled` = `true`). 2. Inspect the underline ink-skipping. ACTUAL RESULTS: The ink-skipping seems overzealous. In particular: - "a" isn't fully underlined. - "e" and "c" have an extremely skinny underline - The start of the "b" underline seems awkward/offset. (In all three cases, there is some nearby ink to skip, but we seem to be skipping too much) EXPECTED RESULTS: - "a", "e", and "c" should be fully underlined. - The start of the "b" underline should not be offset. Chrome gives EXPECTED RESULTS. Firefox Nightly (with the pref enabled) gives ACTUAL RESULTS. Note: the testcase includes a data URI encoding of the ["Ubuntu Bold" font](https://github.com/google/fonts/blob/master/ufl/ubuntu/Ubuntu-Bold.ttf) which is included by default in Ubuntu, and specifically used in Confluence and probably other platforms. In Mozilla's confluence installation, the font is referenced here: https://mana.mozilla.org/wiki/s/1bb27c65f9d127c7b8ae49a61cdc30e4-CDN/en_US/7901/0b59262db6a7cd3dbeee6d1b1416b77c01706b36/ec85741cad785658e5d334cee8aab0ba/_/download/contextbatch/css/_super/batch.css ```css body { color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.42857143; letter-spacing: 0 } ```
Bug 1573676 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
STR: 1. Load attached testcase (with pref `layout.css.text-decoration-skip-ink.enabled` = `true`). 2. Inspect the underline ink-skipping. ACTUAL RESULTS: The ink-skipping seems overzealous. In particular: - "a" isn't fully underlined. - "e" and "c" have an extremely skinny underline - The start of the "b" underline seems awkward/offset. (In all three cases, there is some nearby ink to skip, but we seem to be skipping too much) EXPECTED RESULTS: - "a", "e", and "c" should have wider underlines, as wide (or nearly as wide) as the characters. - The start of the "b" underline should not be offset. Chrome gives EXPECTED RESULTS. Firefox Nightly (with the pref enabled) gives ACTUAL RESULTS. Note: the testcase includes a data URI encoding of the ["Ubuntu Bold" font](https://github.com/google/fonts/blob/master/ufl/ubuntu/Ubuntu-Bold.ttf) which is included by default in Ubuntu, and specifically used in Confluence and probably other platforms. In Mozilla's confluence installation, the font is referenced here: https://mana.mozilla.org/wiki/s/1bb27c65f9d127c7b8ae49a61cdc30e4-CDN/en_US/7901/0b59262db6a7cd3dbeee6d1b1416b77c01706b36/ec85741cad785658e5d334cee8aab0ba/_/download/contextbatch/css/_super/batch.css ```css body { color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.42857143; letter-spacing: 0 } ```