mirror of
https://github.com/servo/servo.git
synced 2025-07-03 05:23:38 +01:00
Update web-platform-tests to revision 0b22439430b6d8d9a6d43a0908e86c0366f207c0
This commit is contained in:
parent
39ec04a065
commit
c8e806d0ef
93 changed files with 2118 additions and 597 deletions
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<title>iframe with scrolling attr equals yes</title>
|
||||
<link rel="author" title="Jinfeng Ma" href="mailto:majinfeng1@xiaomi.org">
|
||||
|
||||
<p>Test passes if you can see the scrollbars of the iframe displayed below.</p>
|
||||
<iframe src="support/iframe-which-content-height-equals-400px.html" scrolling="yes" width="200px" height="100px">
|
||||
</iframe>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<title>modify iframe scrolling attr to yes</title>
|
||||
<link rel="author" title="Jinfeng Ma" href="mailto:majinfeng1@xiaomi.org">
|
||||
<link rel="help" href="https://www.w3.org/TR/html401/present/frames.html#adef-scrolling">
|
||||
<link rel="match" href="iframe-modify-scrolling-attr-to-yes-ref.html">
|
||||
|
||||
<p>Test passes if you can see the scrollbars of the iframe displayed below.</p>
|
||||
<iframe src="support/iframe-which-content-height-equals-400px.html" scrolling="no" width="200px" height="100px">
|
||||
</iframe>
|
||||
|
||||
<script>
|
||||
let iframe = document.querySelector("iframe");
|
||||
iframe.onload = function () {
|
||||
iframe.scrolling = 'yes';
|
||||
};
|
||||
</script>
|
|
@ -0,0 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<body style="width: 200px; height: 400px">
|
||||
iframe content
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue