[Webkit-unassigned] [Bug 45784] New: Deleting line break before h1 convers h1 to span
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 14 14:45:57 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45784
Summary: Deleting line break before h1 convers h1 to span
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: tony at chromium.org, jparent at google.com,
ojan at chromium.org, enrica at apple.com
Reproduction steps:
1. Place the caret before "world" in "hello<h1>world</h1>"
2. Hit delete (backspace).
Expected result:
hello<h1 style="display:inline">world</h1>
Actual result:
hello<span class="Apple-style-span" style="font-size: 32px; font-weight: bold; ">world</span>
This is bad particularly when the user inserts new paragraph again between hello and world because then we'll have:
hello<div><span class="Apple-style-span" style="font-size: 32px; font-weight: bold; ">world</span></div>
which looks exactly like:
hello<h1>world</h1>
but acts completely differently.
--
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