Skip to content

<img> align attribute doesn't work #41048

@webbedspace

Description

@webbedspace

Describe the bug:
The deprecated align attribute on <img> isn't supported. Note that according to https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#align the effect of this attribute maps directly to extant CSS attributes.

To Reproduce:
Go to http://www.javaonthebrain.com/links.html
Image
The mascot uses align=right but is on the left in Servo.
Image
Above is Firefox.

Platform:
Windows 10, latest Servo.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions