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)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla33
People
(Reporter: vichen, Assigned: u459114, NeedInfo)
References
Details
Attachments
(1 file, 2 obsolete files)
4.31 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
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.
Comment 1•11 years ago
|
||
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)
Flags: needinfo?(dbaron)
Comment 2•11 years ago
|
||
Hi Matt,
You reviewed the patch.
Could you comment it?
Flags: needinfo?(mbrubeck)
Comment 3•11 years ago
|
||
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)
Comment 4•11 years ago
|
||
(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.
Reporter | ||
Comment 5•11 years ago
|
||
(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)
Comment 6•11 years ago
|
||
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)
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
Assignee | ||
Comment 10•11 years ago
|
||
Updated•11 years ago
|
Attachment #8447314 -
Flags: review?(mbrubeck) → review+
Keywords: checkin-needed
Comment 11•11 years ago
|
||
Keywords: checkin-needed
Comment 12•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Updated•11 years ago
|
Attachment #8399788 -
Flags: review?(mbrubeck)
You need to log in
before you can comment on or make changes to this bug.
Description
•