Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(851)

Unified Diff: LayoutTests/fast/block/lineboxcontain/block-glyphs-replaced.html

Issue 1328673003: Remove -webkit-line-box-contain implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix up a few more tests. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/block/lineboxcontain/block-glyphs-replaced.html
diff --git a/LayoutTests/fast/block/lineboxcontain/block-glyphs-replaced.html b/LayoutTests/fast/block/lineboxcontain/block-glyphs-replaced.html
deleted file mode 100644
index 9bb97efc318b4f120fe2d01e9cd3a308fe1751c4..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/block/lineboxcontain/block-glyphs-replaced.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!doctype html>
-<head>
-<title>line-box-contain: block glyphs replaced</title>
-<style>
-.test {
- -webkit-line-box-contain: block glyphs replaced;
- line-box-contain: block glyphs replaced;
- font: 64px/1em Ahem;
- background-color:red;
- width:6em;
- overflow:hidden;
-}
-.goodline { color: green; }
-</style>
-</head>
-<body>
-You should see a green rectangle below. If you see any red other than anti-aliasing, the test has failed.
-
-<div class="test">
-<!--
- Ahem has 0.2em descent and 0.8em ascent, so 64px Ahem has 12.8px descent and 51.2px ascent.
- Since we expand to enclosing integer points, the integer glyph bounds will be 65px tall.
- As a result, we need 64px of text + 1px of extra border to fill the line box.
- This is not an elegant hack; sorry.
-
- Warning: this is very sensitive to changes in font code and may need adjustment later.
--->
-<span class="goodline" style="border-top: 1px solid green">xxxxx</span><span style="background-color:green; font-size:128px; padding-left:0.5em;"></span><br>
-
-<span class="goodline" style="font-size:128px; letter-spacing:-0.5em">xxxxx</span><div style="display:inline-block; width:1em;height:2em;vertical-align:bottom;background-color:green"></div>
-</div>
-
-<p style="-webkit-line-box-contain:block glyphs;line-box-contain: block glyphs; border:1px solid black">This line should look normal.</p>
« no previous file with comments | « LayoutTests/fast/block/lineboxcontain/block-glyphs.html ('k') | LayoutTests/fast/block/lineboxcontain/block-replaced.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698