border-top is a shorthand for <border-top-pattern> | ( <border-top-style> || <border-top-width> || <border-top-align> ).
border-right is a shorthand for <border-right-pattern> | ( <border-right-style> || <border-right-width> || <border-right-align> ).
border-bottom is a shorthand for <border-bottom-pattern> | ( <border-bottom-style> || <border-bottom-width> || <border-bottom-align> ).
border-left is a shorthand for <border-left-pattern> | ( <border-left-style> || <border-left-width> || <border-left-align> ).
-obfl-underline is a shorthand for <-obfl-underline-pattern> | ( <-obfl-underline-style> || <-obfl-underline-width> || <-obfl-underline-align> ).
A value "none" means that both x-pattern and x-style are set to none (similar to list-style).
border-style, border-width and border-align shorthands (for setting different values on the four sides) also exist, but no border-pattern shorthand.
When the value of "x-pattern" is "none" (or an invalid pattern), the "x-style", "x-width" and "x-align" properties are used to compute the border; otherwise, "x-style", "x-width" and "x-align" are ignored (similar to list-style-image and list-style-type).
Possibly "x-pattern" and "x-style" could be merged into a single property "x-style".
Possibly we can even skip the "x-pattern", "x-style", "x-width" and "x-align" properties altogether. "pattern", "style", "width" and "align" could still be mentioned in the definitions of "border", "border-top", etc., but as values, not as properties. "pattern" would be equivalent to "braille-character".
To do:
[ ] Update specification!
[ ] Add more tests to daisy/braille-css and/or daisy/pipeline-mod-braille/css-utils
border
is a shorthand for<border-style> || <border-width> || <border-align>
(similar to border). "||" means "one or more must occur, in any order" (see https://www.w3.org/TR/css3-values/#component-combinators).border-top
is a shorthand for<border-top-pattern> | ( <border-top-style> || <border-top-width> || <border-top-align> )
.border-right
is a shorthand for<border-right-pattern> | ( <border-right-style> || <border-right-width> || <border-right-align> )
.border-bottom
is a shorthand for<border-bottom-pattern> | ( <border-bottom-style> || <border-bottom-width> || <border-bottom-align> )
.border-left
is a shorthand for<border-left-pattern> | ( <border-left-style> || <border-left-width> || <border-left-align> )
.-obfl-underline
is a shorthand for<-obfl-underline-pattern> | ( <-obfl-underline-style> || <-obfl-underline-width> || <-obfl-underline-align> )
.border-style
,border-width
andborder-align
shorthands (for setting different values on the four sides) also exist, but noborder-pattern
shorthand.To do: