Bug 1146754 - Fix reftests for selected shadowed text to avoid trailing-space issues. r=mats

This commit is contained in:
Jonathan Kew 2015-04-01 14:45:09 +01:00
Родитель 84896426ce
Коммит 4e246efbb9
6 изменённых файлов: 8 добавлений и 24 удалений

Просмотреть файл

@ -26,8 +26,6 @@ div {
</head> </head>
<!-- NOTREF case has selected text but the shadow is missing --> <!-- NOTREF case has selected text but the shadow is missing -->
<body onload="onload()"> <body onload="onload()">
<div id="selectMe"> <div id="selectMe">selected shadowed text</div>
selected shadowed text
</div>
</body> </body>
</html> </html>

Просмотреть файл

@ -27,11 +27,7 @@ div {
<!-- REF case renders the selection first, using &nbsp; to avoid any show-through of glyph edges, <!-- REF case renders the selection first, using &nbsp; to avoid any show-through of glyph edges,
then the shadowed text on top of that --> then the shadowed text on top of that -->
<body onload="onload()"> <body onload="onload()">
<div id="selectMe"> <div id="selectMe">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div style="text-shadow:1px 1px 1px red;">selected shadowed text</div>
</div>
<div style="text-shadow:1px 1px 1px red;">
selected shadowed text
</div>
</body> </body>
</html> </html>

Просмотреть файл

@ -26,8 +26,6 @@ div {
</head> </head>
<!-- test for bug 692752 - paint text shadow on top of selection highlight --> <!-- test for bug 692752 - paint text shadow on top of selection highlight -->
<body onload="onload()"> <body onload="onload()">
<div style="text-shadow:1px 1px 1px red;" id="selectMe"> <div style="text-shadow:1px 1px 1px red;" id="selectMe">selected shadowed text</div>
selected shadowed text
</div>
</body> </body>
</html> </html>

Просмотреть файл

@ -26,8 +26,6 @@ div {
</head> </head>
<!-- NOTREF case has selected text but the shadow is missing --> <!-- NOTREF case has selected text but the shadow is missing -->
<body onload="onload()"> <body onload="onload()">
<div id="selectMe"> <div id="selectMe"><bdo dir="rtl">selected shadowed rtl text</bdo></div>
<bdo dir="rtl">selected shadowed rtl text</bdo>
</div>
</body> </body>
</html> </html>

Просмотреть файл

@ -27,11 +27,7 @@ div {
<!-- REF case renders the selection first, using &nbsp; to avoid any show-through of glyph edges, <!-- REF case renders the selection first, using &nbsp; to avoid any show-through of glyph edges,
then the shadowed text on top of that --> then the shadowed text on top of that -->
<body onload="onload()"> <body onload="onload()">
<div id="selectMe"> <div id="selectMe">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div style="text-shadow:1px 1px 1px red;"><bdo dir="rtl">selected shadowed rtl text</bdo></div>
</div>
<div style="text-shadow:1px 1px 1px red;">
<bdo dir="rtl">selected shadowed rtl text</bdo>
</div>
</body> </body>
</html> </html>

Просмотреть файл

@ -26,8 +26,6 @@ div {
</head> </head>
<!-- test for bug 692752 - paint text shadow on top of selection highlight --> <!-- test for bug 692752 - paint text shadow on top of selection highlight -->
<body onload="onload()"> <body onload="onload()">
<div style="text-shadow:1px 1px 1px red;" id="selectMe"> <div style="text-shadow:1px 1px 1px red;" id="selectMe"><bdo dir="rtl">selected shadowed rtl text</bdo></div>
<bdo dir="rtl">selected shadowed rtl text</bdo>
</div>
</body> </body>
</html> </html>