mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
Automatic update from web-platform-testsMerge pull request #12312 from TalbotG/contain-gtalbot-nr1 [css-contain] Improve the coverage and correctness of the css-contain… -- wpt-commits: 58b45e6af645cf8262abfd6c4763508e6926fa33 wpt-pr: 12312
25 lines
794 B
HTML
25 lines
794 B
HTML
<!DOCTYPE html>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>CSS Reference Test</title>
|
|
|
|
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
|
|
|
<style>
|
|
div
|
|
{
|
|
float: left;
|
|
}
|
|
|
|
img
|
|
{
|
|
vertical-align: top;
|
|
}
|
|
</style>
|
|
|
|
<p>Test passes if there is a) a blue square below a yellow square and b) an orange square on the righthand side of the yellow square.
|
|
|
|
<div><img src="../support/swatch-yellow.png" width="100" height="100" alt="Image download support must be enabled"><br><img src="../support/swatch-blue.png" width="100" height="100" alt="Image download support must be enabled"></div>
|
|
|
|
<div><img src="../support/swatch-orange.png" width="100" height="100" alt="Image download support must be enabled"></div>
|