Apply two styles problematic
Environment
Firefox
Reproducing Procedures
- Open the 'replacebyclass' sample page and make the following selection:
<p>
[This is ]some...
- Apply 'Bold' style on the selected content;
- Make the new selection as following and apply 'Italic' Style:
<p>
<strong>This [is ]</strong> some...
- Actual Result: The italic style has expanded onto the previous word.
- Expected Result: Only the selected content receive the new style.
Change History (4)
Keywords: |
Review? added
|
Owner: |
set to Garry Yao
|
Status: |
new →
assigned
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
I remember we've used bookmarks in the past, but for some reason we've changed it to the current code. Maybe we were simply trying to use the original bookmark, while you're proposing creating a new bookmark after enlarging the range.
The change is good, but we must test and watch the style system pretty well before the release.