Skip to content
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

Update the css-images IDL file #11980

Conversation

lukebjerring
Copy link
Contributor

Hello reviewer(s),

This PR is intended to consolidate the spec’s IDL definition with the WPT test suite’s copy, and any idlharness tests.

The up-to-date copy of the IDL file was automatically extracted from the reffy-reports repo (https://github.com/tidoust/reffy-reports/tree/master/whatwg/idl) which scrapes known specs automatically + regulary.

This PR is part of a migration project which will eventually be automatically updating and creating PRs for changes in spec IDL.

Please check that:
The spec (and its source) is correct and up-to-date
All tests which cover the IDL in the spec have been migrated to fetch + use the idl in the interfaces/ directory (instead of inline copies in the test files).

@lukebjerring
Copy link
Contributor Author

lukebjerring commented Jul 13, 2018

Blocked by #7583

@lukebjerring lukebjerring added this to In progress in Improve idlharness.js Jul 13, 2018
// "CSS Images Module Level 4" spec.
// See: https://drafts.csswg.org/css-images-4/

partial namespace CSS {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Namespaces now supported, but this will have to change after or together with an update of cssom.idl

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test actually currently passes.. so it's clearly not asserting that it's a namespace. Will send you a PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filed after I reviewed this: #12123


idl_test(
['css-images'],
[], // No deps
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should depend on cssom

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Member

@foolip foolip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM as long as namespaces don't blow up.

@lukebjerring
Copy link
Contributor Author

Merging as-is. cssom will be updated soon via #11819

@lukebjerring lukebjerring merged commit 9523126 into web-platform-tests:master Jul 23, 2018
Improve idlharness.js automation moved this from In progress to Done Jul 23, 2018
@lukebjerring lukebjerring deleted the idl-file-updates-css-images branch October 5, 2018 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants