- From: Philip Jägenstedt <notifications@github.com>
- Date: Wed, 10 Dec 2014 06:52:53 -0800
- To: w3c/selection-api <selection-api@noreply.github.com>
Received on Wednesday, 10 December 2014 14:53:26 UTC
In both WebKit and Blink, the arguments of some functions are optional. That includes some nonsensical cases like "void addRange([Default=Undefined] optional Range range);" but also some arguments that have sensible defaults: collapse's offset argument (0) extend's offset argument (0) containsNode's allowPartialContainment argument (false) setBaseAndExtent also has all optional arguments, but that makes less sense. Consider making at least the first three cases optional, as it does not seem worthwhile investigating the Web compat impact of making them non-optional. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/selection-api/issues/30
Received on Wednesday, 10 December 2014 14:53:26 UTC