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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/crash-in-attachFirstLetterTextLayoutObjects.html

Issue 2752163003: Clear pseudoElement from ElementRareData when FirstLetterPseudoElement doesn't have a LayoutObject (Closed)
Patch Set: Change test to be testharness Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <style>
5 .c3 { -webkit-appearance: button; }
6 .c3:nth-last-child(even) { display: table-row; }
7 .c14 { float: left; }
8 .c14::first-letter { float: inherit; }
9 </style>
10 <div id="div" class="c14">
11 <div class="c3">
12 Test passes if it doesn't crash.
13 </div>
14 </div>
15 <script>
16 test(function() {
17 setTimeout('div.appendChild(document.createElement("div"));', 0);
18 assert_true(true, "Should not crash");
19 }, "Check that we clear pseudoElement from ElementRareData when FirstLetterPseud oElement doesn't have a LayoutObject");
20 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698