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

Use class="extract" to exclude IDL #495

Merged
merged 1 commit into from
Aug 20, 2018
Merged

Conversation

saschanaz
Copy link
Member

@saschanaz saschanaz commented Jul 10, 2018

This is what bikeshed does e.g. in CSSOM. It doesn't remove the flag so that IDL crawlers can also detect it.

@saschanaz
Copy link
Member Author

Marked as non substantive for IPR from ash-nazg.

@AmeliaBR
Copy link
Contributor

AmeliaBR commented Sep 3, 2018

Whoops! This is breaking the build.

(The processing.js scripts don't run on a full DOM objects, they run on a pseudo-DOM created with the xmldom node module, and don't have a classList object. Easy mistake to make @saschanaz, and thanks for the contribution nonetheless.)

Anyway: I'll fix it, but in future, @dirkschulze, please don't merge any changes to the tools/ files without running a test build!

@saschanaz saschanaz deleted the extract branch September 3, 2018 23:41
@saschanaz
Copy link
Member Author

Whoops, sorry!

BTW xmldom is being poorly maintained, perhaps we can use jsdom fragment mode instead to get proper DOM APIs.

AmeliaBR added a commit that referenced this pull request Sep 4, 2018
Reverts commit 63a42e4

Creates the same effect using the build system:
elements with the `edit:excludefromidl="true"` attribute in the source
are given the class "extract" in the build.
Which apparently has an effect in the Reffy system
(for parsing the IDL of different specs),
though I'm not sure exactly what.
See w3c/reffy#123
@AmeliaBR
Copy link
Contributor

AmeliaBR commented Sep 4, 2018

See #539 for the fixes.

AmeliaBR added a commit that referenced this pull request Sep 5, 2018
Revert & replace changes from PR #495
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants