| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 attribute float lineWidth; | 67 attribute float lineWidth; |
| 68 attribute [TreatNullAs=NullString] DOMString lineCap; | 68 attribute [TreatNullAs=NullString] DOMString lineCap; |
| 69 attribute [TreatNullAs=NullString] DOMString lineJoin; | 69 attribute [TreatNullAs=NullString] DOMString lineJoin; |
| 70 attribute float miterLimit; | 70 attribute float miterLimit; |
| 71 | 71 |
| 72 attribute float shadowOffsetX; | 72 attribute float shadowOffsetX; |
| 73 attribute float shadowOffsetY; | 73 attribute float shadowOffsetY; |
| 74 attribute float shadowBlur; | 74 attribute float shadowBlur; |
| 75 attribute [TreatNullAs=NullString] DOMString shadowColor; | 75 attribute [TreatNullAs=NullString] DOMString shadowColor; |
| 76 | 76 |
| 77 void setLineDash(in sequence<float> dash); | |
| 78 sequence<float> getLineDash(); | |
| 79 attribute float lineDashOffset; | |
| 80 | |
| 81 // FIXME: These attributes should also be implemented for V8. | 77 // FIXME: These attributes should also be implemented for V8. |
| 82 #if !(defined(V8_BINDING) && V8_BINDING) | 78 #if !(defined(V8_BINDING) && V8_BINDING) |
| 83 attribute [Custom] Array webkitLineDash; | 79 attribute [Custom] Array webkitLineDash; |
| 84 attribute float webkitLineDashOffset; | 80 attribute float webkitLineDashOffset; |
| 85 #endif | 81 #endif |
| 86 | 82 |
| 87 void clearRect(in [Optional=DefaultIsUndefined] float x, | 83 void clearRect(in [Optional=DefaultIsUndefined] float x, |
| 88 in [Optional=DefaultIsUndefined] float y, | 84 in [Optional=DefaultIsUndefined] float y, |
| 89 in [Optional=DefaultIsUndefined] float width, | 85 in [Optional=DefaultIsUndefined] float width, |
| 90 in [Optional=DefaultIsUndefined] float height); | 86 in [Optional=DefaultIsUndefined] float height); |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 in [Optional=DefaultIsUndefined] float sw
, in [Optional=DefaultIsUndefined] float sh) | 230 in [Optional=DefaultIsUndefined] float sw
, in [Optional=DefaultIsUndefined] float sh) |
| 235 raises(DOMException); | 231 raises(DOMException); |
| 236 | 232 |
| 237 readonly attribute float webkitBackingStorePixelRatio; | 233 readonly attribute float webkitBackingStorePixelRatio; |
| 238 | 234 |
| 239 attribute boolean webkitImageSmoothingEnabled; | 235 attribute boolean webkitImageSmoothingEnabled; |
| 240 }; | 236 }; |
| 241 | 237 |
| 242 } | 238 } |
| 243 | 239 |
| OLD | NEW |