-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
<meta name=viewport> is applied when it shouldn't #39002
Copy link
Copy link
Closed
Labels
C-assignedThere is someone working on resolving the issueThere is someone working on resolving the issueC-has-manual-testcaseC-triggered-by-web-pageReport issue casued by visiting web pagesReport issue casued by visiting web pagesI-spec-unclearA specification related to the issue in question is unclear.A specification related to the issue in question is unclear.I-wrongAn incorrect behaviour is observed.An incorrect behaviour is observed.
Description
Repro:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=0.5" />
</head>
<body style="background-color: blue"></body>
</html>Servo renders a quarter of the background blue, in firefox everything is blue.
<meta name="viewport"> is unfortunately unspecified (https://drafts.csswg.org/css-viewport/#viewport-meta), so it is not clear what the correct behaviour is.
This issue can be seen in the real world on https://hackthissite.org/, which is rendered at 0.5 scale.
cc @shubhamg13
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-assignedThere is someone working on resolving the issueThere is someone working on resolving the issueC-has-manual-testcaseC-triggered-by-web-pageReport issue casued by visiting web pagesReport issue casued by visiting web pagesI-spec-unclearA specification related to the issue in question is unclear.A specification related to the issue in question is unclear.I-wrongAn incorrect behaviour is observed.An incorrect behaviour is observed.