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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/whitespace/reattach-before-pseudo.html

Issue 2766163002: Pass nextTextSibling to ::before layout rebuild. (Closed)
Patch Set: Documentation fix. 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/LayoutTests/fast/text/whitespace/reattach-before-pseudo-expected.html » ('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 <style>
3 #t1::before {
4 content: "A";
5 display: block
6 }
7 #t1.inline::before {
8 display: inline
9 }
10
11 #t2::before {
12 content: "C";
13 display: block
14 }
15 #t2.inline::before {
16 display: inline
17 }
18 </style>
19 <p>There should be a space between A and B.</p>
20 <div id="t1"> <span>B</span></div>
21 <p>There should be a space between C and D.</p>
22 <div id="t2"></div>
23 <script>
24 t2.attachShadow({mode:"open"}).innerHTML = " <span>D</span>";
25 document.body.offsetTop; // Force layout tree generation.
26
27 t1.className = "inline";
28 t2.className = "inline";
29 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/whitespace/reattach-before-pseudo-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698