On 16 January 2017 at 23:08, Dave Townsend <dtowns...@mozilla.com> wrote:
> Thanks for your feedback Jaroslav, it's really helpful. The issue around > mixing XUL and HTML is one in particular where I think we may end up having > to make some platform fixes to at least make the transition away from XUL > possible. > > On Mon, Jan 16, 2017 at 1:31 PM, Jaroslav Šnajdr <jsna...@gmail.com> > wrote: > >> Hello Dave, >> >> while contributing to some of the devtools.html refactoring projects, I >> noticed the following further issues: >> >> - the XUL label element has attribute crop=start|center|end, which can be >> used to truncate the label text and insert an ellipsis character at the >> place of your choice. HTML doesn't have this - ellipsis can be inserted >> only at the end, and after doing some RTL magic, also at the start (but not >> 100% bug-free). The "center" option is not available at all. Solving this >> in CSS would be a really nice addition to the web platform. There's been >> some spec work done by Sebastian Zartner few years ago. >> > Thank you for mentioning my efforts regarding this! For reference, the related discussions and spec. work is here: https://lists.w3.org/Archives/Public/www-style/2013Jul/0451.html https://www.w3.org/wiki/Text-overflow_middle_cropping https://bugzilla.mozilla.org/show_bug.cgi?id=740910 I'd be happy if this topic was pushed again to make it into the spec. Sebastian _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform