Beispiel #1
0
 def m_scrollIntoView(self):
     alignToTop = r.bool()
     behavior = r.choice(["auto", "instant", "smooth"])
     block = r.choice(["start", "end"])
     scrollIntoViewOptions = "{behavior:'%s',block:'%s',}" % (behavior,
                                                              block)
     return r.choice(["", alignToTop, scrollIntoViewOptions])
Beispiel #2
0
 def p_loop(self):
     # 设置或返回音频是否应在结束时重新播放
     return r.bool()
Beispiel #3
0
 def p_loop(self):
     # 设置或返回音频是否应在结束时重新播放
     return r.bool()
Beispiel #4
0
    def p_compact(self):
        return r.bool()

    # Methods
    # No specific method; inherits methods from its parent, HTMLElement.
Beispiel #5
0
 def m_removeEventListener(self):
     # 从这个EventTarget移除事件监听器
     event = randoms.Events()
     function = randoms.Funcs()
     useCapture = randoms.bool()
     return "'%s',%s,%s" % (event, function, useCapture)
Beispiel #6
0
 def p_controls(self):
     # 设置或返回音频是否应该显示控件(比如播放/暂停等)
     return r.bool()
Beispiel #7
0
 def p_disabled(self):
     # 规定应该禁用该按钮
     return r.bool()
Beispiel #8
0
 def p_hidden(self):
     # 是否应该隐藏元素的内容
     return r.bool()
Beispiel #9
0
 def p_itemScope(self):
     return r.bool()
Beispiel #10
0
 def p_formNoValidate(self):
     return r.bool()
Beispiel #11
0
 def p_contentEditable(self):
     # 获取/设置元素的可编辑状态
     return r.bool()
Beispiel #12
0
 def p_disabled(self):
     # 规定应该禁用该按钮
     return r.bool()
Beispiel #13
0
 def p_autofocus(self):
     # 规定当页面加载时按钮应当自动地获得焦点
     return r.choice([r.bool(), "autofocus"])
Beispiel #14
0
 def p_open(self):
     r.bool()
Beispiel #15
0
 def p_paused(self):
     # 设置或返回音频是否暂停
     return r.bool()
Beispiel #16
0
 def p_spellcheck(self):
     # 规定是否对元素进行拼写和语法检查
     return r.bool()
Beispiel #17
0
 def p_autoplay(self):
     # 设置或返回是否在就绪(加载完成)后随即播放音频
     return r.bool()
Beispiel #18
0
 def p_disabled(self):
     return r.bool()
Beispiel #19
0
 def p_disableRemotePlayback(self):
     # A Boolean that sets or returns the remote playback state,
     # indicating whether the media element is allowed to have a remote playback UI.
     return r.bool()
Beispiel #20
0
 def p_noHref(self):
     # indicating if the area is inactive (true) or active (false).
     return r.bool()
Beispiel #21
0
 def p_willValidate(self):
     return r.bool()
Beispiel #22
0
 def p_undoScope(self):
     return r.bool()
Beispiel #23
0
 def p_tabStop(self):
     return r.bool()
Beispiel #24
0
 def m_scrollIntoView(self):
     alignToTop = r.bool()
     behavior = r.choice(["auto", "instant", "smooth"])
     block = r.choice(["start", "end"])
     scrollIntoViewOptions = "{behavior:'%s',block:'%s',}" % (behavior, block)
     return r.choice(["", alignToTop, scrollIntoViewOptions])
Beispiel #25
0
 def m_removeEventListener(self):
     # 从这个EventTarget移除事件监听器
     event = randoms.Events()
     function = randoms.Funcs()
     useCapture = randoms.bool()
     return "'%s',%s,%s" % (event, function, useCapture)
Beispiel #26
0
 def m_setCapture(self):
     return r.bool()
Beispiel #27
0
 def p_disableRemotePlayback(self):
     # A Boolean that sets or returns the remote playback state,
     # indicating whether the media element is allowed to have a remote playback UI.
     return r.bool()
Beispiel #28
0
 def p_tabStop(self):
     return r.bool()
Beispiel #29
0
 def m_cloneNode(self):
     # 复制节点
     return r.choice([r.bool(), ""])
Beispiel #30
0
 def p_disabled(self):
     return r.bool()
Beispiel #31
0
 def p_muted(self):
     # 设置或返回音频是否静音
     return r.bool()
Beispiel #32
0
 def p_willValidate(self):
     return r.bool()
Beispiel #33
0
 def p_preservesPitch(self):
     return r.bool()
Beispiel #34
0
 def p_noHref(self):
     # indicating if the area is inactive (true) or active (false).
     return r.bool()
Beispiel #35
0
 def p_autostart(self):
     # 设置或返回是否在就绪(加载完成)后随即播放音频
     return r.bool()
Beispiel #36
0
 def p_mozOpaque(self):
     return r.bool()
Beispiel #37
0
 def p_defaultMuted(self):
     # 设置或返回音频默认是否静音
     return r.bool()
Beispiel #38
0
 def p_muted(self):
     # 设置或返回音频是否静音
     return r.bool()
Beispiel #39
0
 def p_autofocus(self):
     # 规定当页面加载时按钮应当自动地获得焦点
     return r.choice([r.bool(), "autofocus"])
Beispiel #40
0
 def p_paused(self):
     # 设置或返回音频是否暂停
     return r.bool()
Beispiel #41
0
 def p_formNoValidate(self):
     return r.bool()
Beispiel #42
0
 def p_preservesPitch(self):
     return r.bool()
Beispiel #43
0
 def p_undoScope(self):
     return r.bool()
Beispiel #44
0
 def p_autoplay(self):
     # 设置或返回是否在就绪(加载完成)后随即播放音频
     return r.bool()
Beispiel #45
0
 def m_setCapture(self):
     return r.bool()
Beispiel #46
0
 def p_autostart(self):
     # 设置或返回是否在就绪(加载完成)后随即播放音频
     return r.bool()
Beispiel #47
0
 def m_addEventListener(self):
     # 在这个EventTarget上添加指定事件类型的事件监听器 调用之前必须创建一个函数
     event = randoms.Events()
     function = randoms.Funcs()
     useCapture = randoms.bool()
     return "'%s',%s,%s" % (event, function, useCapture)
Beispiel #48
0
 def p_controls(self):
     # 设置或返回音频是否应该显示控件(比如播放/暂停等)
     return r.bool()
Beispiel #49
0
 def m_addEventListener(self):
     # 在这个EventTarget上添加指定事件类型的事件监听器 调用之前必须创建一个函数
     event = randoms.Events()
     function = randoms.Funcs()
     useCapture = randoms.bool()
     return "'%s',%s,%s" % (event, function, useCapture)
Beispiel #50
0
 def p_defaultMuted(self):
     # 设置或返回音频默认是否静音
     return r.bool()
Beispiel #51
0
 def p_open(self):
     r.bool()
Beispiel #52
0
 def p_mozOpaque(self):
     return r.bool()