[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

ap at apple.com ap at apple.com
Wed Dec 22 15:52:50 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 8634fd873c070e49b8fd4fd050d4801cacd2c8e7
Author: ap at apple.com <ap at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Nov 16 01:03:10 2010 +0000

            Reviewed by Darin Adler.
    
            https://bugs.webkit.org/show_bug.cgi?id=49565
            Remove Attr.style accessor
    
            * dom/Attr.idl: Only keep the accessor for Objective C API. Inspector doesn't seem to need
            it any more.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72046 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 3615a42..b6d2683 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2010-11-15  Alexey Proskuryakov  <ap at apple.com>
+
+        Reviewed by Darin Adler.
+
+        https://bugs.webkit.org/show_bug.cgi?id=49565
+        Remove Attr.style accessor
+
+        * fast/dom/Attr/access-after-element-destruction-expected.txt:
+        * fast/dom/Attr/script-tests/access-after-element-destruction.js:
+        Removed tests for style.
+
 2010-11-15  Kent Tamura  <tkent at chromium.org>
 
         Unreviewed, test expectation update.
diff --git a/LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt b/LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt
index 8c09132..dfbf96e 100644
--- a/LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt
+++ b/LayoutTests/fast/dom/Attr/access-after-element-destruction-expected.txt
@@ -10,14 +10,12 @@ PASS attributes.item(0).name is 'a'
 PASS attributes.item(0).specified is true
 PASS attributes.item(0).value is 'b'
 PASS attributes.item(0).ownerElement.tagName is 'P'
-PASS attributes.item(0).style is null
 PASS attributes.item(0).value is 'c'
 PASS attributes.length is 0
 PASS attr.name is 'a'
 PASS attr.specified is true
 PASS attr.value is 'b'
 PASS attr.ownerElement.tagName is 'P'
-PASS attr.style is null
 PASS attr.value is 'c'
 PASS successfullyParsed is true
 
diff --git a/LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js b/LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js
index 91588a3..b9f4e16 100644
--- a/LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js
+++ b/LayoutTests/fast/dom/Attr/script-tests/access-after-element-destruction.js
@@ -25,7 +25,6 @@ shouldBe("attributes.item(0).name", "'a'");
 shouldBe("attributes.item(0).specified", "true");
 shouldBe("attributes.item(0).value", "'b'");
 shouldBe("attributes.item(0).ownerElement.tagName", "'P'");
-shouldBe("attributes.item(0).style", "null");
 
 attributes.item(0).value = 'c';
 
@@ -46,7 +45,6 @@ shouldBe("attr.name", "'a'");
 shouldBe("attr.specified", "true");
 shouldBe("attr.value", "'b'");
 shouldBe("attr.ownerElement.tagName", "'P'");
-shouldBe("attr.style", "null");
 
 attr.value = 'c';
 
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 09e66bc..7035b27 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-11-15  Alexey Proskuryakov  <ap at apple.com>
+
+        Reviewed by Darin Adler.
+
+        https://bugs.webkit.org/show_bug.cgi?id=49565
+        Remove Attr.style accessor
+
+        * dom/Attr.idl: Only keep the accessor for Objective C API. Inspector doesn't seem to need
+        it any more.
+
 2010-11-15  Beth Dakin  <bdakin at apple.com>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/dom/Attr.idl b/WebCore/dom/Attr.idl
index d959cd1..bff9c7b 100644
--- a/WebCore/dom/Attr.idl
+++ b/WebCore/dom/Attr.idl
@@ -42,8 +42,10 @@ module core {
 
         readonly attribute boolean isId;
 
-        // extensions
+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
+        // This extension is no longer needed, but it has to remain available in Objective C, as it's public API.
         readonly attribute CSSStyleDeclaration style;
+#endif
     };
 
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list