[Webkit-unassigned] [Bug 34914] copy-pasted text with font-size and full-page-zoom gets too large

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 14 21:09:10 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34914


Tony Chang (Google) <tony at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tony at chromium.org




--- Comment #1 from Tony Chang (Google) <tony at chromium.org>  2010-02-14 21:09:10 PST ---
(In reply to comment #0)
> Created an attachment (id=48683)
 --> (https://bugs.webkit.org/attachment.cgi?id=48683) [details]
> testcase
> 
> See the test case. Also, chromium bug with repro inside of gmail:
> http://code.google.com/p/chromium/issues/detail?id=22804

There are some differences here with Firefox.  Here's an example using
font-size rather than zoom:
http://www.plexode.com/cgi-bin/eval3.py#ht=%3Cdiv%20contenteditable%3Dtrue%3E%3Cdiv%20style%3D%22font-size%3A%20200%25%22%3Eheading%3C%2Fdiv%3E%3Cdiv%3Eregular%20text%3C%2Fdiv%3E%0A%3Cdiv%3Emore%20text%3C%2Fdiv%3E%0A%3C%2Fdiv%3E&ohh=1&ohj=1&jt=&ojh=1&ojj=1&ms=100&oth=0&otj=0&cex=1

In Firefox, if you copy a few letters from heading and paste it into the lines
below it, it matches the font size of where you're pasting into.  In WebKit, it
matches the font size of the copied text.  WebKit seems to match TextEdit here.

I guess in this case, we want the pasted text to be the exact same size as what
we copied.  This would be consistent with what WebKit does in the case of the
different font-sizes.

-- 
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