| Index: LayoutTests/fast/css-generated-content/normalize-with-first-letter-and-before-content-crash.html
|
| diff --git a/LayoutTests/fast/css-generated-content/first-letter-next-sibling-crash.html b/LayoutTests/fast/css-generated-content/normalize-with-first-letter-and-before-content-crash.html
|
| old mode 100755
|
| new mode 100644
|
| similarity index 56%
|
| copy from LayoutTests/fast/css-generated-content/first-letter-next-sibling-crash.html
|
| copy to LayoutTests/fast/css-generated-content/normalize-with-first-letter-and-before-content-crash.html
|
| index 165551a7925155a30a8fba94a750fd80cf09d73d..ca5c1764e244f333372417c7bdc677ed2d4339a6
|
| --- a/LayoutTests/fast/css-generated-content/first-letter-next-sibling-crash.html
|
| +++ b/LayoutTests/fast/css-generated-content/normalize-with-first-letter-and-before-content-crash.html
|
| @@ -1,5 +1,4 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| +<!doctype html>
|
| <style>
|
| .absolutePosition { position: fixed; }
|
| .float:before { float: right; content: ''; }
|
| @@ -7,24 +6,18 @@
|
| .inline::first-letter { content: ''; }
|
| </style>
|
| <script>
|
| -if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -
|
| -function startTest() {
|
| +function crash() {
|
| document.body.offsetTop;
|
| - var parent = document.getElementById("parent");
|
| - var child = document.getElementById("child");
|
| + parent = document.getElementById('parent');
|
| child.setAttribute('class', 'inline');
|
| document.body.offsetTop;
|
| parent.removeChild(child);
|
| - document.body.offsetTop;
|
| - parent.setAttribute('class', 'inline');
|
| + parent.normalize();
|
| }
|
| -window.onload = startTest;
|
| +window.onload = crash;
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| </script>
|
| -WebKit Bug 85759 - Crash in RenderBlock::updateFirstLetterStyle.
|
| <div class="float" id="parent">
|
| <div class="absolutePosition" id="child"></div>
|
| -PASS if test does not crash.
|
| -</div>
|
| -</html>
|
| +Test passes if no crash.
|
|
|