Closed
Bug 23683
Opened 25 years ago
Closed 25 years ago
interpretation of FONT and CSS font-family attributes under different circumstances
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
People
(Reporter: eric, Assigned: pierre)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
hi, I searched for this specific issue and didn't see anything on it...
here's the post that I sent to alistapart.com.
My apologies if this is a duplication. please email me for the test cases HTML
page. thanks...
> hi all,
> so I got several responses to this, and it got me thinkin' about how
best to
> check exactly what's going on. here's the deal.
>
> I went back and read what I wrote, and I have to make a correction after
>
testing some more.
> "It did recognize font tags, but ONLY when nested properly
and when
> they were the innermost pair. "
> not exactly. the opening font tag
needed to be the last tag before text
> when inside a P tag, but when followed
with a br tag it was fine.
>
> now what really threw me was trying to script dynamic changes to the css
>
attribute. an hour later and my head is throbbing and I still wasn't able
> to
get it to work right.
>
> oddly enough, I thought I remembered reading that document.write() wasn't
>
going to work in this build, but it's working for me now...
>
> I'll send the test cases page to anyone who is interested, but here's the
>
synopsis--
>
> --passed-- correctly nested FONT tag
> --passed-- incorrectly nested FONT tag
at closing
> --FAILED-- FONT tag outside P tag
> --FAILED-- incorrectly nested
FONT tag at closing (FONT tag outside P tag at
> opening)
> --passed-- FONT tag
followed by BR tag
> --FAILED-- FONT tag outside table
> --passed-- style
applied locally to P tag
> --FAILED-- style attached to P tag via ID from CSS in
HEAD
> --passed-- style attached to P tag via class from CSS in HEAD
>
--passed-- style attached to P tag via p#id from CSS in HEAD
> --passed-- style
attached to P tag via p.class from CSS in HEAD
> --passed-- style attached
locally to DIV tag
> --passed-- style attached locally to SPAN tag
> --FAILED--
style attached locally to DIV tag outside a table
> --passed-- style attached to
DIV tag via Javascript getElementById() DOM
> reference
> --FAILED-- style
attached to P tag via Javascript style sheets and ID
> --FAILED-- style attached
to P tag via Javascript style sheets and class
> --FAILED-- style attached to P
tag via Javascript style sheets and name
Comment 2•25 years ago
|
||
I guess your results is from M12. Several of your FAILED tests have now been
fixed, see bug 991. The last three tests should fail: JS "tags." "ids." and
"classes." are proprietary Nav4 features and will not be implemented, see:
http://sites.netscape.net/ekrock/standards.html
I'll leave the two remaining cases that "fail" to the CSS gurus to decide:
<font color="red"><table>
<tr><td>FONT tag outside table</td></tr>
</table></font>
and:
<div style="color:red;"><table>
<tr><td>style attached locally to DIV tag outside a table</td></tr>
</table></div>
Both of these can be summarized as "table not inheriting color", which is
handled by bug 1044. dup?
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 3•25 years ago
|
||
Mats is correct.
Closed as dup of 1044.
*** This bug has been marked as a duplicate of 1044 ***
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
Verified dup of #1044
You need to log in
before you can comment on or make changes to this bug.
Description
•