- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 3 Dec 2015 15:57:11 -0800
- To: www-style list <www-style@w3.org>
The "legacy" keyword in Alignment was added because we thought Alignment gave us a good opportunity to finally explain the "magic" behavior of HTML's <center> element and align="left/right" attributes. However, it's got some issues. First, it needs to inherit, but the alignment properties are non-inheriting. To get around this we have some funky computation rules that explicitly examine the inherited value of the property and sometimes compute to it. We don't mix inheritance and non in any other property, tho, and a) this is weird and b) dbaron really doesn't like this: https://lists.w3.org/Archives/Public/www-style/2015Sep/0099.html Should we remove the keyword and instead create a separate 'justify-legacy' property that inherits? Second, is this even worth dealing with? The other alternative is just leaving <center>/align as unexplained HTML magic, and letting the alignment properties just handle CSS alignment like they were intended to. Thoughts? ~TJ and fantasai
Received on Thursday, 3 December 2015 23:57:59 UTC