Bug #1571

Style is set by HTML attributes instead of css

Added by Giulio Moro almost 9 years ago. Updated almost 9 years ago.

Status:ResolvedStart date:2016-02-11
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Is this not bad practice?
e.g.: Core.js line 475 "this.popupResponse.align = 'center';"

History

#1 Updated by Nicholas Jillings almost 9 years ago

I'd argue this is valid since it is specified in HTML. You could argue that HTML attribute should not control a layout property, but it is one alignment method which works universally compact. If there is a better solution, can you let me know.

#2 Updated by Giulio Moro almost 9 years ago

align was deprecated in HTML 4.01 and removed in HTML 5. Alternative, css-based solutions can be found here:
https://www.w3.org/TR/html4/present/graphics.html#h-15.1.2

#3 Updated by Nicholas Jillings almost 9 years ago

  • Status changed from New to Resolved

It is removed now.

Also available in: Atom PDF