OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 [RaisesException] void setShadowPseudoId(Element element, DOMString id); | 54 [RaisesException] void setShadowPseudoId(Element element, DOMString id); |
55 [RaisesException] Element createContentElement(); | 55 [RaisesException] Element createContentElement(); |
56 [RaisesException] boolean isValidContentSelect(Element contentElement); | 56 [RaisesException] boolean isValidContentSelect(Element contentElement); |
57 [RaisesException] Node treeScopeRootNode(Node node); | 57 [RaisesException] Node treeScopeRootNode(Node node); |
58 [RaisesException] Node parentTreeScope(Node node); | 58 [RaisesException] Node parentTreeScope(Node node); |
59 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i
d); | 59 [RaisesException] boolean hasSelectorForIdInShadow(Element host, DOMString i
d); |
60 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin
g className); | 60 [RaisesException] boolean hasSelectorForClassInShadow(Element host, DOMStrin
g className); |
61 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS
tring attributeName); | 61 [RaisesException] boolean hasSelectorForAttributeInShadow(Element host, DOMS
tring attributeName); |
62 [RaisesException] boolean hasSelectorForPseudoClassInShadow(Element host, DO
MString pseudoClass); | 62 [RaisesException] boolean hasSelectorForPseudoClassInShadow(Element host, DO
MString pseudoClass); |
63 | 63 |
64 // CSS Animation testing. | 64 // CSS Animation and Transition testing. |
65 unsigned long numberOfActiveAnimations(); | 65 unsigned long numberOfActiveAnimations(); |
66 [RaisesException] void suspendAnimations(Document document); | 66 [RaisesException] void suspendAnimations(Document document); |
67 [RaisesException] void resumeAnimations(Document document); | 67 [RaisesException] void resumeAnimations(Document document); |
68 [RaisesException] boolean pauseAnimationAtTimeOnElement(DOMString animationN
ame, double pauseTime, Element element); | 68 [RaisesException] void pauseAnimations(double pauseTime); |
69 [RaisesException] boolean pauseAnimationAtTimeOnPseudoElement(DOMString anim
ationName, double pauseTime, Element element, DOMString pseudoId); | |
70 | |
71 // CSS Transition testing. | |
72 [RaisesException] boolean pauseTransitionAtTimeOnElement(DOMString propertyN
ame, double pauseTime, Element element); | |
73 [RaisesException] boolean pauseTransitionAtTimeOnPseudoElement(DOMString pro
perty, double pauseTime, Element element, DOMString pseudoId); | |
74 | 69 |
75 [RaisesException] Node nextSiblingByWalker(Node node); | 70 [RaisesException] Node nextSiblingByWalker(Node node); |
76 [RaisesException] Node firstChildByWalker(Node node); | 71 [RaisesException] Node firstChildByWalker(Node node); |
77 [RaisesException] Node lastChildByWalker(Node node); | 72 [RaisesException] Node lastChildByWalker(Node node); |
78 [RaisesException] Node nextNodeByWalker(Node node); | 73 [RaisesException] Node nextNodeByWalker(Node node); |
79 [RaisesException] Node previousNodeByWalker(Node node); | 74 [RaisesException] Node previousNodeByWalker(Node node); |
80 | 75 |
81 [RaisesException] boolean attached(Node node); | 76 [RaisesException] boolean attached(Node node); |
82 | 77 |
83 DOMString visiblePlaceholder(Element element); | 78 DOMString visiblePlaceholder(Element element); |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 void forceReload(boolean endToEnd); | 240 void forceReload(boolean endToEnd); |
246 | 241 |
247 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); | 242 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); |
248 | 243 |
249 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); | 244 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); |
250 | 245 |
251 [RaisesException] DOMString getImageSourceURL(Element element); | 246 [RaisesException] DOMString getImageSourceURL(Element element); |
252 | 247 |
253 boolean isSelectPopupVisible(Node node); | 248 boolean isSelectPopupVisible(Node node); |
254 }; | 249 }; |
OLD | NEW |