-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Support adding dynamic IDL strings to Transformer #188
Comments
For reference, Blink just uses a getter/setter rather than implementing each attribute individually: https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/css/css_style_declaration.idl;l=1;drc=fdd99242518b07d1d48e6f8453cbb7963a27cb6a. Gecko also has an IDL generation step: see https://searchfox.org/mozilla-central/source/dom/bindings/GenerateCSS2PropertiesWebIDL.py. |
Generating IDL at build time, like Gecko, seems like the right approach to me. |
I also generate them at build time, but I’d like to skip the writing to disk part. |
That makes some sense, and perhaps should feed in to #160. |
This is a pain point I’ve encountered while trying to convert
cssstyle
to use WebIDL2JS.I’m currently forced to generate
./src/CSSStyleDeclaration‑properties.webidl
at build time, which contains the generatedpartial interface
attributes:The text was updated successfully, but these errors were encountered: