execCommand(hilitecolor) not updating after changing the font size




9 years ago
9 years ago


(Reporter: p.chwiej, Unassigned)


Firefox Tracking Flags

(Not tracked)




(2 attachments)



9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv: Gecko/20100611 Firefox/3.6.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv: 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.

Comment 1

9 years ago
Created attachment 453686 [details]

Comment 2

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

Comment 3

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