Index: LayoutTests/inspector/elements/node-xpath-expected.txt |
diff --git a/LayoutTests/inspector/elements/node-xpath-expected.txt b/LayoutTests/inspector/elements/node-xpath-expected.txt |
index 0dffc433342c604784da5b23a00069bcbbb0305f..b73ebb3d5831ffe32fae9055a3a2ed947a116f23 100644 |
--- a/LayoutTests/inspector/elements/node-xpath-expected.txt |
+++ b/LayoutTests/inspector/elements/node-xpath-expected.txt |
@@ -1,6 +1,6 @@ |
Tests node xPath construction |
-3 Prefix Suffix |
+3 Prefix <greeting>Hello, world!</greeting> Suffix |
4 |
5 |
6 |
@@ -11,8 +11,7 @@ Tests node xPath construction |
'script':'' - '//*[@id="script-id"]' |
'script':'' - '/html/head/script[2]' |
'script':'' - '/html/head/script[4]' |
- '#text':'\n// Comment\n//' - '/html/head/script[4]/text()[1]' |
- '#cdata-section':'\nfunction f()\n{\n document.write("<");\n}\n//' - '/html/head/script[4]/text()[2]' |
+ '#text':'\n// Comment\n//\nfunction f()\n{\n document.write("<");\n}\n//\n' - '/html/head/script[4]/text()' |
'body':'' - '/html/body' |
'p':'' - '/html/body/p' |
'#text':'Tests node xPath construction' - '/html/body/p/text()' |
@@ -20,9 +19,7 @@ Tests node xPath construction |
'div':'' - '//*[@id="id2"]' |
'div':'' - '//*[@id="container"]' |
'div':'' - '//*[@id="id3"]' |
- '#text':'3 Prefix ' - '//*[@id="id3"]/text()[1]' |
- '#cdata-section':'<greeting>Hello, world!</greeting>' - '//*[@id="id3"]/text()[2]' |
- '#text':' Suffix' - '//*[@id="id3"]/text()[3]' |
+ '#text':'3 Prefix <greeting>Hello, world!</greeting> Suffix' - '//*[@id="id3"]/text()' |
'div':'' - '//*[@id="id4"]' |
'#text':'4' - '//*[@id="id4"]/text()' |
'div':'' - '//*[@id="id5"]' |