[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [atlas/master] Remove disallowed element attributes
commit dcc790ded38aacada05217ea7b2f9efca4ef92c1
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date: Fri Feb 10 09:25:15 2017 +0000
Remove disallowed element attributes
Removing these attributes shows no rendering differences.
Found using the W3C markup validator service bookmarklet.
Closes #21352.
---
js/views/details/main.js | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/js/views/details/main.js b/js/views/details/main.js
index 9006c94..f95e015 100644
--- a/js/views/details/main.js
+++ b/js/views/details/main.js
@@ -138,9 +138,7 @@ define([
/* Add a legend. */
var legend = svg.append("g")
- .attr("class", "legend")
- .attr("x", width - 65)
- .attr("y", 25);
+ .attr("class", "legend");
legend.selectAll("g").data(data)
.enter().append("g")
.each(function(d, i) {
@@ -155,8 +153,6 @@ define([
g.append("svg:text")
.attr("x", legendPos[i][0] - margin.left + 15)
.attr("y", legendPos[i][1] - margin.top + 14)
- .attr("height", 30)
- .attr("width", 100)
.style("fill", colors[i])
.style("font-family", "Helvetica")
.style("font-size", "12px")
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits