Page MenuHomePhabricator

EXIF metadata tables use deprecated XHTML code.
Closed, ResolvedPublic

Description

Author: ejsanders

Description:
The EXIF metadata tables use the table "align" property which is deprecated in
XHTML 1.0. The alignment should be done in the exif class using float: right;
(and clear: right;).

Other issues:

  • <TH> cells should be left bold.
  • Data should be left-aligned, like most other infoboxes
  • For fields with large amounts of data (e.g. the title on

http://commons.wikimedia.org/wiki/Image:C-141_Starlifter_contrail.jpg), the text
should be truncated, with a "show more" link (javascript?).


Version: unspecified
Severity: normal
URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd

Details

Reference
bz3511

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:50 PM
bzimport set Reference to bz3511.
bzimport added a subscriber: Unknown Object (MLST).

avarab wrote:

(In reply to comment #0)

The EXIF metadata tables use the table "align" property which is deprecated in
XHTML 1.0. The alignment should be done in the exif class using float: right;
(and clear: right;).

According to http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd it's not
deprecated in XHTML 1.0 Transitional but is deprecated in XHTML 1.0 Strict, we
use the former.

ejsanders wrote:

It's /allowed/ in Transistional, but that doesn't mean we should use it, as it
will not be in any future versions of XHTML.