[Webkit-unassigned] [Bug 161454] New: Element.dataset.name incorrectly returns undefined
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 31 13:36:17 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=161454
Bug ID: 161454
Summary: Element.dataset.name incorrectly returns undefined
Classification: Unclassified
Product: WebKit
Version: Safari 9
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: robertknight at gmail.com
CC: cdumez at apple.com
The example at https://gist.github.com/robertknight/38784b71ddba63b1604b2c6244f216a1 walks the DOM and builds a map of name -> Element where the name is taken from the `data-ref` attribute. On Firefox, Chrome and Edge it successfully reads the `Element.dataset` values and displays `searchBucket, header, content`. On iOS Safari 9.3.5 (tested on an iPhone 5), Safari 9.1.2 (OS X 10.11) it very occasionally displays the correct values but usually reads all the `Element.dataset.ref` values as undefined.
The problem disappears with small modifications to the DOM structure, such as deleting a few of the `div` elements, other than the ones with `data-ref` attributes.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160831/d54d8ccb/attachment.html>
More information about the webkit-unassigned
mailing list