-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document what tests in the multicolum test suite are about #7470
Comments
There's a very slim chance https://github.com/operasoftware/presto-testo/tree/b5d5d519321bb6da4bc825f92c3f4e84db31be6f/css/multicolumn might be helpful, given they're ultimately derived from those tests (and specifically those in the reftest subdirectory). |
Some tests in the multicol test suite give some indication (hint) of what they are testing in their filenames. Normally, unless the test is really basic, all the multicolumn tests that I reviewed and approved have useful comments or explicit assertion.
I did not create that multicol-rule-shorthand-2 test. The important lines in the test are: where lines 29 and 30 are invalid: 'normal' is not a border-style. 'column' is not a valid property name to begin with; 'normal' should only be used for 'column-gap'. So, there should be no red. There should be black (glyphs), gray (border), some yellow (background) and 3 short vertical stripes of blue (separators of column boxes)). So, on top of a few tweakings, I would add the invalid flag and add: line 29 and I would remove lines 32 to 45 since they are pointless and useless in the test. Giving something like: http://www.gtalbot.org/BrowserBugsSection/CSS3Multi-Columns/Opera/multicol-rule-shorthand-2-GT.xht and even there, the test could be furthermore reduced, trimmed in order to focus on what really is being tested: invalid column-rule shorthand. One related problem to further reducing tests (that you did not author) is that you do not want to redo all the tests from Opera since you want the original author to eventually recognize his/her own tests too. |
I have a spreadsheet that identifies the ones that need a description and/or assertion so aim to fix this. Thanks for the info re that specific test. |
line 23: should be removed from that specific test. Because it is not needed, not necessary and not relevant in that specific test. There are other tests (eg /CSS3Multi-Columns/Opera/multicol-columns-005-GT.xht is one) where both |
Working through tidying these up at the moment, also checking that they relate to current spec text etc. as I'll be linking them in using the new bikeshed functionality. Came across: https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-003.xht which has no description or assert meta etc. I can see what it's doing, but I'm wondering what the motivation for this test was (and the spec doesn't really discuss the interaction with abspos). |
Rachel, my guess is that this
The spec mentions interaction with abspos. Look for Example 9 In the 2011 version of the spec., the spec only mentioned this: " |
Yes - I made that example image - but it doesn't seem related to column width (which is the only hint this test has as to what it is is, the filename). |
I think I'll update it as a test for the containing block as I agree that seems to be what is being tested. I assume it's not a good idea to rename files? |
I think that
Well, if you create a new test, then it's fine to give it another filename... |
I've been going through these. The majority of the legacy tests are now added to the multicol spec using the Bikeshed wpt functionality. While doing that I had to figure out what all the tests were, so it made sense to add the assert lines as I went, which are in PR #13616 If I've misrepresented anything let me know. |
Some tests in the multicol test suite have no indication of what it is they are testing, neither in the form of comments, nor of an explicit assertion.
This makes them hard to work with, and would be nice to fix.
There's at least this one:
The text was updated successfully, but these errors were encountered: