privacycg / private-click-measurement

Private Click Measurement
https://privacycg.github.io/private-click-measurement/
199 stars 8 forks source link

Should PCM attributes be added to just HTMLAnchorElement, or also to HTMLAreaElement? #1

Open othermaciej opened 5 years ago

othermaciej commented 5 years ago

The spec says:

ISSUE-1 These attributes should be on HTMLHyperlinkElementUtils instead.

But HTMLHyperlinkElementUtils is only used for sharing URL-related attributes between <a> and <area>, in support of the href attribute. Other methods and attributes have either been added separately to HTMLAnchorElement and HTMLAreaElement, or added to only one.

hober commented 4 years ago

Is there any particular reason to not add them to <area>?

hober commented 4 years ago

Chatted with @johnwilander about this today; we're going to add these attributes to area as well as a.