execCommand(hilitecolor) not updating after changing the font size

UNCONFIRMED
Unassigned

Status

()

Core
Layout
UNCONFIRMED
8 years ago
8 years ago

People

(Reporter: Chwiej Pawel, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4

Seems like it doesn't work with part of the previously selected text but it does with whole previous selection


Reproducible: Always

Steps to Reproduce:
1. Go to docs.google.com and open some existing text document (or use attached TC)
2. Select part of the text and change the highlight color
3. Select part of the previous selection and increase the font size

Actual Results:  
Highlight color doesn't match to the new font size(screenshot). Whats interesing it works if you change the font size for whole previously selected text.


Expected Results:  
Highlight should match the new font size.
(Reporter)

Comment 1

8 years ago
Created attachment 453686 [details]
TC
(Reporter)

Comment 2

8 years ago
Created attachment 453687 [details]
actual outcome
Component: General → Editor
QA Contact: general → editor

Comment 3

8 years ago
Firstly, this is not related to the editor at all.  It's just how the markup gets rendered.  Secondly, I'm not sure if this is really a bug.  Webkit and opera render this exactly the same way.  Anyway, moving to layout with a testcase.
Component: Editor → Layout
QA Contact: editor → layout
You need to log in before you can comment on or make changes to this bug.