Commit c95edc26 authored by apavlov@chromium.org's avatar apavlov@chromium.org

Web Inspector: More directional control characters for debugging in inspector

https://bugs.webkit.org/show_bug.cgi?id=95696

Reviewed by Vsevolod Vlasov.

Source/WebCore:

Entities for text directionality-related characters added (LRE, RLE, LRO, RLO, PDF).

* inspector/front-end/ElementsTreeOutline.js:

LayoutTests:

* inspector/elements/elements-panel-structure-expected.txt:
* inspector/elements/elements-panel-structure.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 373635bb
2012-09-04 Alexander Pavlov <apavlov@chromium.org>
Web Inspector: More directional control characters for debugging in inspector
https://bugs.webkit.org/show_bug.cgi?id=95696
Reviewed by Vsevolod Vlasov.
* inspector/elements/elements-panel-structure-expected.txt:
* inspector/elements/elements-panel-structure.html:
2012-09-04 Dominik Röttsches <dominik.rottsches@intel.com>
[EFL] Unreviewed gardening.
Tests that elements panel shows DOM tree structure.
"Quoted Text". Special characters: ><"'    ​‌‍‎‏
"Quoted Text". Special characters: ><"'    ​‌‍‎‏ ‪‫‬‭‮
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
......@@ -14,7 +14,7 @@ Tests that elements panel shows DOM tree structure.
<p>Tests that elements panel shows DOM tree structure.</p>
- <div id="level1">
- <div id="level2">
""Quoted Text". Special&nbsp;characters: ><"'&nbsp;&ensp;&emsp;&thinsp;&#8203;&zwnj;&zwj;&lrm;&rlm;"
""Quoted Text". Special&nbsp;characters: ><"'&nbsp;&ensp;&emsp;&thinsp;&#8203;&zwnj;&zwj;&lrm;&rlm; &#8234;&#8235;&#8236;&#8237;&#8238;"
<div id="level3"></div>
</div>
</div>
......
......@@ -25,7 +25,7 @@ Tests that elements panel shows DOM tree structure.
</p>
<div id="level1">
<div id="level2">"Quoted Text". Special&nbsp;characters: &gt;&lt;&quot;&apos;&nbsp;&ensp;&emsp;&thinsp;&#8203;&zwnj;&zwj;&lrm;&rlm;<div id="level3"></div>
<div id="level2">"Quoted Text". Special&nbsp;characters: &gt;&lt;&quot;&apos;&nbsp;&ensp;&emsp;&thinsp;&#8203;&zwnj;&zwj;&lrm;&rlm; &#8234;&#8235;&#8236;&#8237;&#8238;<div id="level3"></div>
</div>
</div>
......
2012-09-04 Alexander Pavlov <apavlov@chromium.org>
Web Inspector: More directional control characters for debugging in inspector
https://bugs.webkit.org/show_bug.cgi?id=95696
Reviewed by Vsevolod Vlasov.
Entities for text directionality-related characters added (LRE, RLE, LRO, RLO, PDF).
* inspector/front-end/ElementsTreeOutline.js:
2012-09-04 Yury Semikhatsky <yurys@chromium.org>
Web Inspector: new CPU Profiles are not shown after reattach
......@@ -76,11 +76,16 @@ WebInspector.ElementsTreeOutline.MappedCharToEntity = {
"\u2002": "ensp",
"\u2003": "emsp",
"\u2009": "thinsp",
"\u200b": "#8203",
"\u200b": "#8203", // ZWSP
"\u200c": "zwnj",
"\u200d": "zwj",
"\u200e": "lrm",
"\u200f": "rlm"
"\u200f": "rlm",
"\u202a": "#8234", // LRE
"\u202b": "#8235", // RLE
"\u202c": "#8236", // PDF
"\u202d": "#8237", // LRO
"\u202e": "#8238" // RLO
}
WebInspector.ElementsTreeOutline.prototype = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment