[Webkit-unassigned] [Bug 61050] New: HTML editing: Font size not written to HTML when identical to default font size
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 18 06:59:53 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=61050
Summary: HTML editing: Font size not written to HTML when
identical to default font size
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dev-bugzilla at equinux.de
Summary:
When the user sets the font size in an editable text element to the WebView's default font size, that font size does not appear in the resulting HTML.
Steps to Reproduce:
1. Load the attached HTML file into a WebView which allows editing.
2. Select all text in the editable text element.
3. Open the Font panel and set the font size to the WebView's default font size (as specified by -[WebPreferences defaultFontSize]; usually 16 pt).
4. Dump the resulting HTML (e.g. via [[[[webView mainFrame] DOMDocument] documentElement] outerHTML]).
Expected Results:
The text should be wrapped inside a SPAN element specifying the font size (e.g.: <span class="Apple-style-span" style="font-size: 16px;">), as it is for other font sizes, so the document will appear identical when loaded into a different WebView (which may have a different default font size).
Actual Results:
The font size does not appear in the HTML.
--
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