Message pane content rendering should pass Acid2 at same level as Fx

RESOLVED FIXED

Status

Thunderbird
General
RESOLVED FIXED
10 years ago
9 years ago

People

(Reporter: alta88, Unassigned)

Tracking

unspecified
Bug Flags:
wanted-thunderbird3 -

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008051206 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008051903 Thunderbird/3.0a2pre XPCOMViewer/0.9.5 ID:2008051903


while acid3 seems to be close to fx, scoring 68 vs. 71, acid2 fails pretty badly.  mark banner thinks it may be mathml builds.  changing security policy in all.js to allAccess for script DOM access has no effect.

the below testcase script can be pasted into a Console Evaluate textbox and executed, changing the loadURI var to either url1 or url2 for both acid test.

var url1 = "http://acid3.acidtests.org";var url2 = "http://www.webstandards.org/files/acid2/test.html#top";var threePane = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator).getMostRecentWindow("mail:3pane");gBrowser = threePane.document.getElementById("messagepane");gBrowser.loadURI(url1, null, null);



Reproducible: Always

Updated

10 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

10 years ago
Component: Build Config → General
QA Contact: build-config → general
(Reporter)

Updated

10 years ago
Flags: wanted-thunderbird3?
I believe I was wrong about mathml being required to fix this. I took a look at the documentation and found a version that doesn't use data: urls here:

http://hixie.ch/tests/evil/acid/002-no-data/#top

Thunderbird does much better in this test, just the eyes are wrong, looking at the errors, its a bit hard to tell, but could still be a url loading issue. I expect it would do much better with the acid 3 test as well.

Bug 429817 also mentions it would be good for Thunderbird to enable data urls, so adding dependency.
Depends on: 429817
After some more investigation, we have found...

Acid 2:
- Apply the patch in bug 429817
- Set mailnews.message_display.allow.plugins to true

Test Passes.

Acid 3:
- Apply the patch in bug 429817
- Set mailnews.message_display.allow.plugins to true
- Set javascript.allow.mailnews to true

Test gets to 85 / 100 (same as Firefox), although it does show "Linktest failed" (test 48).

The "Linktest failed" appears to be due to the fact that we don't keep history in the message window (as we're not a browser).

Therefore, where we currently fail is due to bug 429817, security reasons, or things it just doesn't make sense to support in the message window.

As bug 429817 (the main problem) is already wanted+ setting this to wanted- as the other failures we don't need to fix as they don't affect content rending for the majority of users.
Flags: wanted-thunderbird3? → wanted-thunderbird3-
Bug 429817 is now fixed. From the next nightly you will be able to turn on enabling of plugins and acid 2 will pass.

Acid 3 won't work currently due to disabling of javascript which is bug 453943. For the acid 3 tests there may be specific areas Thunderbird fails due to mailnews security restrictions or other reasons.

Given the current inability to test acid 3 and the fact that Firefox is currently working on improve it, I'd like to close this bug out as Acid 2 being fixed. If you wish to file one on acid 3, please feel free to, but that will be dependent on what happens in bug 453943, and I would also recommend it being dependent on Firefox achieving a pass before we do any work on looking at the specific issues if there are any.

Generally I am confident that our message pane rending is the same as Firefox, with the exception that we may block some items due to security reasons. I'm not saying we won't look at improving the test results, but its not a high priority.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Summary: Message pane content rendering should pass Acid2 and Acid3 at same level as Fx → Message pane content rendering should pass Acid2 at same level as Fx
You need to log in before you can comment on or make changes to this bug.