Move word_break_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 20:51:43 -04:00
parent f407142656
commit 0755f21517
4 changed files with 25 additions and 1 deletions

View file

@ -2171,6 +2171,18 @@
"url": "/_mozilla/css/word-spacing.html"
}
],
"css/word_break_a.html": [
{
"path": "css/word_break_a.html",
"references": [
[
"/_mozilla/css/word_break_ref.html",
"=="
]
],
"url": "/_mozilla/css/word_break_a.html"
}
],
"mozilla/canvas/drawimage_html_image_1.html": [
{
"path": "mozilla/canvas/drawimage_html_image_1.html",
@ -5064,6 +5076,18 @@
"url": "/_mozilla/css/word-spacing.html"
}
],
"css/word_break_a.html": [
{
"path": "css/word_break_a.html",
"references": [
[
"/_mozilla/css/word_break_ref.html",
"=="
]
],
"url": "/_mozilla/css/word_break_a.html"
}
],
"mozilla/canvas/drawimage_html_image_1.html": [
{
"path": "mozilla/canvas/drawimage_html_image_1.html",

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='word_break_ref.html'>
<!-- Tests that `word-break: break-all` works. -->
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style>
html, body {
margin: 0;
}
section {
word-break: break-all;
width: 300px;
color: purple;
}
</style>
</head>
<body>
<section>X XXXXXXX</section>
</body>
</html>

View file

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that `word-break: break-all` works. -->
<style>
div {
background: purple;
position: absolute;
}
#a {
width: 100px;
left: 0;
top: 0;
height: 100px;
}
#b {
left: 200px;
top: 0;
width: 100px;
height: 100px;
}
#c {
left: 0;
top: 100px;
width: 300px;
height: 200px;
}
</style>
</head>
<body>
<div id=a></div><div id=b></div><div id=c></div>
</body>
</html>