Bug 147736 - Web Inspector: Regression: Setting text content of an element with no children doesn't work
Summary: Web Inspector: Regression: Setting text content of an element with no childre...
Status: RESOLVED DUPLICATE of bug 148268
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-06 11:21 PDT by Nikita Vasilyev
Modified: 2015-08-20 20:12 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 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>
Comment 1 Joseph Pecoraro 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 ***
Comment 2 Radar WebKit Bug Importer 2015-08-20 20:12:24 PDT
<rdar://problem/22374261>