Open
Bug 857924
Opened 11 years ago
Updated 2 years ago
Text-shadow blur and text decoration messes up when selecting text
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
NEW
People
(Reporter: f78909, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: regression, testcase)
Attachments
(4 files, 2 obsolete files)
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:20.0) Gecko/20100101 Firefox/20.0 Build ID: 20130326150557 Steps to reproduce: 1. Have a text with "text-shadow" set to "rgb(0, 0, 0) 0px 16px 12px" and "text-decoration" set to "line-through"/"underline". 2. Select part of the text. Actual results: Additional shadow appeared at the start and the end of selection. Expected results: It shouldn't have.
Provide a small testcase (.html file), please.
Flags: needinfo?(f78909)
Reporter | ||
Comment 2•11 years ago
|
||
Flags: needinfo?(f78909)
Reporter | ||
Comment 3•11 years ago
|
||
Attachment #733376 -
Attachment is obsolete: true
Reporter | ||
Comment 4•11 years ago
|
||
Attachment #733377 -
Attachment is obsolete: true
Reporter | ||
Updated•11 years ago
|
Attachment #733380 -
Attachment mime type: text/plain → text/html
I'm not sure if it's a valid regression. Anyway, the result: m-c good=2011-10-09 bad=2011-10-10 http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b4da2d439cbc&tochange=e9c620a5c85f Suspected bug: Jonathan Kew — Bug 692752 - paint text-shadow after selection highlight background. r=roc
Blocks: 692752
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Text
Ever confirmed: true
Keywords: regression,
testcase
Product: Firefox → Core
Version: 20 Branch → 10 Branch
Reporter | ||
Comment 6•11 years ago
|
||
Well, if selection having additional shadow is intended, it, at least, shouldn't have such clear borders nor it should have a gap.
Comment 7•11 years ago
|
||
I'd say the result is clearly wrong - as you drag-select back and forth, it's as though there's an additional area of shadow "attached" to each end of the selected range. These don't appear if the selected range extends all the way to either end of the text, though. Seems to be a problem with how the shadow is rendered for the separate selected/non-selected segments of the text.
Updated•7 years ago
|
Blocks: css-text-decor-3
Comment 8•5 years ago
|
||
The attached testcase seems to work fine for me in Nightly on Linux.
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
I can still reproduce on Nightly68.0a1 windows10.
Drag selection text as well as Select All(Ctrl+A).
OR Find in page, Ctrl+F and type foo.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•