Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make attribute quoting in DOM view more consistent with source view
Two changes which make the DOM view more consistent with source view: 1) We now quote all attribute values, including URLs 2) The quotes around the values are now purple, matching the left and right angle brackets that surround the tag One bug fixed by these changes: 1) The entire URL is selected for editing when you double-click a URL that is an attribute value. Previously, the first and last characters were not included in the selection. Reviewed by Darin. * page/inspector/DocumentPanel.js: (WebInspector.DOMNodeTreeElement._startEditingAttribute): Don't need to account for the quotes around attribute values anymore because the quotes are now outside the webkit-html-attribute-value span. * page/inspector/utilities.js: (nodeTitleInfo): Quote all attribute values, including URLs, and place the quotes outside the webkit-html-attribute-value span. Canonical link: https://commits.webkit.org/24650@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing with 28 additions and 9 deletions.