W3C home > Mailing lists > Public > www-style@w3.org > January 2012

RE: [css3-values] RE: CSSStyleDeclaration#length and shorthands.

From: Brian Manthos <brianman@microsoft.com>
Date: Tue, 31 Jan 2012 20:03:07 +0000
To: Boris Zbarsky <bzbarsky@MIT.EDU>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D170EB2F069@TK5EX14MBXC264.redmond.corp.microsoft.com>
Boris:
> What if the style were:
>   <span style="border: 7px dashed red; border-right-color: green">
> What should happen then?

Include
- border-top-width, border-right-width, border-bottom-width, border-left-width
- border-top-style, border-right-style, border-bottom-style, border-left-style
- border-top-color, border-right-color, border-bottom-color, border-left-color
- border-width
- border-style

Exclude (not constructible)
- border-color
- border


Boris:
> If the style were:
>   <div style="border-top-width: 1px; border-right-width: 2px;
>               border-bottom-width: 3px; border-left-width: 4px">

Include
- border-top-width, border-right-width, border-bottom-width, border-left-width
- border-width

Exclude (not constructible)
- border-top-style, border-right-style, border-bottom-style, border-left-style
- border-top-color, border-right-color, border-bottom-color, border-left-color
- border-style
- border-color
- border
Received on Tuesday, 31 January 2012 20:04:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:49 GMT