Closed
Bug 307785
Opened 19 years ago
Closed 19 years ago
use of brackets/braces inline, style="{...}" often fails vs style="..." to render properly
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 193657
People
(Reporter: licinio.alves, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Often Firefox fails to render style="..." for tags if braces are used, IE
renders it properly with or without the use of braces.
e.g. this first example doesn't apply the syle properly but the second group of
code does, only difference is use of braces in <ul style="{...}">, which is allowed.
<b>Browse by (THERE SHOULD BE NO SPACE BEFORE THE LIST BELOW):</b>
<ul style="{margin-top:0;}">
<li><a href="Q70MCDBServlet?Part_Menu">Part Numbers & Descriptions</a></li>
<li><a href="Q70MCDBServlet?Kit_Menu">Kits</a></li>
<li><a href="Q70MCDBServlet?PartFamily_Menu">Part Family/Part Type</a></li>
</ul>
<b>Browse by (THERE SHOULD BE NO SPACE BEFORE THE LIST BELOW):</b>
<ul style="margin-top:0;">
<li><a href="Q70MCDBServlet?Part_Menu">Part Numbers & Descriptions</a></li>
<li><a href="Q70MCDBServlet?Kit_Menu">Kits</a></li>
<li><a href="Q70MCDBServlet?PartFamily_Menu">Part Family/Part Type</a></li>
</ul>
Reproducible: Always
Steps to Reproduce:
1. see detailed examples above...
2.
3.
Comment 1•19 years ago
|
||
Curly brace delimeters should not be used in inline style as per the html spec: http://www.w3.org/TR/html4/present/styles.html#h-14.2.2
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Component: General → Style System (CSS)
Product: Firefox → Core
Version: unspecified → Trunk
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
*** This bug has been marked as a duplicate of 193657 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•