Closed
Bug 830731
Opened 11 years ago
Closed 11 years ago
Firefox 18 and up do not pass Acid2 test anymore
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
DUPLICATE
of bug 418235
People
(Reporter: squalou.jenkins, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 Build ID: 20130104151925 Steps to reproduce: connect to : http://acid2.acidtests.org/#top with Firefox 18 on windows 7 64 Actual results: The picture displayed is wrong. (see screenshot) Expected results: the reference picture should be displayed http://acid2.acidtests.org/reference.html
Updated•11 years ago
|
Component: Untriaged → General
Product: Firefox → Core
Comment 1•11 years ago
|
||
Hmm. I can reproduce on Mac, with http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=c09a0c022b2e&tochange=a680fd777c3b as the regression range, but it seems to work for others...
Comment 2•11 years ago
|
||
That's the day hidpi support landed on Mac, which is very likely to be part of what's going on. But that's unlikely to be affecting Windows. Reporter, just to make sure, you're seeing this on Windows?
Comment 3•11 years ago
|
||
If you disable HiDPI mode (set gfx.hidpi.enabled to 0), the problem no longer happens on Mac, which confirms it's related to HiDPI support. And whether it fails or works will depend whether you're on a Retina MacBook or not. Not sure offhand why it'd be broken on Windows, though. Is it still broken on Aurora (FF 20) or Nightly (21) builds?
Comment 4•11 years ago
|
||
looks like Bug 418235
Comment 5•11 years ago
|
||
(In reply to Jonathan Kew (:jfkthame) from comment #3) > Not sure offhand why it'd be broken on Windows, though. Is it still broken > on Aurora (FF 20) or Nightly (21) builds? Yes.
Depends on: 418235
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: Firefox18 : does not pass AcidTest2 anymore → Firefox 18 and up do not pass Acid2 test anymore
Version: 18 Branch → Trunk
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #2) > That's the day hidpi support landed on Mac, which is very likely to be part > of what's going on. > > But that's unlikely to be affecting Windows. Reporter, just to make sure, > you're seeing this on Windows? I did see this on windows, to be more specific : a windows Seven 64 bits Enterprise. (French) Now I've just checked on an older XP 32bits : the problem does NOT exist there.
Updated•11 years ago
|
Reporter | ||
Comment 7•11 years ago
|
||
also for fun:just tested on android 4.1.1. doesn't work either, but slightly different result.
Comment 8•11 years ago
|
||
Hi, I can see the screenshot from the original report is much bigger pixel for pixel than the actual Acid2 test. Can the original reporter reset their zoom settings or set them to 100% (should just be "ctrl + 0" unless you have an addon which defaults them to something else) and refresh the Acid2 test. I think original report is exact duplicate of Bug 418235, I think it's just a happy coincidence that bz spotted this causes a knock on effect on hidpi. I don't have a Mac so I don't test this, how do webkit browsers fair for the same problem?
Comment 9•11 years ago
|
||
On my retina MacBook, Safari fails similarly to Firefox (though not identical), and Opera looks even worse (though the failure is in the same area of the image); only Chrome passes.
Comment 10•11 years ago
|
||
(In reply to Damian Shaw [Quan] from comment #8) > Hi, I can see the screenshot from the original report is much bigger pixel > for pixel than the actual Acid2 test. Can the original reporter reset their > zoom settings or set them to 100% (should just be "ctrl + 0" unless you have > an addon which defaults them to something else) and refresh the Acid2 test. Ah, well spotted. Another factor that might be relevant: has the setting "layout.css.devPixelsPerPx" been changed from its default value of 1.0 (for Windows) in about:config?
Comment 11•11 years ago
|
||
How is Google Chrome handling retina displays? Do they use "normal zoom" like Safari, Opera and Firefox all clearly do and therefore get these artifacts or are they using some other methodology entirely? I think either Chrome have implemented a "better" method and produce more consistent results or they are test fixing. Attached is a screenshot of loading the Acid2 Page at 150% Zoom using Version 26.0.1384.2 canary Chrome on Windows. If they were using the same "normal zoom" this should look like the expected smiley face, it does not.
Comment 12•11 years ago
|
||
The Safari and Mozilla renderings here are plausible if the images are being scaled with something other than nearest-neighbour. What's going on is that there's three layers, a red background, then two layers consisting of bitmaps of the form: XO OX ...where X is yellow and O is transparent, with one of the layers being offset by 1 pixel horizontally relative to the other.
Comment 13•11 years ago
|
||
(In reply to Hixie (not reading bugmail) from comment #12) > The Safari and Mozilla renderings here are plausible if the images are being > scaled with something other than nearest-neighbour. http://hsivonen.iki.fi/last-html-quirk/ is bad enough an effect of Acid2. I really hope Acid2 doesn’t end up locking the Web into nearest neighbor scaling. > What's going on is that > there's three layers, a red background, then two layers consisting of > bitmaps of the form: > > XO > OX > > ...where X is yellow and O is transparent, with one of the layers being > offset by 1 pixel horizontally relative to the other. What’s the type of legacy engine bug that this testing scheme is trying to reveal?
Reporter | ||
Comment 14•11 years ago
|
||
(In reply to Damian Shaw [Quan] from comment #8) > Hi, I can see the screenshot from the original report is much bigger pixel > for pixel than the actual Acid2 test. Can the original reporter reset their > zoom settings or set them to 100% (should just be "ctrl + 0" unless you have > an addon which defaults them to something else) and refresh the Acid2 test. > > I think original report is exact duplicate of Bug 418235, I think it's just > a happy coincidence that bz spotted this causes a knock on effect on hidpi. > I don't have a Mac so I don't test this, how do webkit browsers fair for the > same problem? You're absolutely right ! I completely forgot I was zoomed by default (small screen, big resolution). With the default settings, it looks perfect.
Comment 15•11 years ago
|
||
Henri: I think it was looking for off-by-one positioning bugs, but I forget the details (it was years ago). For what it's worth, I am skeptical that filtering a 2x2 bitmap of this form is going to give you better results in general, even outside the acid tests. But I agree it's a poor way to test this for the modern age. I have no problem saying Acid2 doesn't apply to high-density displays.
Comment 16•11 years ago
|
||
Reported bug is is duplicate of Bug 418235, bz's case is a non-issue as stated by Hixie, closing as duplicate and original bug can probably be marked as invalid.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Comment 17•11 years ago
|
||
It would be really nice if an eventual release of an Acid4 test would include the parts of the older Acid tests that we still cared about so we could stop worrying about them. ;)
You need to log in
before you can comment on or make changes to this bug.
Description
•