Commit 9206c8a8 authored by philipj@opera.com's avatar philipj@opera.com

Add the HTMLIFrameElement.allowFullscreen reflected attribute

http://whatwg.org/html#dom-iframe-allowfullscreen

BUG=383813

Review URL: https://codereview.chromium.org/398843002

git-svn-id: svn://svn.chromium.org/blink/trunk@178555 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 0d80a8e5
......@@ -27,6 +27,10 @@ PASS e = make('hr'); e.removeAttribute('noshade'); e.noShade is false
PASS e = make('hr'); e.setAttribute('noshade', ''); e.noShade is true
PASS e = make('hr'); e.setAttribute('noshade', 'x'); e.noShade = false; e.getAttribute('noshade') is null
PASS e = make('hr'); e.setAttribute('noshade', 'x'); e.noShade = true; e.getAttribute('noshade') is ''
PASS e = make('iframe'); e.removeAttribute('allowfullscreen'); e.allowFullscreen is false
PASS e = make('iframe'); e.setAttribute('allowfullscreen', ''); e.allowFullscreen is true
PASS e = make('iframe'); e.setAttribute('allowfullscreen', 'x'); e.allowFullscreen = false; e.getAttribute('allowfullscreen') is null
PASS e = make('iframe'); e.setAttribute('allowfullscreen', 'x'); e.allowFullscreen = true; e.getAttribute('allowfullscreen') is ''
PASS e = make('img'); e.removeAttribute('ismap'); e.isMap is false
PASS e = make('img'); e.setAttribute('ismap', ''); e.isMap is true
PASS e = make('img'); e.setAttribute('ismap', 'x'); e.isMap = false; e.getAttribute('ismap') is null
......
......@@ -7,6 +7,7 @@ var attributes = [
[ "form", "noValidate" ],
[ "frame", "noResize" ],
[ "hr", "noShade" ],
[ "iframe", "allowFullscreen" ],
[ "img", "isMap" ],
[ "input", "autofocus" ],
[ "input", "defaultChecked", "checked" ],
......
......@@ -20,6 +20,7 @@
interface HTMLIFrameElement : HTMLElement {
[Reflect] attribute DOMString align;
[Reflect] attribute boolean allowFullscreen;
[Reflect] attribute DOMString frameBorder;
[Reflect] attribute DOMString height;
[Reflect, URL] attribute DOMString longDesc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment