Defect #15307

HTML 5 deprecates width and align attributes

Added by Ksenia Altbregen about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Code cleanup/refactoring
Target version:2.4.0
Resolution:Fixed Affected version:

Description

Asserted fixes for HTML 5. Part 2.

<align> tag is obsoleted. It is recommended to use CSS instead.
I simply changed

<tag align="left|right|center"></tag>

into
<tag style="text-align: left|right|center;"></tag>

everywhere I've found this tag.

obsoleted_tag_align.diff Magnifier (30.3 KB) Ksenia Altbregen, 2013-11-08 14:39

Associated revisions

Revision 12265
Added by Jean-Philippe Lang about 4 years ago

Adds a CSS class for reorder links (#15307).

Revision 12268
Added by Jean-Philippe Lang about 4 years ago

Removed deprecated align and width html attributes (#15307).

Revision 12272
Added by Jean-Philippe Lang about 4 years ago

Fixed repository browser alignment (#15307).

History

#1 Updated by Ksenia Altbregen about 4 years ago

Related to Defect #5475.
Related to Defect #15191.

#2 Updated by Jean-Philippe Lang about 4 years ago

  • Subject changed from HTML 5 validation failures to HTML 5 deprecates width and align attributes
  • Category set to Code cleanup/refactoring
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.4.0
  • Resolution set to Fixed

I've refactored the css classes a bit to limit the use of hard-coded styles in r12268, thanks for pointing this out.

#3 Updated by Jean-Philippe Lang about 4 years ago

  • Status changed from Resolved to Closed

Merged.

Also available in: Atom PDF