Changeset 211395 in webkit
- Timestamp:
- Jan 30, 2017 4:22:27 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 6 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r211393 r211395 1 2017-01-30 Chris Dumez <cdumez@apple.com> 2 3 Drop legacy Attributes.isId attribute 4 https://bugs.webkit.org/show_bug.cgi?id=167603 5 6 Reviewed by Ryosuke Niwa. 7 8 Drop outdated tests. 9 10 * dom/xhtml/level3/core/attrisid04-expected.txt: Removed. 11 * dom/xhtml/level3/core/attrisid04.xhtml: Removed. 12 * dom/xhtml/level3/core/attrisid05-expected.txt: Removed. 13 * dom/xhtml/level3/core/attrisid05.xhtml: Removed. 14 * fast/dom/Attr/change-id-via-attr-node-value-expected.txt: 15 * fast/dom/Attr/change-id-via-attr-node-value.html: 16 * fast/dom/Element/attrisid-extra01-expected.txt: Removed. 17 * fast/dom/Element/attrisid-extra01.html: Removed. 18 1 19 2017-01-30 Chris Dumez <cdumez@apple.com> 2 20 -
trunk/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value-expected.txt
r204236 r211395 8 8 PASS document.getElementById("a") is document.body 9 9 PASS document.body.id is "a" 10 PASS document.body.getAttributeNode("id").isId is true11 10 PASS document.body.getAttributeNode("id").textContent is "a" 12 11 -
trunk/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html
r204236 r211395 12 12 shouldBe('document.getElementById("a")', 'document.body'); 13 13 shouldBe('document.body.id', '"a"'); 14 shouldBe('document.body.getAttributeNode("id").isId', 'true');15 14 shouldBe('document.body.getAttributeNode("id").textContent', '"a"'); 16 15 -
trunk/LayoutTests/imported/w3c/ChangeLog
r211393 r211395 1 2017-01-30 Chris Dumez <cdumez@apple.com> 2 3 Drop legacy Attributes.isId attribute 4 https://bugs.webkit.org/show_bug.cgi?id=167603 5 6 Reviewed by Ryosuke Niwa. 7 8 Rebaseline W3C test now that one more check is passing. 9 10 * web-platform-tests/dom/historical-expected.txt: 11 1 12 2017-01-30 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt
r211393 r211395 38 38 PASS Historical DOM features must be removed: setIdAttributeNode 39 39 PASS Attr member must be nuked: schemaTypeInfo 40 FAIL Attr member must be nuked: isId assert_equals: expected (undefined) undefined but got (boolean) false 40 PASS Attr member must be nuked: isId 41 41 PASS DocumentType member must be nuked: entities 42 42 PASS DocumentType member must be nuked: notations -
trunk/Source/WebCore/ChangeLog
r211394 r211395 1 2017-01-30 Chris Dumez <cdumez@apple.com> 2 3 Drop legacy Attributes.isId attribute 4 https://bugs.webkit.org/show_bug.cgi?id=167603 5 6 Reviewed by Ryosuke Niwa. 7 8 Drop legacy Attributes.isId attribute. 9 10 This attribute is not in the specification: 11 - https://dom.spec.whatwg.org/#interface-attr 12 13 Both Firefox and Chrome currently do not expose this attribute. 14 15 No new tests, rebaselined existing test. 16 17 * dom/Attr.cpp: 18 * dom/Attr.h: 19 * dom/Attr.idl: 20 1 21 2017-01-30 Zalan Bujtas <zalan@apple.com> 2 22 -
trunk/Source/WebCore/dom/Attr.cpp
r208603 r211395 172 172 } 173 173 174 bool Attr::isId() const175 {176 return qualifiedName().matches(HTMLNames::idAttr);177 }178 179 174 CSSStyleDeclaration* Attr::style() 180 175 { -
trunk/Source/WebCore/dom/Attr.h
r208603 r211395 57 57 const QualifiedName& qualifiedName() const { return m_name; } 58 58 59 WEBCORE_EXPORT bool isId() const;60 61 59 WEBCORE_EXPORT CSSStyleDeclaration* style(); 62 60 -
trunk/Source/WebCore/dom/Attr.idl
r207170 r211395 32 32 readonly attribute Element ownerElement; 33 33 34 readonly attribute boolean isId;35 36 34 readonly attribute DOMString? namespaceURI; 37 35 readonly attribute DOMString? prefix; -
trunk/Source/WebKit/mac/ChangeLog
r211362 r211395 1 2017-01-30 Chris Dumez <cdumez@apple.com> 2 3 Drop legacy Attributes.isId attribute 4 https://bugs.webkit.org/show_bug.cgi?id=167603 5 6 Reviewed by Ryosuke Niwa. 7 8 Keep Attr.isId in ObjC bindings. 9 10 * DOM/DOMAttr.mm: 11 (-[DOMAttr isId]): 12 1 13 2017-01-30 Andreas Kling <akling@apple.com> 2 14 -
trunk/Source/WebKit/mac/DOM/DOMAttr.mm
r204717 r211395 77 77 { 78 78 WebCore::JSMainThreadNullState state; 79 return IMPL-> isId();79 return IMPL->qualifiedName().matches(WebCore::HTMLNames::idAttr); 80 80 } 81 81
Note: See TracChangeset
for help on using the changeset viewer.