Bug 31311 - Fix the wrong css2.1/t040103-ident-03-c.html test
Summary: Fix the wrong css2.1/t040103-ident-03-c.html test
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 23269 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-10 14:00 PST by Victor Wang
Modified: 2012-07-31 02:32 PDT (History)
5 users (show)

See Also:


Attachments
Proposed Patch (25.20 KB, patch)
2009-11-10 14:07 PST, Victor Wang
eric: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Wang 2009-11-10 14:00:51 PST
LayoutTests/css2.1/t040103-ident-03-c.html was wrong, the test and its baselines need to be fixed.
Comment 1 Victor Wang 2009-11-10 14:07:28 PST
Created attachment 42892 [details]
Proposed Patch
Comment 2 Alexey Proskuryakov 2009-11-10 22:22:09 PST
> LayoutTests/css2.1/t040103-ident-03-c.html was wrong

Why? Please document the reasons here for later reference.

This is an official test from W3C, has a fix been made upstream? Or is there a bug filed in W3C bugzilla?
Comment 3 Victor Wang 2009-11-11 08:14:33 PST
Could you point me where this test is copied from in W3C? I don't know this test is from W3C so not sure whether it is fixed upstream. I think this test is wrong so it should be fixed.
Comment 4 Alexey Proskuryakov 2009-11-11 08:48:06 PST
Googling for "t040103-ident-03-c" gives a number of hits, including a discussion of its correctness in <http://lists.w3.org/Archives/Public/www-style/2007Aug/0128.html>. 

A version of this test in <http://www.w3.org/Style/CSS/Test/Print/1.0/20070802/t040103-ident-03-c.htm> seems to have the change incorporated, but I don't know if it's current. <http://www.w3.org/Style/CSS/Test/CSS2.1/current/> links to a seriously refactored version of the test suite, where this test evolved into <http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/ident-003.htm>.

You need to check with someone involved with the CSS 2.1 working group for the exact status of their test suite. Maybe we should just replace the whole css2.1 directory with a more current version.
Comment 5 Eric Seidel (no email) 2009-11-11 09:49:56 PST
Comment on attachment 42892 [details]
Proposed Patch

We've historically not modified these files directly.  Given ap's comments above, marking this as r-.  I agree, we should probably just update our copy of css2.1
Comment 6 Victor Wang 2009-11-11 10:21:25 PST
Good to know, Thanks ap and eric for your info!
Comment 7 Shinichiro Hamaji 2009-12-01 21:19:14 PST
Are someone working to update our copy of CSS2.1 test suite? If not, I'm happy to look into this.
Comment 8 Victor Wang 2009-12-02 08:57:24 PST
Feel free to take this if you have a chance.
Comment 9 Shinichiro Hamaji 2010-01-31 23:49:25 PST
It seems W3C released a new alpha version of test suite.

http://www.w3.org/Style/CSS/Test/CSS2.1/20100127/html4/index.htm

I'm not sure if we want to just update css2.1 directory because the number of test cases significantly increased (from ~400 to ~8200).

If we want to avoid increasing the test running time, one idea I came up with is

- update existing tests with the new release,
- add new tests and their expected results into somewhere different directory, and
- modify run-webkit-tests not to run the new tests by default

Any suggestions will be appreciated, thanks!
Comment 10 Joseph Pecoraro 2011-05-28 21:06:20 PDT
*** Bug 23269 has been marked as a duplicate of this bug. ***
Comment 11 Joseph Pecoraro 2011-05-28 21:10:21 PDT
Hmm, for a few of the LayoutTests/css2.1 tests where I've seen issues
I've opened up the source and sees a comment that says why the test
is wrong [1]. Could we such a comment to the test? We could open a
separate bug for updating the entire suite.

There is also test.html.disabled if we wanted to skip it, but I'm
all for leaving failing "apparent" failing results checked in.

[1]: http://trac.webkit.org/browser/trunk/LayoutTests/css2.1/t1504-c543-txt-decor-00-d-g.html#L28
Comment 12 Csaba Osztrogonác 2012-07-31 02:32:49 PDT
This test is still wrong and expected png is committed for all 
ports. It is annoying a little bit that I see "This should be 
green" in red as expected. :)

Is there any will to fix it in the future?