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

how to cross reference dfns #30

Open
patrickkettner opened this issue Mar 13, 2017 · 2 comments
Open

how to cross reference dfns #30

patrickkettner opened this issue Mar 13, 2017 · 2 comments

Comments

@patrickkettner
Copy link
Owner

@travisleithead @arronei continuing #21, I have definitions for Init's, but am missing for the non Init form of a few things.

e.g. between

dictionary CookieInit {
    USVString name;
};
[Constructor((CookieInit or USVString) cookie), Exposed=Window]
interface Cookie {
    readonly attribute USVString name;
};

name is defined for CookieInit, but not for Cookie, despite sharing the same definition, via

<li><dfn for='CookieInit' dict-member>name</dfn> is blahblahblah.</li>

Should I be repeating the definitions? or is what I have expected?

@travisleithead
Copy link

Yeah, you need to have a separate dfn for the interface's name attribute.

<dfn for='Cookie' attribute>name</dfn>

@patrickkettner
Copy link
Owner Author

@travisleithead so that means I have to literally copy and paste the same dfns in order to do what I want?

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

No branches or pull requests

2 participants