lisp/gnus/{eww,shr}.el: Merge changes made in Gnus master
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 17 Jun 2013 22:06:27 +0000 (22:06 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 17 Jun 2013 22:06:27 +0000 (22:06 +0000)
commitbe2aa135787e32fc93b2163834e7460056e6e1a7
tree889189ea9f2bbf09aebefb92aa3be80e296f4d68
parentec6ecaad44f4ca36e1ee7224c300222c6433471b
lisp/gnus/{eww,shr}.el: Merge changes made in Gnus master

lisp/gnus/eww.el (eww-tag-select): Don't render totally empty <select> forms.
(eww-convert-widgets): Don't bug out if the first widget starts at the beginning of the buffer.
(eww-convert-widgets): Fix last patch.

lisp/gnus/shr.el (shr-insert-table): Respect border-collapse: collapse.
(shr-tag-base): Protect against base specs that are degenerate.
(shr-ensure-paragraph): Don't delete empty lines that have text properties, because these may be input fields.

lisp/gnus/eww.el (eww-convert-widgets): Put `help-echo' on input fields so that we can navigate to them.

lisp/gnus/shr.el (shr-colorize-region): Put the colours over the entire region.
(shr-inhibit-decoration): New variable.
(shr-add-font): Use it to inhibit text property decorations while doing preliminary table renderings.  This speeds up typical Wikipedia page renderings by 15%.
(shr-tag-span): Don't respect the <title>, because that overwrites the help-echo from links inside the spans.
(shr-next-link): Use `help-echo' for navigation, so that we can navigate to form elements, too.

lisp/gnus/eww.el (eww-button): New face.
(eww-convert-widgets): Use it to make submit buttons more button-like.
lisp/gnus/ChangeLog
lisp/gnus/eww.el
lisp/gnus/shr.el