OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // IE's type accessor returns "none", "text" and "control" | 69 // IE's type accessor returns "none", "text" and "control" |
70 readonly attribute DOMString type; | 70 readonly attribute DOMString type; |
71 | 71 |
72 void modify([Default=Undefined] optional DOMString alter, | 72 void modify([Default=Undefined] optional DOMString alter, |
73 [Default=Undefined] optional DOMString direction, | 73 [Default=Undefined] optional DOMString direction, |
74 [Default=Undefined] optional DOMString granularity); | 74 [Default=Undefined] optional DOMString granularity); |
75 [RaisesException] void setBaseAndExtent([Default=Undefined] optional Node ba
seNode, | 75 [RaisesException] void setBaseAndExtent([Default=Undefined] optional Node ba
seNode, |
76 [Default=Undefined] optional long baseOffset, | 76 [Default=Undefined] optional long baseOffset, |
77 [Default=Undefined] optional Node extentNode, | 77 [Default=Undefined] optional Node extentNode, |
78 [Default=Undefined] optional long extentOffset); | 78 [Default=Undefined] optional long extentOffset); |
79 [RaisesException] void setPosition([Default=Undefined] optional Node node, | 79 [RaisesException, ImplementedAs=collapse] void setPosition([Default=Undefine
d] optional Node node, |
80 [Default=Undefined] optional long offset); | 80 [Default=Undefined] optional long offset); |
81 | 81 |
82 // IE extentions | 82 // IE extentions |
83 // http://msdn.microsoft.com/en-us/library/ms535869(VS.85).aspx | 83 // http://msdn.microsoft.com/en-us/library/ms535869(VS.85).aspx |
84 void empty(); | 84 void empty(); |
85 }; | 85 }; |
86 | 86 |
OLD | NEW |