[PATCH] hgweb: recreate old DOM structure for css in monoblue style

Augie Fackler raf at durin42.com
Fri Feb 13 11:36:18 CST 2015


On Fri, Feb 13, 2015 at 01:02:39AM +0900, Yuya Nishihara wrote:
> On Thu, 12 Feb 2015 11:23:54 +0800, Anton Shestakov wrote:
> > # HG changeset patch
> > # User Anton Shestakov <engored at ya.ru>
> > # Date 1423708713 -28800
> > #      Thu Feb 12 10:38:33 2015 +0800
> > # Node ID 0cfff4c42c9a146a09877cefee5a839cd70c6a2f
> > # Parent  ff5caa8dfd993680d9602ca6ebb14da9de10d5f4
> > hgweb: recreate old DOM structure for css in monoblue style
> >
> > There's a "p.changeset-age span" css block in style-monoblue.css with quite a
> > bit of rules, including position. They were all unused, since there weren't
> > matching span element inside the p.changeset-age.
> >
> > The span was removed in b24e5a708fad (as it seemed meaningless at the time?)
> > and since then relative changeset age text looked weird and broken.
> >
> > "age" class is used for calculating relative changeset age in javascript: all
> > content of such element is replaced with human-friendly text (e.g.
> > "yesterday"). So the new span gets the age class.
>
> Looks correct. I think this is good for stable.

Agreed. Queued for stable after manual inspection of monoblue output.

>
> Regards,
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list