mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Update web-platform-tests to revision d4f8820261cce3f9ee37353b6d76d247cb12a972
This commit is contained in:
parent
793b41299b
commit
7cb8ac2fe2
36 changed files with 278 additions and 279 deletions
|
@ -0,0 +1,11 @@
|
|||
<!doctype html>
|
||||
<title>CSS Test Reference</title>
|
||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
||||
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
||||
<ol>
|
||||
<svg style="display: list-item"></svg>
|
||||
<img style="display: list-item">
|
||||
<img style="display: list-item" alt="Foo">
|
||||
<li value="4">Foo
|
||||
<li>Bar
|
||||
</ol>
|
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<title>The definition of what a list-item is only depends on the display value, and doesn't account for pseudo-elements</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-lists/#list-item">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1539171">
|
||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
||||
<link rel="author" href="https://mozilla.org" title="Mozilla">
|
||||
<link rel="match" href="list-item-definition-ref.html">
|
||||
<!-- TODO: Test pseudo-elements, see https://github.com/w3c/csswg-drafts/issues/3766 -->
|
||||
<ol>
|
||||
<svg style="display: list-item"></svg>
|
||||
<img style="display: list-item">
|
||||
<img style="display: list-item" alt="Foo">
|
||||
<div style="display: list-item">Foo</div>
|
||||
<li>Bar
|
||||
</ol>
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
<title>CSS Position Absolute: Chrome crash</title>
|
||||
<link rel="author" href="mailto:atotic@chromium.org">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=946986">
|
||||
<meta name="assert" content="Nested abs/fixed/flex do not crash">
|
||||
<style>
|
||||
body { overflow: scroll;}
|
||||
.container {
|
||||
position: relative;
|
||||
contain: paint;
|
||||
}
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
.fixed {
|
||||
position: fixed;
|
||||
}
|
||||
.abs {
|
||||
position: absolute;
|
||||
}
|
||||
</style>
|
||||
<!-- LayoutNG currently does not support display:flex.
|
||||
Propagation of descendants across flex boundaries is error prone -->
|
||||
<div id="one" class="container" style="">
|
||||
<div class="flex">
|
||||
<div class="abs">
|
||||
<div class="flex">
|
||||
<div id="fixed1" class="fixed">
|
||||
<div id="fixed2" class="fixed"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
test(() => {
|
||||
}, 'test passes if it does not crash');
|
||||
</script>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue