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

Side by Side Diff: LayoutTests/fast/css/all-shorthand-first-letter.html

Issue 1304123006: Applying the "all" property needs to check all properties against the whitelist. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/css/all-shorthand-first-letter-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 /* Some invalid properties for ::first-letter */
4 #elm { overflow:scroll; max-width:4em; opacity:0.6; background:yellow; }
5
6 /* Some valid properties for ::first-letter */
7 #elm { margin-right:10px; padding-left:3em; }
8
9 #elm::first-letter { color:red; all:inherit; margin-left:-3em; float:left; }
10 </style>
11 <p>Test that an all:inherit declaration in a ::first-letter rule inherits what s hould be inherited,
12 while invalid properties for ::first-letter aren't.</p>
13 <p>The word "PASS" should be seen below, in a yellow box. There should be scroll bars on the yellow
14 box. Translucency should be uniform. There should be no red.</p>
15 <div id="elm">P<span style="margin-left:-10px;">ASS</span></div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/all-shorthand-first-letter-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698