-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Added parsing tests for properties in CSS Borders 4 #44525
Added parsing tests for properties in CSS Borders 4 #44525
Conversation
There are no reviewers for this pull request. Please reach out on the chat room to get help with this. Thank you! |
d0dd985
to
f7e5d20
Compare
This Pull Request is the continuation of Pull Request 42345 and is related to it. |
Does this supersede the earlier PR? If so, that should be closed. |
In general, we don't have versioned directories (c.f. #44527); given the draft spec isn't ready for implementation, a file like |
It doesn't. @TalbotG just asked me to split the parsing tests from the rest (point 20), so it's easier to review them.
I saw that there are basically no versioned directories. Though being able to check which tests are for which level of the spec. is required to see how well that spec. level is covered by tests. So how do you distinguish the tests between the different spec. levels then? Also note that there is already a css-borders folder with tests that actually target features of CSS Backgrounds 3. So I assume those should be moved to css-backgrounds then, right? Though I guess that's something to discuss in the other issue.
Disregarding the versioning issue, I can add a "tentative" suffix as suggested as long as the spec. doesn't have a FPWD yet, if that's required. Sebastian |
Sebastian, "
I agree with you. You have a point there. This is a weakness of the WPT implementation.
It was decided to split future levels of CSS Backgrounds and Borders into |
Well, it was my request to split the specs. Though the tests in the css-borders folder were created by some people long before that split and cover features introduced in CSS Backgrounds 3 (and which are not yet added to CSS Borders 4 as it is still a delta specification). Sebastian |
Well, the assertions are required by the specification. Though the specification itself isn't mature yet, because there's no FPWD yet. So I guess I should put all the tests in a Sebastian |
Yes. Only the tests though. Not the reference files. Not the support files. |
Your parsing tests: http://www.gtalbot.org/BrowserBugsSection/CSS4BordersBoxDecorations/parsing/ Note that .js files are not at "/" but at "./" which is different from when tests are git-submitted and approved. |
In "The initial value of color is black." |
In |
In In In |
In |
I think I've addressed all the issues and concerns. So @TalbotG @gsnedders, could you please have a look again? Sebastian |
Sebastian, If later we find something wrong with a test or 2, we can then create another PR. Gérard |
@gsnedders Did you already have time to look at this? Sebastian |
The only small doubt I have - and that is why I thought we should have a second opinion on this - is where the /tentative/ folder should be (assuming that it does matter). or moved to /css/css-borders/parsing/tentative/test-filename.html It may even not matter anyway... but @gsnedders would know that for sure. Sebastian, your tests as far as I am concerned are good, worthy, correct, precise and compliant with all kinds of formating recommandations. I will wait a few more days and if we do not hear from Sam, then I will approve PR44525 . Gérard |
I approve the commits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve these tests and the commits.
Sebastian, If later there is a problem or complaint or issue with any of those 48 /parsing/ tests, then please let me know about it. Gérard |
Thank you a lot for the reviews, help, and patience! Sebastian |
…ts#44525) * Added parsing tests for properties in CSS Borders 4 * Moved CSS Borders 4 tests to css-borders * Fixed and added more parsing tests for properties in CSS Borders 4
This adds an initial set of parsing tests related to the CSS properties introduced in CSS Borders 4.
Sebastian