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

Define XSLTProcessor #181

Open
annevk opened this issue Feb 29, 2016 · 2 comments

Comments

2 participants
@annevk
Copy link
Member

commented Feb 29, 2016

See https://wiki.whatwg.org/wiki/DOM_XSLTProcessor. Per whatwg/html#738 this is implemented in all browsers now.

@foolip

This comment has been minimized.

Copy link
Member

commented Feb 29, 2016

These are the surface-level differences between Gecko and Blink that I added as TODOs in our IDL file:

  • In Gecko, the transformTo*() methods throw an exception in case of error, while Blink returns null.
  • In Gecko, it's possible to set and get back any parameter value, not just DOMString.

For the error handling, I think it probably doesn't matter much for compat if we return null or throw an exception. For parameter values, supporting any value type would be slightly more code, and since it's apparently not needed for compat I think just DOMString would be better.

@foolip

This comment has been minimized.

Copy link
Member

commented Feb 29, 2016

This is the use counter data for Chrome:

Both are so low that there's a good chance for some simplification if this is spec'd from scratch.

annevk added a commit to whatwg/html that referenced this issue Mar 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.