Commit 989ecb31 authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Commit Bot

Import wpt@c8009ba04847c1118c4bf79a1b5a6eea42087e79

Using wpt-import in Chromium 91dfc811.
With Chromium commits locally applied on WPT:
d3406a52 "Add more WPT tests for mixed-content check in workers/worklets (2/2)"


Build: https://ci.chromium.org/buildbot/chromium.infra.cron/wpt-importer/24554

Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

NOAUTOREVERT=true
TBR=lukebjerring

No-Export: true
Change-Id: Ic3c86c431478bd7ddb070bb1f3ce283106349175
Reviewed-on: https://chromium-review.googlesource.com/1219988
Commit-Queue: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Reviewed-by: default avatarBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590446}
parent 3ab343aa
This source diff could not be displayed because it is too large. You can view the blob instead.
<!doctype html>
<title>fieldset generated content</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<style>
fieldset { display: inline-block; }
#test::before, #test::after { content:"X"; }
</style>
<fieldset id=test><legend>A</legend>Y</fieldset>
<fieldset id=ref><legend>A</legend>XYX</fieldset>
<script>
test(() => {
const testElm = document.querySelector('#test');
const refElm = document.querySelector('#ref');
assert_equals(testElm.clientWidth, refElm.clientWidth, 'clientWidth');
assert_equals(testElm.clientHeight, refElm.clientHeight, 'clientHeight');
});
</script>
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: Font Metrics API Level 1 (https://drafts.css-houdini.org/font-metrics-api/)
partial interface Document {
FontMetrics measureElement(Element element);
FontMetrics measureText(DOMString text, StylePropertyMapReadOnly styleMap);
};
interface FontMetrics {
readonly attribute double width;
readonly attribute sequence<double> advances;
readonly attribute double boundingBoxLeft;
readonly attribute double boundingBoxRight;
readonly attribute double height;
readonly attribute double emHeightAscent;
readonly attribute double emHeightDescent;
readonly attribute double boundingBoxAscent;
readonly attribute double boundingBoxDescent;
readonly attribute double fontBoundingBoxAscent;
readonly attribute double fontBoundingBoxDescent;
readonly attribute Baseline dominantBaseline;
readonly attribute sequence<Baseline> baselines;
readonly attribute sequence<Font> fonts;
};
interface Baseline {
readonly attribute DOMString name;
readonly attribute double value;
};
interface Font {
readonly attribute DOMString name;
readonly attribute unsigned long glyphsRendered;
};
This is a testharness.js-based test.
FAIL fieldset generated content assert_equals: clientWidth expected 60 but got 48
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL fieldset generated content assert_equals: clientWidth expected 59 but got 47
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL fieldset generated content assert_equals: clientWidth expected 57 but got 46
Harness: the test ran to completion.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment