Bug 110657

Summary: WebKit can erroneously strip font-size CSS property from font element with size attribute
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: adele, darin, enrica, eric, leviw, mifenton, ojan, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug
justin.garcia: review+
demo none

Ryosuke Niwa
Reported 2013-02-22 16:13:38 PST
When pasting a following content: <font size="7" style="font-size:12px">hello world</span> into a div: <div style="font-size:12px" contenteditable></div> WebKit erroneously strips font-size property from the font element without stripping size attribute from font element, erroneously making "hello world" large.
Attachments
Fixes the bug (18.41 KB, patch)
2013-02-22 16:53 PST, Ryosuke Niwa
justin.garcia: review+
demo (337 bytes, text/html)
2013-02-22 17:19 PST, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2013-02-22 16:14:01 PST
Ryosuke Niwa
Comment 2 2013-02-22 16:53:49 PST
Created attachment 189865 [details] Fixes the bug
Ryosuke Niwa
Comment 3 2013-02-22 17:19:18 PST
Ryosuke Niwa
Comment 4 2013-02-22 17:56:07 PST
Lucas Forschler
Comment 5 2019-02-06 09:18:27 PST
Mass move bugs into the DOM component.
Note You need to log in before you can comment on or make changes to this bug.