Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: trunk/LayoutTests/fast/css/first-letter-block-change.html

Issue 25713009: Revert 158496 "Update the first letter when the first line is ch..." (Closed) Base URL: svn://
Patch Set: Created 7 years, 2 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: trunk/LayoutTests/fast/css/first-letter-block-change.html
--- trunk/LayoutTests/fast/css/first-letter-block-change.html (revision 158773)
+++ trunk/LayoutTests/fast/css/first-letter-block-change.html (working copy)
@@ -1,32 +0,0 @@
-<!doctype html>
-<title>Test for first-letter that is added by DOM scripting</title>
-<style type="text/css">
-p:first-letter {text-decoration: underline; color: #CB000F;}
-<script type="text/javascript">
-if (window.testRunner)
- testRunner.waitUntilDone();
-window.onload = function() {
- document.body.offsetTop;
- addTextNode();
-function addTextNode() {
- var textNode = document.createTextNode('I am adding a new text. ');
- var para = document.getElementById('test');
- para.insertBefore(textNode, para.firstChild);
- if (window.testRunner)
- testRunner.notifyDone();
-<p id="test">
-This is a test paragraph. You can insert extra text at its start;
-the :first-letter styles should be updated to accomodate this new text.

Powered by Google App Engine
This is Rietveld 408576698