summaryrefslogtreecommitdiffstats
path: root/webkit/port/html
diff options
context:
space:
mode:
authorfqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 16:42:41 +0000
committerfqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 16:42:41 +0000
commit6501779376fc890a5613519050756a9d6cf48ee8 (patch)
treed14bf31d29d2bfbcd4515feeb9902e65e3e67ff2 /webkit/port/html
parentfca43faacfed770dd87246fdd2367df955b3df86 (diff)
downloadchromium_src-6501779376fc890a5613519050756a9d6cf48ee8.zip
chromium_src-6501779376fc890a5613519050756a9d6cf48ee8.tar.gz
chromium_src-6501779376fc890a5613519050756a9d6cf48ee8.tar.bz2
BUG = 1357667
Redo the fix of issue 1357667. Previous fix does not address all cases (HTMLLinkElement.sheet). It works by create a hidden reference from JS wrapper of StyleSheet object to its owner node. This is down when creating the JS wrapper object. Add a test for HTMLLinkElement that crashes both Chrome and Safari 3.1.2. Review URL: http://codereview.chromium.org/1678 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1990 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/html')
-rw-r--r--webkit/port/html/HTMLStyleElement.idl38
1 files changed, 0 insertions, 38 deletions
diff --git a/webkit/port/html/HTMLStyleElement.idl b/webkit/port/html/HTMLStyleElement.idl
deleted file mode 100644
index e6238b7..0000000
--- a/webkit/port/html/HTMLStyleElement.idl
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed 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. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-module html {
-
- interface [
- GenerateConstructor,
- InterfaceUUID=3aaa334c-9660-48cf-b8e2-6d2b4ac0a1da,
- ImplementationUUID=73024a55-b8a1-461b-ad85-befa4089f80d
- ] HTMLStyleElement : HTMLElement {
- attribute boolean disabled;
- attribute [ConvertNullToNullString] DOMString media;
- attribute [ConvertNullToNullString] DOMString type;
-
-#if !defined(LANGUAGE_COM)
- // DOM Level 2 Style
- readonly attribute StyleSheet sheet;
-#endif
- };
-
-}