Ideas for the yet to be named IAL (Internet Application Language) #1 – Styles

I’m always having ideas about the syntax, structure, APIs and everything else for the yet to be named IAL. So, I’m going to post my thoughts and let everyone give feedback. This will help shape things better in the long run.

I really want a mechanism so that a component can grab styles from an external location that is reusable. Something like a pointer to a look and feel element. This would be really nice in CSS and is possible, but requires each HTML element to define a class, which sucks. This would be better suited to be contained in the CSS:

.myStyle {

#foo ul li a {
  extends: .myStyle;

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s