Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317

This commit is contained in:
Josh Matthews 2018-01-04 13:44:24 -05:00
parent aa199307c8
commit 2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions

View file

@ -1,14 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
<style type="text/css"><![CDATA[
p { color: green; background: lime; }
]]></style>
</head>
<body>
<p>This sentence must be green on a green background.</p>
<p>This sentence must be green on a green background.</p>
</body>
</html>

View file

@ -1,28 +1,23 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: URLs in style attributes (with xml:base and &lt;base&gt;)</title>
<base href="support/support/"/>
<title>CSS Test: URLs in style attributes (with xml:base)</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
<link rel="reviewer" title="Arron Eicholz" href="mailto:Arron.Eicholz@microsoft.com"/>
<link rel="match" href="reference/ref-green-on-green2.xht" xml:base="../../"/>
<link rel="help" href="http://www.w3.org/TR/css-style-attr/#interpret"/>
<link rel="help" href="http://www.w3.org/TR/xmlbase"/>
<link rel="match" href="reference/ref-green-on-green.xht"/>
<link rel="help" href="https://drafts.csswg.org/css-style-attr/#interpret"/>
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="flags" content="image nonHTML" />
<meta name="assert" content="In the presence of xml:base URL manipulation, URLs in style attributes are relative to the base of the element."/>
<meta name="assert" content="xml:base is ignored when resolving URLs in style attributes."/>
<!-- This test originally asserted that xml:base works, and xml:base is mentioned in
https://www.w3.org/TR/2013/REC-css-style-attr-20131107/. Support for xml:base
has been removed from browsers and it's no longer mentioned in the spec. -->
<style type="text/css"><![CDATA[
p { background: red; color: green; }
img { background: red; color: white; vertical-align: middle; }
p { background-color: lime; color: green; }
]]></style>
</head>
<body>
<p style="background-image: url(swatch-lime.png)" xml:base="../">
<p style="background-image: url(swatch-red.png)" xml:base="support/">
This sentence must be green on a green background.
<img src="support/swatch-lime.png" alt="[Your UA does not support xml:base. This test is therefore Not Applicable.]"/>
</p>
<p xml:base="../" style="background-image: url(swatch-lime.png)">
This sentence must be green on a green background.
<img src="support/swatch-lime.png" alt="[Your UA does not support xml:base. This test is therefore Not Applicable.]"/>
</p>
</body>
</html>