Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: RFC: Monastery Markup Introduction

by ww (Archbishop)
on Mar 09, 2008 at 14:19 UTC ( [id://673087]=note: print w/replies, xml ) Need Help??


in reply to Re: RFC: Monastery Markup Introduction
in thread RFC: Monastery Markup Introduction

You are correct, within the context of the conditions in your initial clause; in fact, one of my (test) browsers renders <i>...</i> text in boldface, pointing up the fact that Gavin's reply below is a more precise characterization.

For reference, however, this, from w3c (at http://www.w3.org/TR/html401/present/graphics.html#h-15.2.1):

Rendering of font style elements depends on the user agent. The following is an informative description only.

TT: Renders as teletype or monospaced text.
I: Renders as italic text style.
B: Renders as bold text style.
BIG: Renders text in a "large" font.
SMALL: Renders text in a "small" font.
STRIKE and S: Deprecated. Render strike-through style text.
U: Deprecated. Renders underlined text.
(Emphasis in original; the draft .html 5 language is different.)

You will notice that w3c deprecates the last two, whereas PM does NOT (though I suspect you will find a consensus here against the use of U). Further, since you mention CSS, the word "style" in the w3c statement is NOT a reference to CSS.

And -- at this time -- the specialized sub- and super-set of .html 4.01 used in the Monastery does NOT accept .css entered in an input box.

To demonstrate:

<p style="font-style: italic;">This will NOT render as italic.</p>

This will NOT render as italic.

In fact, if you have "enforce" turned on and "reporting" set high in Display Settings (see above), you will see the second <p style="font-style: italic;"> highlighted (in my case, in a light grey) as non-conformant.

Of course, you can impose your own preferences on rendering by supplying .css in your personal style-sheet, but there's no assurance that other readers will have it rendered as you do.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://673087]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-03-29 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found