Last Comment Bug 676232 - CSS text-decoration img Bug; Img in paragraph cant get his own styles!
: CSS text-decoration img Bug; Img in paragraph cant get his own styles!
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: CSS Parsing and Computation (show other bugs)
: unspecified
: x86 Windows XP
: -- normal (vote)
: mozilla8
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on: 403524
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-03 06:25 PDT by dreweso
Modified: 2011-08-05 16:36 PDT (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
minimal.zip - minimal style settings which doesn't work; test.html and the a text gfx (1.89 KB, application/zip)
2011-08-03 06:25 PDT, dreweso
no flags Details

Description dreweso 2011-08-03 06:25:44 PDT
Created attachment 550365 [details]
minimal.zip - minimal style settings which doesn't work; test.html and the a text gfx

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.9.2.18) Gecko/20110614 Firefox/3.6.18 ( .NET CLR 3.5.30729)
Build ID: 20110614230723

Steps to reproduce:

I tried to underline my h2 tags with css
and after that i treied to remove the underline from an img which is underlined.
so just look at the code and you will see!


Actual results:

the img object gets underlined


Expected results:

the img tag should not get underlined.
Comment 1 dreweso 2011-08-03 06:27:33 PDT
i tried the minimal at firefox 3.6.x
and 5
but it works still fine at ie 5.5 to 8 
and chrome
Comment 2 Alice0775 White 2011-08-03 07:53:43 PDT
Maybe duplicate of Bug 403524
Comment 3 Boris Zbarsky [:bz] (Out June 25-July 6) 2011-08-03 09:05:47 PDT
Should certainly revisit once that's fixed.

The rendering of the testcase is certainly correct per what CSS2.1 used to say.
Comment 4 David Baron :dbaron: ⌚️UTC-7 (review requests must explain patch) 2011-08-03 12:34:34 PDT
Once bug 403524 lands, img elements won't get underlined, ever (which is what CSS 2.1 requires).
Comment 5 Vitor Menezes 2011-08-05 16:36:16 PDT
As per Comment 4, the patch for 403524 guarantees that nothing but text gets decorations.

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