[Webkit-unassigned] [Bug 180890] New: Web Inspector: Can't add a new class by editing class attribute in DOM outline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 15 16:05:04 PST 2017


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

            Bug ID: 180890
           Summary: Web Inspector: Can't add a new class by editing class
                    attribute in DOM outline
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nvasilyev at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

Web Inspector automatically adds a non-breaking space when adding a CSS class (via double-click or enter).
Because this chains the class name, it removes any styles. Also, the ` ` isn't visible unless you're editing via "Edit as HTML."

Steps to Reproduce:
1. Open Web Inspector
2. Find an HTML element that has a value in the class attribute
3. Double-click the class attribute (or press Enter)
4. Add "hello" to the beginning of the attribute value
5. Right click and select "Edit as HTML"
6. Notice the ` `

Expected Results:
I could double-click / enter to quickly add a class and it wouldn't automatically add a non-breaking space.

Observed Results:
It adds a non-breaking space, making the quick edit functionality useless.

<rdar://problem/34144628>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171216/ee439a30/attachment.html>


More information about the webkit-unassigned mailing list