| Summary: | Web Inspector: Empty attribute added to a DOM tree outline element should not add whitespace within the tag | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brian Burg <burg> | ||||||
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | commit-queue, graouts, hi, inspector-bugzilla-changes, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
Brian Burg
2014-12-13 10:39:26 PST
Created attachment 304738 [details]
Patch
Comment on attachment 304738 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=304738&action=review > Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js:984 > + if (!newText.trim().length) if (!newText.trim()) An empty string is already a falsy value. Comment on attachment 304738 [details]
Patch
r=me
Created attachment 304888 [details]
Patch
Comment on attachment 304888 [details] Patch Clearing flags on attachment: 304888 Committed r214141: <http://trac.webkit.org/changeset/214141> All reviewed patches have been landed. Closing bug. |