Changeset 248889 in webkit
- Timestamp:
- Aug 19, 2019 9:10:39 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r248873 r248889 1 2019-08-19 Nikita Vasilyev <nvasilyev@apple.com> 2 3 Web Inspector: RTL: Network headers values should be preserved 4 https://bugs.webkit.org/show_bug.cgi?id=200873 5 6 Reviewed by Joseph Pecoraro. 7 8 Replace spans with bdi elements, which have `unicode-bidi: isolate` User Agent style. 9 This works well with both LTR and RTL values. 10 11 * UserInterface/Views/ResourceDetailsSection.js: 12 (WI.ResourceDetailsSection.prototype.appendKeyValuePair): 13 Drive-by: remove unnecessary if/else statement and use `append` instead. 14 1 15 2019-08-19 Devin Rousso <drousso@apple.com> 2 16 -
trunk/Source/WebInspectorUI/UserInterface/Views/ResourceDetailsSection.js
r238122 r248889 95 95 keyElement.textContent = key + (value ? ": " : ""); 96 96 97 let valueElement = p.appendChild(document.createElement(" span"));97 let valueElement = p.appendChild(document.createElement("bdi")); 98 98 valueElement.className = "value"; 99 if (value instanceof Node) 100 valueElement.appendChild(value); 101 else 102 valueElement.textContent = value; 99 valueElement.append(value || ""); 103 100 } 104 101
Note: See TracChangeset
for help on using the changeset viewer.