Open
Bug 358544
Opened 19 years ago
Updated 3 years ago
it isn't possibly to apply styles to <br>
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
NEW
People
(Reporter: amla70, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
1.68 KB,
text/html
|
Details |
I didn't find any bug that addresses the br part of bug 38370, so according to Boris advice and three years later I'm filing this bug.
I've tried to apply any styling to <br> so it can be shown in the page (thinking about a WYSIWYG enviroment), but nothing seems to work.
I'm attaching a testcase to test it.
Reporter | ||
Comment 1•19 years ago
|
||
this testcase has three paragraphs and tries to apply several styles to br, none of them works:
.p1 br {
display:block;
border:1px solid red;
background-color:blue;
height:1em;
width:1em;
}
.p2 br{
border:1px solid red;
background-color:blue;
height:1em;
width:1em;
}
br:after
{content: "\B6 ";}
Only Opera and IE7 (sort of, IE8 doesn't) allow br elements to be styled.
In Opera's case I'd say that's a bug, because it also allows generated content on img elements. However, that's not clearly defined yet.
-> New for further triage.
Status: UNCONFIRMED → NEW
Component: Layout → Layout: Text
Ever confirmed: true
OS: Windows XP → All
QA Contact: layout → layout.fonts-and-text
Hardware: x86 → All
Version: 1.8 Branch → 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
•