Open
Bug 478505
Opened 16 years ago
Updated 3 years ago
text-decrations not drawn properly in some inline context
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
UNCONFIRMED
People
(Reporter: izemize, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090213 Minefield/3.2a1pre
When you specify text-decoration property to an inline element (A), and then place a css defined block element (a span with "display: block") (B) inside it, the childrens of this element not inherit the text-decoration of the element A. ( Example: no. 1.1 )
When you try this example with a block element in the A position, the text-decoration property treated well. (Example 1.2)
Related spec: "When specified on an inline element, it affects all the boxes generated by that element; for all other elements, the decorations are propagated to an anonymous inline box that wraps all the in-flow inline children of the element, and to any block-level in-flow descendants."
(http://www.w3.org/TR/CSS21/text.html#lining-striking-props)
Browsers render the example right: Safari (3), Chrome (1), Opera (9.6), Internet Explorer (6-7-8)
Browser renders the example wrong: Firefox (nightly)
Reproducible: Always
Steps to Reproduce:
1. create an inline element with text-decoration: underline
2. place an other inline element inside it, and set display: block property to this element
Actual Results:
The text-decoration not shown inside the inner element.
Expected Results:
The text-decoration should shown up inside the inner element.
Updated•16 years ago
|
Component: General → Layout
OS: Mac OS X → All
Product: Firefox → Core
QA Contact: general → layout
Hardware: x86 → All
Version: unspecified → Trunk
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•