Closed Bug 976923 Opened 11 years ago Closed 11 years ago

reftest fails - font-inflation disable-fontinfl-on-mobile-4.html

Categories

(Testing :: Reftest, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla33

People

(Reporter: vichen, Assigned: u459114, NeedInfo)

References

Details

Attachments

(1 file, 2 obsolete files)

Precondition: B2G/OOP For this case, it is not because font-inflation but test page scale to 2.5 and make two render result different.
Blocks: 972697
Attached patch viewport.patch (obsolete) — Splinter Review
The test created is from Bug 706198. I think it doesn't work on non-OOP and OOP. Buy why it is still passed on non-oop. No matter what I set to viewport, there is no effect(font size unchanged), which means the rendering is always the same. However, the value I set to viewport did work(font size changed) when enabling oop. I checked the reftest, I found it is hardcoded as 320. It seems like a mistake. It should be 'device-width' as ideal viewport as disable-fontinfl-on-mobile-ref.html(if app didn't assign a viewport, the ideal viewport would be set, Bug 940036 did it). Anyway, The test should be corrected first. As for the test on non-oop, I am not sure if it's normal because test is running in b2g. Does b2g ignore the viewport setting?
Flags: needinfo?(jaywir3)
Hi Matt, You reviewed the patch. Could you comment it?
Flags: needinfo?(mbrubeck)
This change looks okay, but it might be better to just delete this test since it is now almost identical to disable-fontinfl-on-mobile-3.html. I think the test was passing "by accident" before because some of the B2G viewport behavior depends on OOP-only code in TabChild/TabParent. We may need to revise more of these tests if the default viewport behavior changes (see bug 946088). Clearing the needinfo flag for :jwir3 since I don't think he's active involved these days.
Flags: needinfo?(mbrubeck)
Flags: needinfo?(jaywir3)
(In reply to Matt Brubeck (:mbrubeck) from comment #3) > This change looks okay, but it might be better to just delete this test > since it is now almost identical to disable-fontinfl-on-mobile-3.html. I > think the test was passing "by accident" before because some of the B2G > viewport behavior depends on OOP-only code in TabChild/TabParent. We may > need to revise more of these tests if the default viewport behavior changes > (see bug 946088). > > Clearing the needinfo flag for :jwir3 since I don't think he's active > involved these days. ok. The test case will be deleted if OOP enabled is ready.
(In reply to Abel Lin(alin, abel) from comment #4) > (In reply to Matt Brubeck (:mbrubeck) from comment #3) > > This change looks okay, but it might be better to just delete this test > > since it is now almost identical to disable-fontinfl-on-mobile-3.html. I > > think the test was passing "by accident" before because some of the B2G > > viewport behavior depends on OOP-only code in TabChild/TabParent. We may > > need to revise more of these tests if the default viewport behavior changes > > (see bug 946088). > > > > Clearing the needinfo flag for :jwir3 since I don't think he's active > > involved these days. > > ok. The test case will be deleted if OOP enabled is ready. Matt, OOP is enabled. Would you please check to keep this test or not?
Flags: needinfo?(mbrubeck)
Yes, I think we should delete the "disable-fontinfl-on-mobile-4.html" reftest. It assumes that the default viewport for the reference file is 320px, which is no longer correct in general.
Flags: needinfo?(mbrubeck)
Blocks: B2GRT
No longer blocks: 972697
Assignee: nobody → cku
Blocks: 972697
Attached patch Remove out-of-date test case (obsolete) — Splinter Review
Attachment #8399788 - Attachment is obsolete: true
Attachment #8399788 - Flags: review?(mbrubeck)
Hi Matt, According to comment 6, I did this change. Please help to review, thanks
Hi Matt, According to comment 6, I did this change. Please help to review, thanks
Attachment #8447282 - Attachment is obsolete: true
Attachment #8447314 - Flags: review?(mbrubeck)
Attachment #8447314 - Attachment is patch: true
Attachment #8447314 - Flags: review?(mbrubeck) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Attachment #8399788 - Flags: review?(mbrubeck)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: