Skip to content

Remove CSSMathValue.type#497

Merged
tabatkins merged 1 commit into
w3c:masterfrom
nainar:issue_492
Oct 26, 2017
Merged

Remove CSSMathValue.type#497
tabatkins merged 1 commit into
w3c:masterfrom
nainar:issue_492

Conversation

@nainar
Copy link
Copy Markdown
Contributor

@nainar nainar commented Oct 25, 2017

This addresses issue #492.

@nainar nainar requested a review from tabatkins October 25, 2017 18:21
Comment thread css-typed-om/Overview.bs
:: The [=type=] is the same as the [=type=] of its {{CSSMathNegate/value}} internal slot,
but with all [=map/values=] negated.
</dl>
</div>
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah.

Copy link
Copy Markdown
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
Copy Markdown
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