+2015-10-21 Chris Dumez <cdumez@apple.com>
+
+ Un-expose obsolete HTMLBaseFontElement
+ https://bugs.webkit.org/show_bug.cgi?id=150397
+
+ Reviewed by Anders Carlsson.
+
+ Update existing layout tests to stop expecting HTMLBaseFontElement to
+ be exposed.
+
+ * dom/html/level2/html/HTMLBaseFontElement01-expected.txt: Removed.
+ * dom/html/level2/html/HTMLBaseFontElement01.html: Removed.
+ * dom/html/level2/html/HTMLBaseFontElement01.js: Removed.
+ * dom/html/level2/html/HTMLBaseFontElement02-expected.txt: Removed.
+ * dom/html/level2/html/HTMLBaseFontElement02.html: Removed.
+ * dom/html/level2/html/HTMLBaseFontElement02.js: Removed.
+ * dom/html/level2/html/HTMLBaseFontElement03-expected.txt: Removed.
+ * dom/html/level2/html/HTMLBaseFontElement03.html: Removed.
+ * dom/html/level2/html/HTMLBaseFontElement03.js: Removed.
+ * dom/html/level2/html/basefont01-expected.txt: Removed.
+ * dom/html/level2/html/basefont01.html: Removed.
+ * dom/html/level2/html/basefont01.js: Removed.
+ * dom/xhtml/level2/html/HTMLBaseFontElement01-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLBaseFontElement01.js: Removed.
+ * dom/xhtml/level2/html/HTMLBaseFontElement01.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLBaseFontElement02-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLBaseFontElement02.js: Removed.
+ * dom/xhtml/level2/html/HTMLBaseFontElement02.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLBaseFontElement03-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLBaseFontElement03.js: Removed.
+ * dom/xhtml/level2/html/HTMLBaseFontElement03.xhtml: Removed.
+ * dom/xhtml/level2/html/basefont01-expected.txt: Removed.
+ * dom/xhtml/level2/html/basefont01.js: Removed.
+ * dom/xhtml/level2/html/basefont01.xhtml: Removed.
+ Drop Legacy W3C DOM level 2 basefont tests.
+
+ * fast/dom/Window/element-constructors-on-window-expected.txt:
+ * fast/dom/Window/element-constructors-on-window.html:
+ * fast/dom/Window/get-set-properties-expected.txt:
+ * fast/dom/Window/get-set-properties.html:
+ * fast/dom/Window/resources/window-properties.js:
+ * fast/dom/Window/window-lookup-precedence-expected.txt:
+ * fast/dom/dom-constructors-expected.txt:
+ * fast/dom/dom-constructors.html:
+ * fast/dom/element-attribute-js-null-expected.txt:
+ * fast/dom/element-attribute-js-null.html:
+ * fast/dom/html-attribute-types-expected.txt:
+ * fast/dom/html-attribute-types.html:
+ * fast/dom/wrapper-classes-expected.txt:
+ * fast/dom/wrapper-classes.html:
+ * js/dom/global-constructors-attributes-expected.txt:
+ * platform/efl/js/dom/global-constructors-attributes-expected.txt:
+ * platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt:
+ * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
+ * platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
+ * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
+ * platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
+ * platform/mac/js/dom/global-constructors-attributes-expected.txt:
+ * platform/win/js/dom/global-constructors-attributes-expected.txt:
+
2015-10-21 Sukolsak Sakshuwong <sukolsak@gmail.com>
[INTL] Implement Intl.Collator.prototype.resolvedOptions ()
+++ /dev/null
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement01
-Status: Success
+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - BaseFont</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBaseFontElement01.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()">
-<P>
-<BASEFONT COLOR="#000000" FACE="arial,helvitica" SIZE="4">
-</P>
-</BODY>
-</HTML>
+++ /dev/null
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement01";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "basefont");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- The color attribute specifies the base font's color.
-
- Retrieve the color attribute and examine its value.
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-87502302
-*/
-function HTMLBaseFontElement01() {
- var success;
- if(checkInitialization(builder, "HTMLBaseFontElement01") != null) return;
- var nodeList;
- var testNode;
- var vcolor;
- var doc;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "basefont");
- nodeList = doc.getElementsByTagName("basefont");
- assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
- vcolor = testNode.color;
-
- assertEquals("colorLink","#000000",vcolor);
-
-}
-
-
-
-
-function runTest() {
- HTMLBaseFontElement01();
-}
+++ /dev/null
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement02
-Status: Success
+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - BaseFont</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBaseFontElement02.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()">
-<P>
-<BASEFONT COLOR="#000000" FACE="arial,helvitica" SIZE="4">
-</P>
-</BODY>
-</HTML>
+++ /dev/null
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement02";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "basefont");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- The face attribute specifies the base font's face identifier.
-
- Retrieve the face attribute and examine its value.
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-88128969
-*/
-function HTMLBaseFontElement02() {
- var success;
- if(checkInitialization(builder, "HTMLBaseFontElement02") != null) return;
- var nodeList;
- var testNode;
- var vface;
- var doc;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "basefont");
- nodeList = doc.getElementsByTagName("basefont");
- assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
- vface = testNode.face;
-
- assertEquals("faceLink","arial,helvitica",vface);
-
-}
-
-
-
-
-function runTest() {
- HTMLBaseFontElement02();
-}
+++ /dev/null
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement03
-Status: Success
+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - BaseFont</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBaseFontElement03.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()">
-<P>
-<BASEFONT COLOR="#000000" FACE="arial,helvitica" SIZE="4">
-</P>
-</BODY>
-</HTML>
+++ /dev/null
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement03";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "basefont");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- The size attribute specifies the base font's size.
-
- Retrieve the size attribute and examine it's value.
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-38930424
-*/
-function HTMLBaseFontElement03() {
- var success;
- if(checkInitialization(builder, "HTMLBaseFontElement03") != null) return;
- var nodeList;
- var testNode;
- var vsize;
- var doc;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "basefont");
- nodeList = doc.getElementsByTagName("basefont");
- assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
- vsize = testNode.size;
-
- assertEquals("sizeLink",4,vsize);
-
-}
-
-
-
-
-function runTest() {
- HTMLBaseFontElement03();
-}
+++ /dev/null
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/basefont01
-Status: Success
+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - BaseFont</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='basefont01.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()">
-<P>
-<BASEFONT COLOR="#000000" FACE="arial,helvitica" SIZE="4">
-</P>
-</BODY>
-</HTML>
+++ /dev/null
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/basefont01";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "basefont");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-The value of attribute color of the basefont element is read and checked against the expected value.
-
-* @author Netscape
-* @author Sivakiran Tummala
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-87502302
-*/
-function basefont01() {
- var success;
- if(checkInitialization(builder, "basefont01") != null) return;
- var nodeList;
- var testNode;
- var vcolor;
- var doc;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "basefont");
- nodeList = doc.getElementsByTagName("basefont");
- assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
- vcolor = testNode.color;
-
- assertEquals("colorLink","#000000",vcolor);
-
-}
-
-
-
-
-function runTest() {
- basefont01();
-}
+++ /dev/null
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement01
-Status Success
+++ /dev/null
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement01";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "basefont");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- The color attribute specifies the base font's color.
-
- Retrieve the color attribute and examine its value.
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-87502302
-*/
-function HTMLBaseFontElement01() {
- var success;
- if(checkInitialization(builder, "HTMLBaseFontElement01") != null) return;
- var nodeList;
- var testNode;
- var vcolor;
- var doc;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "basefont");
- nodeList = doc.getElementsByTagName("basefont");
- assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
- vcolor = testNode.color;
-
- assertEquals("colorLink","#000000",vcolor);
-
-}
-
-
-
-
-function runTest() {
- HTMLBaseFontElement01();
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - BaseFont</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBaseFontElement01.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>
-<basefont color="#000000" face="arial,helvitica" size="4"/>
-</p>
-</body>
-</html>
+++ /dev/null
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement02
-Status Success
+++ /dev/null
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement02";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "basefont");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- The face attribute specifies the base font's face identifier.
-
- Retrieve the face attribute and examine its value.
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-88128969
-*/
-function HTMLBaseFontElement02() {
- var success;
- if(checkInitialization(builder, "HTMLBaseFontElement02") != null) return;
- var nodeList;
- var testNode;
- var vface;
- var doc;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "basefont");
- nodeList = doc.getElementsByTagName("basefont");
- assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
- vface = testNode.face;
-
- assertEquals("faceLink","arial,helvitica",vface);
-
-}
-
-
-
-
-function runTest() {
- HTMLBaseFontElement02();
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - BaseFont</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBaseFontElement02.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>
-<basefont color="#000000" face="arial,helvitica" size="4"/>
-</p>
-</body>
-</html>
+++ /dev/null
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement03
-Status Success
+++ /dev/null
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement03";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "basefont");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- The size attribute specifies the base font's size.
-
- Retrieve the size attribute and examine it's value.
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-38930424
-*/
-function HTMLBaseFontElement03() {
- var success;
- if(checkInitialization(builder, "HTMLBaseFontElement03") != null) return;
- var nodeList;
- var testNode;
- var vsize;
- var doc;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "basefont");
- nodeList = doc.getElementsByTagName("basefont");
- assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
- vsize = testNode.size;
-
- assertEquals("sizeLink",4,vsize);
-
-}
-
-
-
-
-function runTest() {
- HTMLBaseFontElement03();
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - BaseFont</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBaseFontElement03.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>
-<basefont color="#000000" face="arial,helvitica" size="4"/>
-</p>
-</body>
-</html>
+++ /dev/null
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/basefont01
-Status Success
+++ /dev/null
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/basefont01";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "basefont");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-The value of attribute color of the basefont element is read and checked against the expected value.
-
-* @author Netscape
-* @author Sivakiran Tummala
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-87502302
-*/
-function basefont01() {
- var success;
- if(checkInitialization(builder, "basefont01") != null) return;
- var nodeList;
- var testNode;
- var vcolor;
- var doc;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "basefont");
- nodeList = doc.getElementsByTagName("basefont");
- assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
- vcolor = testNode.color;
-
- assertEquals("colorLink","#000000",vcolor);
-
-}
-
-
-
-
-function runTest() {
- basefont01();
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - BaseFont</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='basefont01.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()">
-<p>
-<basefont color="#000000" face="arial,helvitica" size="4"/>
-</p>
-</body>
-</html>
HTMLBaseElement: [object HTMLBaseElementConstructor]
-HTMLBaseFontElement: [object HTMLBaseFontElementConstructor]
-
HTMLBodyElement: [object HTMLBodyElementConstructor]
HTMLBRElement: [object HTMLBRElementConstructor]
test("HTMLAppletElement");
test("HTMLAreaElement");
test("HTMLBaseElement");
-test("HTMLBaseFontElement");
test("HTMLBodyElement");
test("HTMLBRElement");
test("HTMLButtonElement");
PASS: canSet('HTMLBRElement') should be 'true' and is.
PASS: canGet('HTMLBaseElement') should be 'true' and is.
PASS: canSet('HTMLBaseElement') should be 'true' and is.
-PASS: canGet('HTMLBaseFontElement') should be 'true' and is.
-PASS: canSet('HTMLBaseFontElement') should be 'true' and is.
PASS: canGet('HTMLBodyElement') should be 'true' and is.
PASS: canSet('HTMLBodyElement') should be 'true' and is.
PASS: canGet('HTMLButtonElement') should be 'true' and is.
"HTMLAreaElement",
"HTMLBRElement",
"HTMLBaseElement",
- "HTMLBaseFontElement",
"HTMLBodyElement",
"HTMLButtonElement",
"HTMLCanvasElement",
["HTMLAreaElement", "object"],
["HTMLBRElement", "object"],
["HTMLBaseElement", "object"],
- ["HTMLBaseFontElement", "object"],
["HTMLBodyElement", "object"],
["HTMLButtonElement", "object"],
["HTMLCanvasElement", "object"],
PASS win['HTMLBRElement'] == '[object HTMLBRElementConstructor]' is true
PASS win['HTMLBaseElement'] == '[object HTMLBaseElementConstructor]' is true
PASS win['HTMLBaseElement'] == '[object HTMLBaseElementConstructor]' is true
-PASS win['HTMLBaseFontElement'] == '[object HTMLBaseFontElementConstructor]' is true
-PASS win['HTMLBaseFontElement'] == '[object HTMLBaseFontElementConstructor]' is true
PASS win['HTMLBodyElement'] == '[object HTMLBodyElementConstructor]' is true
PASS win['HTMLBodyElement'] == '[object HTMLBodyElementConstructor]' is true
PASS win['HTMLButtonElement'] == '[object HTMLButtonElementConstructor]' is true
PASS TryAllocate('HTMLAppletElement') is 'exception'
PASS TryAllocate('HTMLAreaElement') is 'exception'
PASS TryAllocate('HTMLBaseElement') is 'exception'
-PASS TryAllocate('HTMLBaseFontElement') is 'exception'
PASS TryAllocate('HTMLBodyElement') is 'exception'
PASS TryAllocate('HTMLBRElement') is 'exception'
PASS TryAllocate('HTMLButtonElement') is 'exception'
'HTMLAppletElement',
'HTMLAreaElement',
'HTMLBaseElement',
- 'HTMLBaseFontElement',
'HTMLBodyElement',
'HTMLBRElement',
'HTMLButtonElement',
TEST SUCCEEDED: The value was the empty string. [tested HTMLBaseElement.target]
-TEST SUCCEEDED: The value was the empty string. [tested HTMLBaseFontElement.color]
-TEST SUCCEEDED: The value was the empty string. [tested HTMLBaseFontElement.face]
-
TEST SUCCEEDED: The value was the empty string. [tested HTMLBlockquoteElement.cite]
TEST SUCCEEDED: The value was the empty string. [tested HTMLBodyElement.aLink]
]
},
{
- type: 'HTMLBaseFontElement',
- elementToUse: document.createElement('basefont'),
- attributes: [
- {name: 'color', expectedNull: ''},
- {name: 'face', expectedNull: ''}
- ]
- },
- {
type: 'HTMLBlockquoteElement',
elementToUse: document.createElement('blockquote'),
attributes: [
This checks the types of some HTML DOM attributes whose types currently clash with our implementation.
PASS typeof img.border is 'string'
PASS typeof pre.width is 'number'
-PASS typeof basefont.size is 'number'
pre = document.createElement('pre');
shouldBe("typeof pre.width", "'number'");
-
- basefont = document.createElement('basefont');
- shouldBe("typeof basefont.size", "'number'")
}
</script>
</head>
PASS tagJSWrapperClass('base') is 'HTMLBaseElement'
PASS tagJSWrapperPrototypeClass('base') is 'HTMLBaseElementPrototype'
PASS tagJSWrapperConstructorClass('base') is 'HTMLBaseElementConstructor'
-PASS tagJSWrapperClass('basefont') is 'HTMLBaseFontElement'
-PASS tagJSWrapperPrototypeClass('basefont') is 'HTMLBaseFontElementPrototype'
-PASS tagJSWrapperConstructorClass('basefont') is 'HTMLBaseFontElementConstructor'
PASS tagJSWrapperClass('bdo') is 'HTMLElement'
PASS tagJSWrapperPrototypeClass('bdo') is 'HTMLElementPrototype'
PASS tagJSWrapperConstructorClass('bdo') is 'HTMLElementConstructor'
testTag("aside", "HTMLElement");
testTag("b", "HTMLElement");
testTag("base", "HTMLBaseElement");
- testTag("basefont", "HTMLBaseFontElement");
testTag("bdo", "HTMLElement");
testTag("big", "HTMLElement");
testTag("blockquote", "HTMLQuoteElement");
PASS: canGetDescriptor(targetWindow, 'HTMLAreaElement') should be 'false' and is.
PASS: canGetDescriptor(targetWindow, 'HTMLBRElement') should be 'false' and is.
PASS: canGetDescriptor(targetWindow, 'HTMLBaseElement') should be 'false' and is.
-PASS: canGetDescriptor(targetWindow, 'HTMLBaseFontElement') should be 'false' and is.
PASS: canGetDescriptor(targetWindow, 'HTMLBodyElement') should be 'false' and is.
PASS: canGetDescriptor(targetWindow, 'HTMLButtonElement') should be 'false' and is.
PASS: canGetDescriptor(targetWindow, 'HTMLCanvasElement') should be 'false' and is.
"HTMLAreaElement",
"HTMLBRElement",
"HTMLBaseElement",
- "HTMLBaseFontElement",
"HTMLBodyElement",
"HTMLButtonElement",
"HTMLCanvasElement",
-CONSOLE MESSAGE: line 152: Blocked a frame with origin "http://localhost:8000" from accessing a frame with origin "http://127.0.0.1:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 151: Blocked a frame with origin "http://localhost:8000" from accessing a frame with origin "http://127.0.0.1:8000". Protocols, domains, and ports must match.
ALERT: PASS: window.Attr should be '[object AttrConstructor]' and is.
ALERT: PASS: window.CDATASection should be '[object CDATASectionConstructor]' and is.
ALERT: PASS: window.CharacterData should be '[object CharacterDataConstructor]' and is.
ALERT: PASS: window.HTMLAppletElement should be '[object HTMLAppletElementConstructor]' and is.
ALERT: PASS: window.HTMLAreaElement should be '[object HTMLAreaElementConstructor]' and is.
ALERT: PASS: window.HTMLBaseElement should be '[object HTMLBaseElementConstructor]' and is.
-ALERT: PASS: window.HTMLBaseFontElement should be '[object HTMLBaseFontElementConstructor]' and is.
ALERT: PASS: window.HTMLBodyElement should be '[object HTMLBodyElementConstructor]' and is.
ALERT: PASS: window.HTMLBRElement should be '[object HTMLBRElementConstructor]' and is.
ALERT: PASS: window.HTMLButtonElement should be '[object HTMLButtonElementConstructor]' and is.
CONSOLE MESSAGE: line 120: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 121: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 122: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 123: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 132: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 134: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 131: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 133: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 135: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 136: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 137: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 138: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 139: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 140: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 141: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 142: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 143: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 144: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 145: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 178: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 179: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 180: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 181: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 183: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 184: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 185: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 186: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 196: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 197: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 198: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 199: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
+CONSOLE MESSAGE: line 201: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 202: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 203: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 204: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 231: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 232: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: line 233: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: line 234: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
This test checks cross-frame access security of window attribute setters (rdar://problem/5326791).
setForbiddenProperty(targetWindow, "HTMLAppletElement");
setForbiddenProperty(targetWindow, "HTMLAreaElement");
setForbiddenProperty(targetWindow, "HTMLBaseElement");
- setForbiddenProperty(targetWindow, "HTMLBaseFontElement");
setForbiddenProperty(targetWindow, "HTMLBodyElement");
setForbiddenProperty(targetWindow, "HTMLBRElement");
setForbiddenProperty(targetWindow, "HTMLButtonElement");
var HTMLAppletElementOld = window.HTMLAppletElement;
var HTMLAreaElementOld = window.HTMLAreaElement;
var HTMLBaseElementOld = window.HTMLBaseElement;
- var HTMLBaseFontElementOld = window.HTMLBaseFontElement;
var HTMLBodyElementOld = window.HTMLBodyElement;
var HTMLBRElementOld = window.HTMLBRElement;
var HTMLButtonElementOld = window.HTMLButtonElement;
shouldBe("window.HTMLAppletElement", "HTMLAppletElementOld");
shouldBe("window.HTMLAreaElement", "HTMLAreaElementOld");
shouldBe("window.HTMLBaseElement", "HTMLBaseElementOld");
- shouldBe("window.HTMLBaseFontElement", "HTMLBaseFontElementOld");
shouldBe("window.HTMLBodyElement", "HTMLBodyElementOld");
shouldBe("window.HTMLBRElement", "HTMLBRElementOld");
shouldBe("window.HTMLButtonElement", "HTMLButtonElementOld");
2015-10-21 Chris Dumez <cdumez@apple.com>
+ Un-expose obsolete HTMLBaseFontElement
+ https://bugs.webkit.org/show_bug.cgi?id=150397
+
+ Reviewed by Anders Carlsson.
+
+ Rebaseline a couple of W3C HTML tests now that more checks are passing.
+
+ * web-platform-tests/html/dom/interfaces-expected.txt:
+ * web-platform-tests/html/semantics/interfaces-expected.txt:
+
+2015-10-21 Chris Dumez <cdumez@apple.com>
+
bgsound should use HTMLUnknownElement interface
https://bugs.webkit.org/show_bug.cgi?id=148857
<rdar://problem/22589036>
CONSOLE MESSAGE: line 2476: Deprecated attempt to access property 'nodeType' on a non-Node object.
CONSOLE MESSAGE: line 794: Deprecated attempt to access property 'nodeType' on a non-Node object.
CONSOLE MESSAGE: line 2476: Deprecated attempt to access property 'nodeType' on a non-Node object.
-CONSOLE MESSAGE: line 794: Deprecated attempt to access property 'nodeType' on a non-Node object.
-CONSOLE MESSAGE: line 2476: Deprecated attempt to access property 'nodeType' on a non-Node object.
-CONSOLE MESSAGE: line 794: Deprecated attempt to access property 'nodeType' on a non-Node object.
-CONSOLE MESSAGE: line 2476: Deprecated attempt to access property 'nodeType' on a non-Node object.
CONSOLE MESSAGE: line 1152: Deprecated attempt to access property 'version' on a non-HTMLHtmlElement object.
CONSOLE MESSAGE: line 1152: Deprecated attempt to access property 'text' on a non-HTMLTitleElement object.
CONSOLE MESSAGE: line 1152: Deprecated attempt to access property 'href' on a non-HTMLBaseElement object.
FAIL Stringification of document.createElement("rb") assert_equals: class string of document.createElement("rb") expected "[object HTMLUnknownElement]" but got "[object HTMLElement]"
PASS HTMLUnknownElement must be primary interface of document.createElement("spacer")
PASS Stringification of document.createElement("spacer")
-FAIL HTMLUnknownElement must be primary interface of document.createElement("basefont") assert_equals: document.createElement("basefont")'s prototype is not HTMLUnknownElement.prototype expected Node object of unknown type but got Node object of unknown type
-FAIL Stringification of document.createElement("basefont") assert_equals: class string of document.createElement("basefont") expected "[object HTMLUnknownElement]" but got "[object HTMLBaseFontElement]"
+PASS HTMLUnknownElement must be primary interface of document.createElement("basefont")
+PASS Stringification of document.createElement("basefont")
PASS HTMLUnknownElement must be primary interface of document.createElement("directory")
PASS Stringification of document.createElement("directory")
PASS HTMLUnknownElement must be primary interface of document.createElement("mod")
PASS Interfaces for B
PASS Interfaces for base
PASS Interfaces for BASE
-FAIL Interfaces for basefont assert_equals: Element basefont should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLBaseFontElement]"
-FAIL Interfaces for BASEFONT assert_equals: Element BASEFONT should have HTMLUnknownElement as its primary interface. expected "[object HTMLUnknownElement]" but got "[object HTMLBaseFontElement]"
+PASS Interfaces for basefont
+PASS Interfaces for BASEFONT
PASS Interfaces for bdo
PASS Interfaces for BDO
PASS Interfaces for bgsound
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').value is HTMLBaseFontElement
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').value is HTMLBodyElement
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').value is HTMLBaseFontElement
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').value is HTMLBodyElement
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('set') is false
PASS win['HTMLBRElement'] == '[object HTMLBRElementConstructor]' is true
PASS win['HTMLBaseElement'] == '[object HTMLBaseElementConstructor]' is true
PASS win['HTMLBaseElement'] == '[object HTMLBaseElementConstructor]' is true
-PASS win['HTMLBaseFontElement'] == '[object HTMLBaseFontElementConstructor]' is true
-PASS win['HTMLBaseFontElement'] == '[object HTMLBaseFontElementConstructor]' is true
PASS win['HTMLBodyElement'] == '[object HTMLBodyElementConstructor]' is true
PASS win['HTMLBodyElement'] == '[object HTMLBodyElementConstructor]' is true
PASS win['HTMLButtonElement'] == '[object HTMLButtonElementConstructor]' is true
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').value is HTMLBaseFontElement
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').value is HTMLBodyElement
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').value is HTMLBaseFontElement
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').value is HTMLBodyElement
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').value is HTMLBaseFontElement
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').value is HTMLBodyElement
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('set') is false
PASS win['HTMLBRElement'] == '[object HTMLBRElementConstructor]' is true
PASS win['HTMLBaseElement'] == '[object HTMLBaseElementConstructor]' is true
PASS win['HTMLBaseElement'] == '[object HTMLBaseElementConstructor]' is true
-PASS win['HTMLBaseFontElement'] == '[object HTMLBaseFontElementConstructor]' is true
-PASS win['HTMLBaseFontElement'] == '[object HTMLBaseFontElementConstructor]' is true
PASS win['HTMLBodyElement'] == '[object HTMLBodyElementConstructor]' is true
PASS win['HTMLBodyElement'] == '[object HTMLBodyElementConstructor]' is true
PASS win['HTMLButtonElement'] == '[object HTMLButtonElementConstructor]' is true
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').value is HTMLBaseFontElement
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').value is HTMLBodyElement
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('set') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').enumerable is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').value is HTMLBaseFontElement
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseFontElement').configurable is true
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').value is HTMLBodyElement
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('get') is false
PASS Object.getOwnPropertyDescriptor(global, 'HTMLBodyElement').hasOwnProperty('set') is false
+2015-10-21 Chris Dumez <cdumez@apple.com>
+
+ Un-expose obsolete HTMLBaseFontElement
+ https://bugs.webkit.org/show_bug.cgi?id=150397
+
+ Reviewed by Anders Carlsson.
+
+ Un-expose obsolete HTMLBaseFontElement:
+ - https://html.spec.whatwg.org/multipage/obsolete.html#non-conforming-features
+
+ This means that we no longer expose HTMLBaseFontElement on the global
+ Window object. Firefox and Chrome do not expose it either.
+
+ Also, document.createElement("basefont") now returns an HTMLUnknownElement
+ as per the specification. Firefox and Chrome return a generic HTMLElement
+ instead but I don't think this is a big compatibility risk.
+
+ No new tests, already covered by existing tests.
+
+ * html/HTMLBaseFontElement.cpp:
+ (WebCore::HTMLBaseFontElement::HTMLBaseFontElement):
+ * html/HTMLBaseFontElement.h:
+ * html/HTMLBaseFontElement.idl:
+ * html/HTMLTagNames.in:
+
2015-10-21 Anders Carlsson <andersca@apple.com>
Get rid of WebContextMenuClient::customizeMenu, it's no longer used
#endif
#include "JSHTMLAudioElement.cpp"
#include "JSHTMLBaseElement.cpp"
-#include "JSHTMLBaseFontElement.cpp"
#include "JSHTMLBodyElement.cpp"
#include "JSHTMLBRElement.cpp"
#include "JSHTMLButtonElement.cpp"
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
</ClCompile>
- <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSHTMLBaseFontElement.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
- </ClCompile>
<ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSHTMLBodyElement.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSHTMLAttachmentElement.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSHTMLAudioElement.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSHTMLBaseElement.h" />
- <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSHTMLBaseFontElement.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSHTMLBodyElement.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSHTMLBRElement.h" />
<ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSHTMLButtonElement.h" />
1AE00D59182DAC8D00087DD7 /* KeyedCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE00D57182DAC8D00087DD7 /* KeyedCoding.h */; settings = {ATTRIBUTES = (Private, ); }; };
1AE2AA1E0A1CDAB400B42B25 /* JSHTMLAreaElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA0A0A1CDAB300B42B25 /* JSHTMLAreaElement.cpp */; };
1AE2AA1F0A1CDAB400B42B25 /* JSHTMLAreaElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA0B0A1CDAB300B42B25 /* JSHTMLAreaElement.h */; };
- 1AE2AA200A1CDAB400B42B25 /* JSHTMLBaseFontElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA0C0A1CDAB300B42B25 /* JSHTMLBaseFontElement.cpp */; };
- 1AE2AA210A1CDAB400B42B25 /* JSHTMLBaseFontElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA0D0A1CDAB300B42B25 /* JSHTMLBaseFontElement.h */; };
1AE2AA220A1CDAB400B42B25 /* JSHTMLBodyElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA0E0A1CDAB300B42B25 /* JSHTMLBodyElement.cpp */; };
1AE2AA230A1CDAB400B42B25 /* JSHTMLBodyElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE2AA0F0A1CDAB300B42B25 /* JSHTMLBodyElement.h */; };
1AE2AA240A1CDAB400B42B25 /* JSHTMLBRElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE2AA100A1CDAB300B42B25 /* JSHTMLBRElement.cpp */; };
1AE2A9F90A1CDA5700B42B25 /* HTMLHRElement.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = HTMLHRElement.idl; sourceTree = "<group>"; };
1AE2AA0A0A1CDAB300B42B25 /* JSHTMLAreaElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLAreaElement.cpp; sourceTree = "<group>"; };
1AE2AA0B0A1CDAB300B42B25 /* JSHTMLAreaElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLAreaElement.h; sourceTree = "<group>"; };
- 1AE2AA0C0A1CDAB300B42B25 /* JSHTMLBaseFontElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLBaseFontElement.cpp; sourceTree = "<group>"; };
- 1AE2AA0D0A1CDAB300B42B25 /* JSHTMLBaseFontElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLBaseFontElement.h; sourceTree = "<group>"; };
1AE2AA0E0A1CDAB300B42B25 /* JSHTMLBodyElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLBodyElement.cpp; sourceTree = "<group>"; };
1AE2AA0F0A1CDAB300B42B25 /* JSHTMLBodyElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLBodyElement.h; sourceTree = "<group>"; };
1AE2AA100A1CDAB300B42B25 /* JSHTMLBRElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLBRElement.cpp; sourceTree = "<group>"; };
E4B4237E0CBFB73C00AF2ECE /* JSHTMLAudioElement.h */,
A80E7B080A19D606007FB8C5 /* JSHTMLBaseElement.cpp */,
A80E7B070A19D606007FB8C5 /* JSHTMLBaseElement.h */,
- 1AE2AA0C0A1CDAB300B42B25 /* JSHTMLBaseFontElement.cpp */,
- 1AE2AA0D0A1CDAB300B42B25 /* JSHTMLBaseFontElement.h */,
1AE2AA0E0A1CDAB300B42B25 /* JSHTMLBodyElement.cpp */,
1AE2AA0F0A1CDAB300B42B25 /* JSHTMLBodyElement.h */,
1AE2AA100A1CDAB300B42B25 /* JSHTMLBRElement.cpp */,
7C9DBFEE1A9C49B1000D6B25 /* JSHTMLAttachmentElement.h in Headers */,
E44614380CD689C500FADA75 /* JSHTMLAudioElement.h in Headers */,
A80E7B110A19D606007FB8C5 /* JSHTMLBaseElement.h in Headers */,
- 1AE2AA210A1CDAB400B42B25 /* JSHTMLBaseFontElement.h in Headers */,
1AE2AA230A1CDAB400B42B25 /* JSHTMLBodyElement.h in Headers */,
1AE2AA250A1CDAB400B42B25 /* JSHTMLBRElement.h in Headers */,
A80E7E9F0A1A83E3007FB8C5 /* JSHTMLButtonElement.h in Headers */,
7C9DBFED1A9C49B1000D6B25 /* JSHTMLAttachmentElement.cpp in Sources */,
E44614370CD689C400FADA75 /* JSHTMLAudioElement.cpp in Sources */,
A80E7B120A19D606007FB8C5 /* JSHTMLBaseElement.cpp in Sources */,
- 1AE2AA200A1CDAB400B42B25 /* JSHTMLBaseFontElement.cpp in Sources */,
1AE2AA220A1CDAB400B42B25 /* JSHTMLBodyElement.cpp in Sources */,
1AE2AA240A1CDAB400B42B25 /* JSHTMLBRElement.cpp in Sources */,
A80E7EA00A1A83E3007FB8C5 /* JSHTMLButtonElement.cpp in Sources */,
using namespace HTMLNames;
-inline HTMLBaseFontElement::HTMLBaseFontElement(const QualifiedName& tagName, Document& document)
+HTMLBaseFontElement::HTMLBaseFontElement(const QualifiedName& tagName, Document& document)
: HTMLElement(tagName, document)
{
ASSERT(hasTagName(basefontTag));
}
-Ref<HTMLBaseFontElement> HTMLBaseFontElement::create(const QualifiedName& tagName, Document& document)
-{
- return adoptRef(*new HTMLBaseFontElement(tagName, document));
-}
-
}
namespace WebCore {
+// Only used by ObjC / Gobject bindings.
class HTMLBaseFontElement final : public HTMLElement {
-public:
- static Ref<HTMLBaseFontElement> create(const QualifiedName&, Document&);
-
private:
HTMLBaseFontElement(const QualifiedName&, Document&);
};
* Boston, MA 02110-1301, USA.
*/
-interface HTMLBaseFontElement : HTMLElement {
+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GOBJECT) && LANGUAGE_GOBJECT
+
+[
+ NoInterfaceObject
+] interface HTMLBaseFontElement : HTMLElement {
[Reflect] attribute DOMString color;
[Reflect] attribute DOMString face;
#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
[Reflect] attribute long size;
#endif
};
+
+#endif
audio wrapperOnlyIfMediaIsAvailable, conditional=VIDEO, constructorNeedsCreatedByParser, customTypeHelper
b interfaceName=HTMLElement
base
-basefont interfaceName=HTMLBaseFontElement
+basefont interfaceName=HTMLUnknownElement
bdi interfaceName=HTMLBDIElement, JSInterfaceName=HTMLElement
bdo interfaceName=HTMLElement
bgsound interfaceName=HTMLUnknownElement