Closed Bug 1720436 Opened 3 years ago Closed 3 years ago

test_bug408231.html always fails if running on Japanese environment

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

Details

Attachments

(1 file)

editor/libeditor/tests/test_bug408231.html
  FAIL queryCommandValue(fontname) result=sans-serif expected=serif
    SimpleTest.ok@SimpleTest/SimpleTest.js:417:16
    testQueryCommand@editor/libeditor/tests/test_bug408231.html:228:11
    runTests@editor/libeditor/tests/test_bug408231.html:238:23
Severity: -- → N/A
Priority: -- → P3

It checks default font-family with editing commands, but it depends on the
system locale. ("serif" vs. "sans-serif"). So, its <body> should be styled
as font-family: serif for consistent behavior in any environment.

Depends on D119870

Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/6e7ec625edc8 Make `test_bug408231.html` specify default `font-familiy` explicitly r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: