Bug 68392 - align attribute should not do anything on most elements
Summary: align attribute should not do anything on most elements
Status: RESOLVED REMIND
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-19 14:43 PDT by Aryeh Gregor
Modified: 2022-07-12 15:22 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aryeh Gregor 2011-09-19 14:43:33 PDT
Test case:

data:text/html,<!doctype html>
<quasit style="display:block" align=right>Test</quasit>

In IE9 and Firefox 8.0a2, the word "Test" is left-aligned.  In Chrome 15 dev and Opera 11.50, it's right-aligned.  The HTML specification says that align should only work on certain elements, like IE/Gecko:

http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html

I don't know what the exact list should be, though.  I didn't test what elements IE/Gecko respect it on.
Comment 1 Brent Fulgham 2022-07-12 15:22:33 PDT
Safari and Chrome match behavior here.