Closed Bug 1483102 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 12460 - Fix invalid charset detection in a meta element

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12460 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12460
Details from upstream follow.

Amos Lim <eui-sang.lim@samsung.com> wrote:
>  Fix invalid charset detection in a meta element
>  
>  Fix invalid charset detection when a meta contains both a "charset" and
>  a "content" attribute. The encoding specified in the "charset" attribute should
>  have precedence over the one in the "content" attribute.
>  
>  https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inhead
>  
>  Bug: 855047
>  Change-Id: I79306fc0bff8f094800a989d8d548bd94b96b5eb
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1172462
>  WPT-Export-Revision: abefa22703622747a5c2383a635bbccf745f9140
Component: web-platform-tests → DOM
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 1 subtests
OK     : 1
PASS   : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b9fca07569cd
[wpt PR 12460] - Fix invalid charset detection in a meta element, a=testonly
https://hg.mozilla.org/mozilla-central/rev/b9fca07569cd
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.