-
Notifications
You must be signed in to change notification settings - Fork 143
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
Conversation
css-typed-om/Overview.bs
Outdated
:: The [=type=] is the same as the [=type=] of its {{CSSMathNegate/value}} internal slot, | ||
but with all [=map/values=] negated. | ||
</dl> | ||
</div> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah.
There was a problem hiding this comment.
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
There was a problem hiding this 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?
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}
This addresses issue #492.