Closed Bug 1270518 Opened 4 years ago Closed 4 years ago
.code reflect as string, not URL
The spec says regular string: """ The align, archive, border, code, declare, hspace, standby, and vspace IDL attributes of the object element must reflect the respective content attributes of the same name. """ https://html.spec.whatwg.org/#dom-object-code Chrome and IE 11 appear to reflect as a string. I can't figure out what this attribute does or ever did, if anything -- I don't see any sort of documentation anywhere. If it actually does something and is logically a URL, it would make sense to change the spec. Otherwise, we should change.
Attachment #8749211 - Flags: review?(bzbarsky)
Comment on attachment 8749211 [details] [diff] [review] 0001-Bug-1270518-Make-object.code-reflect-as-string-not-U.patch Yeah, I dunno why this is being reflected as URL. It's https://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#adef-code and corresponding bits from https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-61509645 and https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-75241146 which is a filepath, not a URL. r=me. I would somewhat appreciate you finding some other reviewers for these various changes, by the way. ;)
Attachment #8749211 - Flags: review?(bzbarsky) → review+
You need to log in before you can comment on or make changes to this bug.