Bug 201979 - Set link toolbar to respond to rel='start'. r=Neil
authorEdmund Wong <ewong@pw-wspx.org>
Mon, 27 Feb 2012 12:30:16 +0800
changeset 10947 3dd223a8308bc0feb5235cc311d53e1370302486
parent 10946 5505c49e115dde46491754bac21a16ec411b81a7
child 10948 96a18db9f16080450cdcbe88b774ba0ba166a5c7
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil
bugs201979
Bug 201979 - Set link toolbar to respond to rel='start'. r=Neil
suite/browser/linkToolbarHandler.js
--- a/suite/browser/linkToolbarHandler.js
+++ b/suite/browser/linkToolbarHandler.js
@@ -75,25 +75,25 @@ function(element)
   }
 }
 
 LinkToolbarHandler.getLinkType =
 function(relAttribute, element)
 {
   var isFeed = false;
   switch (relAttribute.toLowerCase()) {
-    case "start":
     case "top":
     case "origin":
       return "top";
 
     case "up":
     case "parent":
       return "up";
 
+    case "start":
     case "begin":
     case "first":
       return "first";
 
     case "next":
     case "child":
       return "next";