Re:The Anti-hero of CSS Layout – “display:table”
by yuhong on Tuesday October 28, 2014 @12:42AM
(#8519567)
At least it was mostly copied from Netscape, and source for that is available as Mozilla Classic (from the cancelled Mariner project). I used it to figure out where HTML legacy color parsing come from.
Re:The Anti-hero of CSS Layout – “display:table”
by gsnedders on Tuesday October 28, 2014 @01:57PM
(#8522368)
Sadly, we know that what web compat relies on isn't quite what NN4(-ish) does, so the mere fact that that is available doesn't really help too much. :(
Re:The Anti-hero of CSS Layout – “display:table”
by yuhong on Tuesday October 28, 2014 @02:06PM
(#8522442)
Actually, the same thing is true for HTML legacy color parsing too, but the only difference there is a few lines of code. I think it is these lines that was added (from http://mxr.mozilla.org/classic/source/lib/layout/layimage.c#...):
if (bytes_per_val > 4)
{
bytes_per_val = 4;
}
There's also a lot of unwillingness to do much around display: table — it remains largely unspecified (mostly because we basically know web compatibility requires you to do what IE6 does — and nobody knows quite what that is, and MS people have struggled to get permission to disclose the detail).