Defect #15307
HTML 5 deprecates width and align attributes
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % 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.
Related issues
Associated revisions
Adds a CSS class for reorder links (#15307).
Removed deprecated align and width html attributes (#15307).
Fixed repository browser alignment (#15307).
History
#1
Updated by Ksenia Altbregen about 9 years ago
#2
Updated by Jean-Philippe Lang about 9 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.
#4
Updated by Go MAEDA about 5 years ago
- Related to Defect #19578: Issues reports table header overlaping added