Closed
Bug 59788
Opened 24 years ago
Closed 22 years ago
"position: absolute; left: xx%;" for <span> inserts a linebreak
Categories
(Core :: Layout, defect, P3)
Tracking
()
mozilla1.2alpha
People
(Reporter: kazhik, Assigned: attinasi)
Details
Attachments
(1 file)
333 bytes,
text/html
|
Details |
if "position: absolute; left: xx%;" is specified for <span> element, it is displayed at next line.
Reporter | ||
Comment 1•24 years ago
|
||
Comment 3•24 years ago
|
||
same thing happens for "position:absolute;right:xx;" whether xx is a number or a percent.
Comment 4•24 years ago
|
||
Netscape's standard compliance QA team reorganised itself once again, so taking remaining non-tables style bugs. Sorry about the spam. I tried to get this done directly at the database level, but apparently that is "not easy because of the shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
Comment 5•23 years ago
|
||
Correct: taking the inline element out of the normal flow for absolute positioning should not cause it to be displayed on a new line as if it had been a block element. Reassigned to Layout.
Assignee: pierre → attinasi
Component: Style System → Layout
QA Contact: ian → petersen
Comment 6•23 years ago
|
||
There's an example (+screenshot) in the CSS spec: http://www.w3.org/TR/REC-CSS2/visuren.html#q29 It says: """ Relative and absolute positioning may be used to implement change bars, as shown in the following example. The following document: <P style="position: relative; margin-right: 10px; left: 10px;"> I used two red hyphens to serve as a change bar. They will "float" to the left of the line containing THIS <SPAN style="position: absolute; top: auto; left: -1em; color: red;">--</SPAN> word.</P> might result in something like: """ The SPAN should not move down to a new line. Mozilla displayed it correctly before version 0.9.4 (or 0.9.3 -- I don't remember which of the two).
Updated•23 years ago
|
Target Milestone: --- → mozilla1.2
Comment 8•22 years ago
|
||
Bug 44508 FIXED. And This problem I can't reproduce with 2002081908-trunk/WinXP. I think this problem is dup of Bug 44508.
Comment 9•22 years ago
|
||
Yes, this is a duplicate of bug 44508 (the inline was positioned as if it were a block). *** This bug has been marked as a duplicate of 44508 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•