Bug 147736

Summary: Web Inspector: Regression: Setting text content of an element with no children doesn't work
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Critical CC: bburg, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Nikita Vasilyev
Reported 2015-08-06 11:21:09 PDT
<div>blah</div> Steps: 1. Inspect <div> 2. Double click on "blah" in the DOM outline 3. Delete the text, press Command Enter 4. Right click on <div> and select "Edit as HTML" 5. Type "foo" between <div> and </div>, press Command Enter Expected: The web page shows <div>blah</div> Actual: The web page shows an empty div, the DOM outline shows <div>blah</div>
Attachments
Joseph Pecoraro
Comment 1 2015-08-20 20:11:56 PDT
Yep, a duplicate. Lets forward dup to the bug with a fix. *** This bug has been marked as a duplicate of bug 148268 ***
Radar WebKit Bug Importer
Comment 2 2015-08-20 20:12:24 PDT
Note You need to log in before you can comment on or make changes to this bug.