Un-expose obsolete HTMLBaseFontElement
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Oct 2015 00:58:24 +0000 (00:58 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Oct 2015 00:58:24 +0000 (00:58 +0000)
https://bugs.webkit.org/show_bug.cgi?id=150397

Reviewed by Anders Carlsson.

LayoutTests/imported/w3c:

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:

Source/WebCore:

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:

LayoutTests:

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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191423 268f45cc-cd09-0410-ab3c-d52691b4dbfc

64 files changed:
LayoutTests/ChangeLog
LayoutTests/dom/html/level2/html/HTMLBaseFontElement01-expected.txt [deleted file]
LayoutTests/dom/html/level2/html/HTMLBaseFontElement01.html [deleted file]
LayoutTests/dom/html/level2/html/HTMLBaseFontElement01.js [deleted file]
LayoutTests/dom/html/level2/html/HTMLBaseFontElement02-expected.txt [deleted file]
LayoutTests/dom/html/level2/html/HTMLBaseFontElement02.html [deleted file]
LayoutTests/dom/html/level2/html/HTMLBaseFontElement02.js [deleted file]
LayoutTests/dom/html/level2/html/HTMLBaseFontElement03-expected.txt [deleted file]
LayoutTests/dom/html/level2/html/HTMLBaseFontElement03.html [deleted file]
LayoutTests/dom/html/level2/html/HTMLBaseFontElement03.js [deleted file]
LayoutTests/dom/html/level2/html/basefont01-expected.txt [deleted file]
LayoutTests/dom/html/level2/html/basefont01.html [deleted file]
LayoutTests/dom/html/level2/html/basefont01.js [deleted file]
LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement01-expected.txt [deleted file]
LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement01.js [deleted file]
LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement01.xhtml [deleted file]
LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement02-expected.txt [deleted file]
LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement02.js [deleted file]
LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement02.xhtml [deleted file]
LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement03-expected.txt [deleted file]
LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement03.js [deleted file]
LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement03.xhtml [deleted file]
LayoutTests/dom/xhtml/level2/html/basefont01-expected.txt [deleted file]
LayoutTests/dom/xhtml/level2/html/basefont01.js [deleted file]
LayoutTests/dom/xhtml/level2/html/basefont01.xhtml [deleted file]
LayoutTests/fast/dom/Window/element-constructors-on-window-expected.txt
LayoutTests/fast/dom/Window/element-constructors-on-window.html
LayoutTests/fast/dom/Window/get-set-properties-expected.txt
LayoutTests/fast/dom/Window/get-set-properties.html
LayoutTests/fast/dom/Window/resources/window-properties.js
LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/fast/dom/dom-constructors-expected.txt
LayoutTests/fast/dom/dom-constructors.html
LayoutTests/fast/dom/element-attribute-js-null-expected.txt
LayoutTests/fast/dom/element-attribute-js-null.html
LayoutTests/fast/dom/html-attribute-types-expected.txt
LayoutTests/fast/dom/html-attribute-types.html
LayoutTests/fast/dom/wrapper-classes-expected.txt
LayoutTests/fast/dom/wrapper-classes.html
LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt
LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html
LayoutTests/http/tests/security/cross-frame-access-put-expected.txt
LayoutTests/http/tests/security/cross-frame-access-put.html
LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt
LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt
LayoutTests/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.cpp
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/html/HTMLBaseFontElement.cpp
Source/WebCore/html/HTMLBaseFontElement.h
Source/WebCore/html/HTMLBaseFontElement.idl
Source/WebCore/html/HTMLTagNames.in

index a1de7b4700d79d3a5044e8448b0b1f1b1836ad36..6c6935a93af297745057206451ab0fd2ded2fb57 100644 (file)
@@ -1,3 +1,63 @@
+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 ()
diff --git a/LayoutTests/dom/html/level2/html/HTMLBaseFontElement01-expected.txt b/LayoutTests/dom/html/level2/html/HTMLBaseFontElement01-expected.txt
deleted file mode 100644 (file)
index feacd76..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test:  http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement01
-Status:        Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLBaseFontElement01.html b/LayoutTests/dom/html/level2/html/HTMLBaseFontElement01.html
deleted file mode 100644 (file)
index ce048b3..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<!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>
diff --git a/LayoutTests/dom/html/level2/html/HTMLBaseFontElement01.js b/LayoutTests/dom/html/level2/html/HTMLBaseFontElement01.js
deleted file mode 100644 (file)
index 186e110..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-
-/*
-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();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLBaseFontElement02-expected.txt b/LayoutTests/dom/html/level2/html/HTMLBaseFontElement02-expected.txt
deleted file mode 100644 (file)
index dc6b8d9..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test:  http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement02
-Status:        Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLBaseFontElement02.html b/LayoutTests/dom/html/level2/html/HTMLBaseFontElement02.html
deleted file mode 100644 (file)
index 7da84c3..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<!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>
diff --git a/LayoutTests/dom/html/level2/html/HTMLBaseFontElement02.js b/LayoutTests/dom/html/level2/html/HTMLBaseFontElement02.js
deleted file mode 100644 (file)
index a8aa314..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-
-/*
-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();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLBaseFontElement03-expected.txt b/LayoutTests/dom/html/level2/html/HTMLBaseFontElement03-expected.txt
deleted file mode 100644 (file)
index 737a57f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test:  http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement03
-Status:        Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLBaseFontElement03.html b/LayoutTests/dom/html/level2/html/HTMLBaseFontElement03.html
deleted file mode 100644 (file)
index aa5d867..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<!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>
diff --git a/LayoutTests/dom/html/level2/html/HTMLBaseFontElement03.js b/LayoutTests/dom/html/level2/html/HTMLBaseFontElement03.js
deleted file mode 100644 (file)
index b07e040..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-
-/*
-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();
-}
diff --git a/LayoutTests/dom/html/level2/html/basefont01-expected.txt b/LayoutTests/dom/html/level2/html/basefont01-expected.txt
deleted file mode 100644 (file)
index a524b14..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test:  http://www.w3.org/2001/DOM-Test-Suite/level2/html/basefont01
-Status:        Success
diff --git a/LayoutTests/dom/html/level2/html/basefont01.html b/LayoutTests/dom/html/level2/html/basefont01.html
deleted file mode 100644 (file)
index 5ecf781..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<!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>
diff --git a/LayoutTests/dom/html/level2/html/basefont01.js b/LayoutTests/dom/html/level2/html/basefont01.js
deleted file mode 100644 (file)
index 5510753..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-
-/*
-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();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement01-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement01-expected.txt
deleted file mode 100644 (file)
index 7891485..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement01
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement01.js b/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement01.js
deleted file mode 100644 (file)
index 186e110..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-
-/*
-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();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement01.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement01.xhtml
deleted file mode 100644 (file)
index fd0d4ce..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?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>
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement02-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement02-expected.txt
deleted file mode 100644 (file)
index 1f7136f..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement02
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement02.js b/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement02.js
deleted file mode 100644 (file)
index a8aa314..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-
-/*
-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();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement02.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement02.xhtml
deleted file mode 100644 (file)
index d2360c7..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?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>
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement03-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement03-expected.txt
deleted file mode 100644 (file)
index ba65cba..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBaseFontElement03
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement03.js b/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement03.js
deleted file mode 100644 (file)
index b07e040..0000000
+++ /dev/null
@@ -1,113 +0,0 @@
-
-/*
-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();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement03.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLBaseFontElement03.xhtml
deleted file mode 100644 (file)
index e1ef0bf..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?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>
diff --git a/LayoutTests/dom/xhtml/level2/html/basefont01-expected.txt b/LayoutTests/dom/xhtml/level2/html/basefont01-expected.txt
deleted file mode 100644 (file)
index 0f7c71e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Test   http://www.w3.org/2001/DOM-Test-Suite/level2/html/basefont01
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/basefont01.js b/LayoutTests/dom/xhtml/level2/html/basefont01.js
deleted file mode 100644 (file)
index 5510753..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-
-/*
-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();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/basefont01.xhtml b/LayoutTests/dom/xhtml/level2/html/basefont01.xhtml
deleted file mode 100644 (file)
index 6789ab7..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?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>
index ee3b1c16e5a4c1a87b4be4f39cddc1e5f0e43503..2177dea6be16eaf5054420b784db789ab0a36789 100644 (file)
@@ -10,8 +10,6 @@ HTMLAreaElement: [object HTMLAreaElementConstructor]
 
 HTMLBaseElement: [object HTMLBaseElementConstructor]
 
-HTMLBaseFontElement: [object HTMLBaseFontElementConstructor]
-
 HTMLBodyElement: [object HTMLBodyElementConstructor]
 
 HTMLBRElement: [object HTMLBRElementConstructor]
index dc8dc1dcd5d211f3f3f038bd992c493603f10363..14c66832f8bacf4ba0325ff3c884ea3246e16588 100644 (file)
@@ -16,7 +16,6 @@ test("HTMLAnchorElement");
 test("HTMLAppletElement");
 test("HTMLAreaElement");
 test("HTMLBaseElement");
-test("HTMLBaseFontElement");
 test("HTMLBodyElement");
 test("HTMLBRElement");
 test("HTMLButtonElement");
index 747cd7e6259cddca0be25cee4b5cc2a01f70cf23..b9cae499625e4978f2f9770b857e18f797519851 100644 (file)
@@ -47,8 +47,6 @@ PASS: canGet('HTMLBRElement') should be 'true' and is.
 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.
index 44316ac78f138780490e4e5612ab2ad8fb7e09eb..d6134d58ac8e909a8fd591d8c83fefa4fb0a32a3 100644 (file)
@@ -91,7 +91,6 @@ var windowReadWriteProperties = [
     "HTMLAreaElement", 
     "HTMLBRElement", 
     "HTMLBaseElement", 
-    "HTMLBaseFontElement", 
     "HTMLBodyElement", 
     "HTMLButtonElement", 
     "HTMLCanvasElement", 
index 85656f0f0dbeaea8e757d2d7fdf44ae6f91c0947..aa8b35c9a6f79e9354f789e46e2168a1c26ab99c 100644 (file)
@@ -62,7 +62,6 @@ var propertyInfo = [
     ["HTMLAreaElement", "object"],
     ["HTMLBRElement", "object"],
     ["HTMLBaseElement", "object"],
-    ["HTMLBaseFontElement", "object"],
     ["HTMLBodyElement", "object"],
     ["HTMLButtonElement", "object"],
     ["HTMLCanvasElement", "object"],
index 9bb2f55ff0a314bd81355c78c57d3edcf0f574b7..dfa4f33de23c7f017d68056399e442682df55d00 100644 (file)
@@ -126,8 +126,6 @@ PASS win['HTMLBRElement'] == '[object HTMLBRElementConstructor]' is true
 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
index 37c3541938f1107d66cc93150c1b14365f5ea90a..f2b19dd8e951b07f08c61e3811e27f37203bfbdb 100644 (file)
@@ -17,7 +17,6 @@ PASS TryAllocate('HTMLAnchorElement') is 'exception'
 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'
index 7953b61a25d210737bbcf6a40816e1afc50cdbe0..06eaf818bac78742001c16e102924040ef313757 100644 (file)
@@ -27,7 +27,6 @@ var objects_exception = [
     'HTMLAppletElement',
     'HTMLAreaElement',
     'HTMLBaseElement',
-    'HTMLBaseFontElement',
     'HTMLBodyElement',
     'HTMLBRElement',
     'HTMLButtonElement',
index 4f9e6ef9177c56572275624ec120e09c0fa32f03..c43f70abf01589f5721dfbeb8b931948bc71264a 100644 (file)
@@ -46,9 +46,6 @@ TEST SUCCEEDED: The value was the empty string. [tested HTMLAreaElement.target]
 
 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]
index e2a7e907a4bbf50249f59eed501aed06b4bb2ace..8029811f16ee5af93ae4a4a5e57ca5314dc2eeac 100644 (file)
                         {name: 'target', expectedNull: ''}
                     ]
                 },
-                {
-                    type: 'HTMLBaseFontElement',
-                    elementToUse: document.createElement('basefont'),
-                    attributes: [
-                        {name: 'color', expectedNull: ''},
-                        {name: 'face', expectedNull: ''}
-                    ]
-                },
                 {
                     type: 'HTMLBlockquoteElement',
                     elementToUse: document.createElement('blockquote'),
index f90da474909e0f5ecb3fbe64aec53b8f8b7f1829..4bf892eb82e430cdf1e4c0c4b11e053184ecdc39 100644 (file)
@@ -1,5 +1,4 @@
 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'
 
index d039d56fd07857e6787f572f7a09f8aabbbc198e..0aca64c986042e92219e5d771b22cf8ac7176315 100644 (file)
@@ -14,9 +14,6 @@ function test() {
 
     pre = document.createElement('pre');
     shouldBe("typeof pre.width", "'number'");
-    
-    basefont = document.createElement('basefont');
-    shouldBe("typeof basefont.size", "'number'")
 }
 </script>
 </head>
index 1f5e52e88d7b639495c6d3a4092ff97b91520dfe..f6b59bd98a9cb600adcd6e114864c8eada238742 100644 (file)
@@ -173,9 +173,6 @@ PASS tagJSWrapperConstructorClass('b') is 'HTMLElementConstructor'
 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'
index 46f2063713c1e1ecd7844f39463bf09633c0a05d..14bab595b1ac349944698c5f60a57b12a35eac98 100644 (file)
@@ -156,7 +156,6 @@ function runTest()
     testTag("aside", "HTMLElement");
     testTag("b", "HTMLElement");
     testTag("base", "HTMLBaseElement");
-    testTag("basefont", "HTMLBaseFontElement");
     testTag("bdo", "HTMLElement");
     testTag("big", "HTMLElement");
     testTag("blockquote", "HTMLQuoteElement");
index 1ea5bdc6d949746e1e9c253566465c40b39b85c9..ee111b2e9206a1babc548c7e0dc4ccb21e22d539 100644 (file)
@@ -86,7 +86,6 @@ PASS: canGetDescriptor(targetWindow, 'HTMLAppletElement') should be 'false' and
 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.
index 3066b3a2afcb5d5d2391fcf499d1e34946515413..04939f5cd771bd9160b32bd7965640d495b56ad1 100644 (file)
@@ -27,7 +27,6 @@
             "HTMLAreaElement", 
             "HTMLBRElement", 
             "HTMLBaseElement", 
-            "HTMLBaseFontElement", 
             "HTMLBodyElement", 
             "HTMLButtonElement", 
             "HTMLCanvasElement", 
index 85b0aba1b15b46eaeba060fbd55e2929f41252d6..2799946c6a3a7dff19573b8abf6812b84595db6c 100644 (file)
@@ -1,4 +1,4 @@
-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.
@@ -20,7 +20,6 @@ ALERT: PASS: window.HTMLAnchorElement should be '[object HTMLAnchorElementConstr
 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.
@@ -271,15 +270,15 @@ CONSOLE MESSAGE: line 119: Blocked a frame with origin "http://127.0.0.1:8000" f
 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.
@@ -318,7 +317,7 @@ CONSOLE MESSAGE: line 177: Blocked a frame with origin "http://127.0.0.1:8000" f
 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.
@@ -334,7 +333,7 @@ CONSOLE MESSAGE: line 195: Blocked a frame with origin "http://127.0.0.1:8000" f
 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.
@@ -367,7 +366,6 @@ CONSOLE MESSAGE: line 230: Blocked a frame with origin "http://127.0.0.1:8000" f
 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).
 
 
index a2b6b870a18c7392548c1ea9d859227829cb6e03..d1c80b398a4cb5b4489e2f6929271d69fef56978 100644 (file)
@@ -56,7 +56,6 @@ function test() {
     setForbiddenProperty(targetWindow, "HTMLAppletElement");
     setForbiddenProperty(targetWindow, "HTMLAreaElement");
     setForbiddenProperty(targetWindow, "HTMLBaseElement");
-    setForbiddenProperty(targetWindow, "HTMLBaseFontElement");
     setForbiddenProperty(targetWindow, "HTMLBodyElement");
     setForbiddenProperty(targetWindow, "HTMLBRElement");
     setForbiddenProperty(targetWindow, "HTMLButtonElement");
index b67dfc39fb023b0c977eec83c96661b8c198e0d5..b9fa082569a7f45aa263179364bfb5b4c188498f 100644 (file)
@@ -64,7 +64,6 @@
         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");
index 76bb9aaec1858814f1a717afacbf8f5b0665e053..c0195a5ac7b31c720affbe9653c9be569fcb8c75 100644 (file)
@@ -1,3 +1,15 @@
+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
index a6b7bd028a561d5f7778449b67443105cec4ebb8..ec7c78c0e96306c56f069f404ca3c8f68fca4c25 100644 (file)
@@ -144,10 +144,6 @@ CONSOLE MESSAGE: line 794: Deprecated attempt to access property 'nodeType' on a
 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.
@@ -2238,8 +2234,8 @@ FAIL HTMLUnknownElement must be primary interface of document.createElement("rb"
 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") 
index 9a9b6606fc0647faff20e4613abdca6838246f9b..2db728e2161de5c4ab2f41d73e5846b1d25d60b8 100644 (file)
@@ -13,8 +13,8 @@ PASS Interfaces for b
 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 
index d1aa83e42e61f3af54808481c9679ad76fd5bd20..d46a50d1913517d85aa4ae4dfa5765fd24d45407 100644 (file)
@@ -403,11 +403,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('
 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
index 1d2bf5e719c88aefb1b44c8ffbdc500a9dc92787..3c5795c8582501510ed726c78bee1d0e9dd13703 100644 (file)
@@ -408,11 +408,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('
 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
index 585d346fe9732399dbb6c6154613970243e37682..edc3b73ef203c3c44c988962260b894edc8635d6 100644 (file)
@@ -126,8 +126,6 @@ PASS win['HTMLBRElement'] == '[object HTMLBRElementConstructor]' is true
 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
index 15c92bf69df333054a69c90cf9aa8d1218bd5562..0b6c0ce836060ce651e0add97ef9d3f44032350a 100644 (file)
@@ -413,11 +413,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('
 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
index 197e033df227d338909c300f4f7d69d799dd20db..149c1a50623a5b9cb493705217002ae63a730f52 100644 (file)
@@ -408,11 +408,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('
 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
index 567f787724dda75e26008923f83626c2683f8068..2e34b0036298c78c2d34a88586088e9f1581cd52 100644 (file)
@@ -408,11 +408,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('
 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
index 41e459bb0ea65df72b1dc8bb42bf2a95dc1d1b9d..b2b0de32af69517872eee4318d532690ff0e95da 100644 (file)
@@ -126,8 +126,6 @@ PASS win['HTMLBRElement'] == '[object HTMLBRElementConstructor]' is true
 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
index 058b6092e7a10d963c58ba4fd9e248b07860de44..f8299c3ff72f7b4d38b83bcc1bc71676a5c93e67 100644 (file)
@@ -408,11 +408,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('
 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
index 0854ef037b52c00410871af0f9110b2a03d0f568..7e650b6990ce0c9ad80f11317779aca2f125dc92 100644 (file)
@@ -333,11 +333,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'HTMLBaseElement').hasOwnProperty('
 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
index 68fbf89819ffeb17f461b1b614824c3ff7a21208..e000390a5dd83a24a3ae3059535610c8b63797f2 100644 (file)
@@ -1,3 +1,28 @@
+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
index 65a3a7b7dd72f81d0c603e812d7017834f857e40..f47ac91e3ffcace3fc3d39fae576c35eb1be157f 100644 (file)
 #endif
 #include "JSHTMLAudioElement.cpp"
 #include "JSHTMLBaseElement.cpp"
-#include "JSHTMLBaseFontElement.cpp"
 #include "JSHTMLBodyElement.cpp"
 #include "JSHTMLBRElement.cpp"
 #include "JSHTMLButtonElement.cpp"
index 0679aeb7f57a887744df64e469dbe32441ed3f51..6a6985f35137b9203c11a19b754dfef01370b617 100644 (file)
       <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" />
index 49253d410a99ce191ca046b2fdff408318ffa160..f670d6a8e3c3aae10990fc3cc95d132869c8205c 100644 (file)
                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 */,
index 62ce8161bafd65b2f1a05a61b4ab99255b2aae9f..b2c1aff58e9ee391aa7cda6a943a5e187c87c2be 100644 (file)
@@ -29,15 +29,10 @@ namespace WebCore {
 
 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));
-}
-
 }
index 6da448125afbf1c57971310bec3c742b12408549..6806badf6810c9a84dffe58a6f0b12156810d000 100644 (file)
 
 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&);
 };
index 99bb33096d17066b14e46aa1f807ac0a31bf49ae..b51a4d363721ca358321e07c52e6716c6af035f3 100644 (file)
  * 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
@@ -26,3 +30,5 @@ interface HTMLBaseFontElement : HTMLElement {
     [Reflect] attribute long size;
 #endif
 };
+
+#endif
index 2818c3a6865807514b4a00995018ef43313dea5e..f40b3dc637e5e51b46516986d96a91f33881ad86 100644 (file)
@@ -15,7 +15,7 @@ attachment conditional=ATTACHMENT_ELEMENT, settingsConditional=attachmentElement
 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