Last Comment Bug 660189 - text-shadow drawn on top of text-decoration (underline) in standards mode
: text-shadow drawn on top of text-decoration (underline) in standards mode
Status: RESOLVED FIXED
[bugday-2011-05-27]
:
Product: Core
Classification: Components
Component: Layout: Text (show other bugs)
: Trunk
: x86 All
: -- normal (vote)
: mozilla8
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
: 672161 (view as bug list)
Depends on: 403524
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-27 03:00 PDT by alex
Modified: 2011-08-05 16:57 PDT (History)
7 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Test (506 bytes, text/html)
2011-05-27 09:37 PDT, alex
no flags Details

Description alex 2011-05-27 03:00:40 PDT
User-Agent:       Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

When using text-shadow on an "a" element with :hover {underline} the shadow for the text appears over the underline.

Reproducible: Always

Steps to Reproduce:
1. Create an "a" element and apply the "text-shadow" style to it.
2. Create a :hover style that displays the underline for the "a" element.
3. Notice overlap of shadow.


Expected Results:  
Shadow to appear below underline
Comment 1 XtC4UaLL [:xtc4uall] 2011-05-27 09:28:47 PDT
Care to attach a reduced Testcase showing the Issue?
Comment 2 alex 2011-05-27 09:37:58 PDT
Created attachment 535666 [details]
Test
Comment 3 XtC4UaLL [:xtc4uall] 2011-05-27 11:16:19 PDT
Confirmed against Mozilla/5.0 (Windows NT 5.1; rv:7.0a1) Gecko/20110527 Firefox/7.0a1 ID:20110527030642

Opera 11.50 and Google Chrom 13 dev get it right.
Comment 4 :aceman 2011-05-27 11:20:39 PDT
Can confirm on Linux, Firefox 5 beta.
Comment 5 David Baron :dbaron: ⌚️UTC+8 (review requests must explain patch) 2011-05-27 11:30:36 PDT
Bug 403524 will fix this.
Comment 6 Mats Palmgren (vacation) 2011-08-02 13:00:37 PDT
*** Bug 672161 has been marked as a duplicate of this bug. ***
Comment 7 Vitor Menezes 2011-08-05 16:57:47 PDT
The patch for bug 403524 merges our text-decoration codepaths for both quirks- and standards-mode, drawing shadows behind both the text and its decorations in all modes.

Note You need to log in before you can comment on or make changes to this bug.