Bug 33588 - Deleting attribute’s first apostrophe appends additional one at the end
Summary: Deleting attribute’s first apostrophe appends additional one at the end
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 04:32 PST by Piotr Petrus
Modified: 2011-11-03 06:43 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Petrus 2010-01-13 04:32:03 PST
1. Open Web Inspector, Elements pane
2. Double click any attribute. The edit field will appear, and the value of the attribute will be selected.
3. Move cursor to the left and delete first " character (opening apostrophe)
4. Press Return to cofirm the change. The attribute will now have an additional apostrophe at the end.

Example:

1. Go to http://webkit.org/quality/bugwriting.html
2. Edit attribute id="title"
3. After aforementioned change, the attribute will read id="title""

Comments:

This behavior will occur infinite number of times – deleting first apostrophe always appends additional apostrophe at the end.
Comment 1 Alexander Pavlov (apavlov) 2011-11-03 06:43:28 PDT
This is the expected behavior, as the parser attempts to quote unquoted values, so that
width=90%
will be mapped to
width="90%"