[Webkit-unassigned] [Bug 21679] ExecCommand fontsize does not change size of background color
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 11 15:56:18 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=21679
--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org> 2010-08-11 15:56:18 PST ---
http://www.w3.org/TR/CSS2/visudet.html#inline-non-replaced and http://meyerweb.com/eric/css/inline-format.html (linked from http://www.w3.org/TR/css3-roadmap/) seem to imply that the line-height of the outer SPAN (inline non-replaced element) is determined by the font size of the outer span. So our rendering is correct (at least does not violate CSS2 spec).
<span class="Apple-style-span" style="background-color: rgb(255, 0, 0);"><span class="Apple-style-span" style="font-size: xx-large;">This is a font-size tag nested in a background-color tag.</span></span>
(In reply to comment #2)
> Honestly, i think the real bug is that webkit is creating unnecessary <span> tags. It should just modify the existing <span> tag.
You're right. We should avoid specifying font-size inside non-replaced inline element.
--
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