- From: Sebastian Zartner <sebastianzartner@gmail.com>
- Date: Sun, 4 Jan 2015 23:45:25 +0100
- To: www-style list <www-style@w3.org>
Received on Sunday, 4 January 2015 22:46:12 UTC
It looks like both, 'border-limit' and 'border-clip' behave similar in allowing to split the drawing of borders. Their examples using different property names 'border-parts' and 'border-top-parts' also indicate their relation. So they may rather be joined into one property. Another approach to this would be to add an @border-style rule and allow to define the border line splitting in there. Styles defined by that @-rule could then be used within the 'border-style' property. Examples: /* Corresponds to the second rule in Example 4 */ @border-style corners { border-parts: corners; } /* Corresponds to Example 12 */ @border-style corners { border-parts: repeat(10px 10px); } An @-rule would have the advantage that it could later be extended to allow more arbitrary border styles. Another reason for it is that the effect of partial borders overlaps with the 'dashed' and 'dotted' values for 'border-style'. Sebastian
Received on Sunday, 4 January 2015 22:46:12 UTC