[Webkit-unassigned] [Bug 93584] New: InsertHTML strips out div tags almost universally
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 8 23:41:39 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93584
Summary: InsertHTML strips out div tags almost universally
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.8
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dgatwood at mac.com
Created an attachment (id=157400)
--> (https://bugs.webkit.org/attachment.cgi?id=157400&action=review)
Demonstrates insertHTML stripping out div tags in five different contexts
WebKit's execCommand's insertHTML seems to be unwilling to insert a div tag pretty much anywhere that contains any sort of text (even temporarily). Unfortunately, I cannot easily avoid this temporary insertion or use anything other than div tags because that is the only element that Safari seems willing to paste arbitrary blobs of HTML inside without silently changing all the pasted tags to spans....
I've attached a sample HTML file that demonstrates five different test cases in which WebKit strips out div tags instead of inserting them. Firefox passes all five tests.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list