aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas_traits/lib.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-07-06 23:17:05 -0600
committerbors-servo <metajack+bors@gmail.com>2015-07-06 23:17:05 -0600
commit1618a9e73d662159ed36f35bca6ea36fa0e58d90 (patch)
tree2d9619f8df9429bcea7a5d10b84501b5a0dc6253 /components/canvas_traits/lib.rs
parenta0db2cf1bb720130aabd0d755e9432bd17063740 (diff)
parent52e336e5a8c9574dcb91aed8e8c2696300520d04 (diff)
downloadservo-1618a9e73d662159ed36f35bca6ea36fa0e58d90.tar.gz
servo-1618a9e73d662159ed36f35bca6ea36fa0e58d90.zip
Auto merge of #6543 - Ms2ger:a-href-activate, r=jdm
Only make a elements activatable when they have an href attribute. I've tested this manually, by clicking on the "baz" in code like ```js var a = document.body.appendChild(document.createElement("a")); a.textContent = "bar "; a.setAttribute("href", "http://www.yahoo.com"); var b = a.appendChild(document.createElement("a")); b.textContent = "baz"; ``` but I've not found a way to write an automated test. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6543) <!-- Reviewable:end -->
Diffstat (limited to 'components/canvas_traits/lib.rs')
0 files changed, 0 insertions, 0 deletions