Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

browser default HSS #39

Closed
Mouvedia opened this issue Apr 23, 2012 · 7 comments
Closed

browser default HSS #39

Mouvedia opened this issue Apr 23, 2012 · 7 comments

Comments

@Mouvedia
Copy link
Member

No description provided.

@Saturate
Copy link

Are we going to make our own from bottom or are we aiming at looking the the CSS one now for browsers.

@Mouvedia
Copy link
Member Author

@Saturate Iv been discussing with @veosotano about the default HSS (should it be internally or externally handled).
We didn't decide anything yet.

The only value I can think of that will need to be set would be size (of @font) if it's omitted.

@Saturate
Copy link

Same here, it is not like HTML where we know people will use a h1 tag, so we can't style that tag for them. It would make no sense.

@veosotano
Copy link
Member

The presentation layer doesn't care about what the content means, so no, there won't be default styles for tags. That said, the spec must define default values for all properties of all HSS objects, @font is not the only one.

Sent from my iPhone

On 14/05/2012, at 16:14, "Allan K. Jensen"[email protected] wrote:

Same here, it is not like HTML where we know people will use a h1 tag, so we can't style that tag for them. It would make no sense.


Reply to this email directly or view it on GitHub:
#39 (comment)

@Mouvedia
Copy link
Member Author

@veosotano I meant non-obvious default values. For example the default font size will be an arbitrary choice based on several criteria but the font weight default will obviously be normal. These non-obvious ones are not legion.

@veosotano
Copy link
Member

What? There are actually a ton of them, probably at least one in every object... for example, which one is the default color for gradients, etc?

@Mouvedia
Copy link
Member Author

Why would you use a gradient without a color? Maybe inherit?
I meant non-obvious default values which have an actual real world usage. People will use fonts without setting their size, that will happen, but I don't see people using gradients without a color.

Well anyway what we should talk about here is why we should include the subjective default values directly inside the language. That's what you are supporting and Id only agree if basic @support implementation is done first.

I am closing this issue because this kind of problems will probably be handled on a case by case basis.
If we take the external HSS path then we will reopen it after AXR/Prototype#43 implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants