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

Side by Side Diff: LayoutTests/fast/css-generated-content/before-after-no-content.html

Issue 570713002: Avoid calculating style for ::before/::after without content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css-generated-content/before-after-no-content-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 span, ::before, ::after { color: green; }
4 #before::before { content: "P"; }
5 #after::after { content: "S"; }
6 </style>
7 <p>There should be two green PASSes below.</p>
8 <div id="before"><span>ASS</span></div>
9 <div id="after"><span>PAS</span></div>
10 <div id="noBeforeAfter"></div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css-generated-content/before-after-no-content-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698