I have a html document that has
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<meta content="IE=EmulateIE8" http-equiv="X-UA-Compatible">
<title>
   xxxxxxxx  - Default Folder
</title>
<link href="./favicon.ico" rel="shortcut icon">
<link href="./favicon.ico" rel="icon">
<link type="text/css" href="dojo/oneui/themes/oneui/oneui.css" 
rel="Stylesheet">
<link type="text/css" href="dojo/dijit/themes/claro/claro.css" 
rel="Stylesheet">
<link type="text/css" href="dojo/ibm/security/appscan/themes/common.css" 
rel="Stylesheet">
<link rel="stylesheet" type="text/css" 
href="App_Themes/Default/aurora_styles.css">

<style type="text/css">
    .ctl00_ctl00_ctl00_MCH_LCH_FolderTree__folderTree_0 { 
text-decoration:none; }
    .ctl00_ctl00_ctl00_MCH_LCH_FolderTree__folderTree_1 { padding:0px 5px 
0px 5px; }
    .ctl00_ctl00_ctl00_MCH_LCH_FolderTree__folderTree_2 { font-weight:bold; 
}
    .ctl00_ctl00_ctl00_MCH_LCH_FolderTree__folderTree_3 { 
background-color:#DEDEE5; }

</style>
</head>

Notice there is only 1 style element in the head section.

On the html subpanel of the firebug, I select the style element and right 
click for Copy XPath, I see different values between the 2 versions.
On firebug 1.12.8, the copied XPath for the style element above is 
/html/head/style
On firebug 2.0.8, the copied XPath for the style element above is 
/html/head/style[1].

Since there is no other sibling of the same node type, I would expected 
/html/head/style according to XPath 2.0 specification.

Did I miss anything here? 

Thanks.

Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/2ce63b93-69ad-4367-ad17-767c8f4df240%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to