DescriptionRename ElementData's attribute related methods for clarity
Rename ElementData's attribute related methods for clarity:
* length() -> attributeCount()
* isEmpty() -> hasAttributes()
* getAttributeItem(name) -> findAttributeByName(name)
* attributeItem(index) -> attributeAt(index)
* getAttributeItemIndex(name) -> findAttributeIndexByName(name)
* addAttribute(name, value) -> appendAttribute(name, value)
* removeAttribute(index) -> removeAttributeAt(index)
This is inpired by the following WebKit revision by benjamin@webkit.org:
http://trac.webkit.org/changeset/162394
R=esprehn@chromium.org, adamk@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175611
Patch Set 1 #
Messages
Total messages: 15 (0 generated)
|