Skip to content

Remove CSSMathValue.type #497

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

Merged
merged 1 commit into from
Oct 26, 2017
Merged

Remove CSSMathValue.type #497

merged 1 commit into from
Oct 26, 2017

Conversation

nainar
Copy link
Contributor

@nainar nainar commented Oct 25, 2017

This addresses issue #492.

@nainar nainar requested a review from tabatkins October 25, 2017 18:21
:: The [=type=] is the same as the [=type=] of its {{CSSMathNegate/value}} internal slot,
but with all [=map/values=] negated.
</dl>
</div>
Copy link
Member

Choose a reason for hiding this comment

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

No, all of this needs to stay - it defines the type of a CSSMathValue. We just need to remove the .type member in the IDL, since that's carried by the superclass. The superclass's definition of .type will then figure out how to translate the type into some JS object.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think there's actually two we need to remove: CSSMathValue.type and CSSUnitValue.type?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahhh I for some reason thought this had been copied twice. :/ Gotcha. Making the change. g

Copy link
Contributor Author

@nainar nainar left a comment

Choose a reason for hiding this comment

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

Made the changes, PTAL?

@tabatkins tabatkins merged commit 1ace7b2 into w3c:master Oct 26, 2017
MXEBot pushed a commit to mirror/chromium that referenced this pull request Dec 27, 2017
type attribute was removed in CSSUnitValue.idl

https://drafts.css-houdini.org/css-typed-om-1/#cssunitvalue
w3c/css-houdini-drafts#497

Bug: 797668
Change-Id: Ic29193979f3336d735f6484ba199c652753e7ca0
Reviewed-on: https://chromium-review.googlesource.com/844305
Reviewed-by: Darren Shen <shend@chromium.org>
Commit-Queue: Hwanseung Lee <hs1217.lee@samsung.com>
Cr-Commit-Position: refs/heads/master@{#526203}
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