Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Side by Side Diff: LayoutTests/inspector/elements/node-xpath-expected.txt

Issue 75253002: DevTools: [Elements] Implement "Copy CSS Path" context menu item for elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tentatively fix xpath test on Windows bot Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/inspector/elements/node-xpath.xhtml ('k') | Source/devtools/front_end/DOMAgent.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests DOMNode.xPath() 1 Tests node xPath construction
2 2
3 3 Prefix Suffix 3 3 Prefix Suffix
4 4 4 4
5 5 5 5
6 6 6 6
7 '#document':'' - '/' 7 '#document':'' - '/'
8 '':' Pre-comment ' - '/comment()[1]' 8 '':' Pre-comment ' - '/comment()[1]'
9 'html':'' - '/html' 9 'html':'' - '/html'
10 'head':'' - '/html/head' 10 'head':'' - '/html/head'
11 'script':'' - '//*[@id="script-id"]' 11 'script':'' - '//*[@id="script-id"]'
12 'script':'' - '/html/head/script[2]' 12 'script':'' - '/html/head/script[2]'
13 'script':'' - '/html/head/script[4]' 13 'script':'' - '/html/head/script[4]'
14 '':'\n// Comment\n//' - '/html/head/script[4]/text()[1]' 14 '':'\n// Comment\n//' - '/html/head/script[4]/text()[1]'
15 '':'\nfunction f()\n{\n document.write("<");\n}\n//' - '/html/head/sc ript[4]/text()[2]' 15 '':'\nfunction f()\n{\n document.write("<");\n}\n//' - '/html/head/sc ript[4]/text()[2]'
16 'body':'' - '/html/body' 16 'body':'' - '/html/body'
17 'p':'' - '/html/body/p' 17 'p':'' - '/html/body/p'
18 '':'Tests DOMNode.xPath()' - '/html/body/p/text()' 18 '':'Tests node xPath construction' - '/html/body/p/text()'
19 'div':'' - '//*[@id="id1"]' 19 'div':'' - '//*[@id="id1"]'
20 'div':'' - '//*[@id="id2"]' 20 'div':'' - '//*[@id="id2"]'
21 'div':'' - '//*[@id="container"]' 21 'div':'' - '//*[@id="container"]'
22 'div':'' - '//*[@id="id3"]' 22 'div':'' - '//*[@id="id3"]'
23 '':'3 Prefix ' - '//*[@id="id3"]/text()[1]' 23 '':'3 Prefix ' - '//*[@id="id3"]/text()[1]'
24 '':'<greeting>Hello, world!</greeting>' - '//*[@id="id3"]/text()[2]' 24 '':'<greeting>Hello, world!</greeting>' - '//*[@id="id3"]/text()[2]'
25 '':' Suffix' - '//*[@id="id3"]/text()[3]' 25 '':' Suffix' - '//*[@id="id3"]/text()[3]'
26 'div':'' - '//*[@id="id4"]' 26 'div':'' - '//*[@id="id4"]'
27 '':'4' - '//*[@id="id4"]/text()' 27 '':'4' - '//*[@id="id4"]/text()'
28 'div':'' - '//*[@id="id5"]' 28 'div':'' - '//*[@id="id5"]'
29 '':'5' - '//*[@id="id5"]/text()' 29 '':'5' - '//*[@id="id5"]/text()'
30 'div':'' - '//*[@id="id6"]' 30 'div':'' - '//*[@id="id6"]'
31 '':'6' - '//*[@id="id6"]/text()' 31 '':'6' - '//*[@id="id6"]/text()'
32 '':' Post-comment ' - '/comment()[2]' 32 '':' Post-comment ' - '/comment()[2]'
33 33
OLDNEW
« no previous file with comments | « LayoutTests/inspector/elements/node-xpath.xhtml ('k') | Source/devtools/front_end/DOMAgent.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698