#12545 closed Bug (wontfix)
Copying font with zoom level above 100% pastes decimal font sizes
Reported by: | Nathan Frost | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.3 |
Keywords: | Cc: |
Description
From Full Featured Demo page:
- Select text and set the size to 12.
- On the browser (Chrome or Safari) set the zoom level to 110%
- Copy Text
- Paste text
- Inspect the text with your browser and the font size will not be 12 but 11.55828912 or something like that.
Discovered in 4.3 and is reproducible in latest version (4.5)
Change History (2)
comment:1 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
The truth is that it is ridiculous behaviour of Blink and Webkit. These engines are generating terrible HTML when copying HTML - it is a real disaster and when we get such HTML there's nothing we can do.
However, the good news is that in CKEditor 4.5 we are going to switch to our implementation of coping, so this issue should be then fixed when copying from editor (but not from outside of it).
I have tried this issue in native contenteditable and got same result. This is browser issue and should be reported to Webkit.
To reproduce just open this code snippet in HTML5 document in Chrome, copy word test and paste it below.
I have also tried checking what browser sees as content being pasted and unfortunately there is something like: "11.54321".