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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/all-shorthand-first-letter-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/all-shorthand-first-letter.html
diff --git a/LayoutTests/fast/css/all-shorthand-first-letter.html b/LayoutTests/fast/css/all-shorthand-first-letter.html
new file mode 100644
index 0000000000000000000000000000000000000000..6e25a09a7a619451c4f8b77ec6a2dc7e73293284
--- /dev/null
+++ b/LayoutTests/fast/css/all-shorthand-first-letter.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+ /* Some invalid properties for ::first-letter */
+ #elm { overflow:scroll; max-width:4em; opacity:0.6; background:yellow; }
+
+ /* Some valid properties for ::first-letter */
+ #elm { margin-right:10px; padding-left:3em; }
+
+ #elm::first-letter { color:red; all:inherit; margin-left:-3em; float:left; }
+</style>
+<p>Test that an all:inherit declaration in a ::first-letter rule inherits what should be inherited,
+ while invalid properties for ::first-letter aren't.</p>
+<p>The word "PASS" should be seen below, in a yellow box. There should be scrollbars on the yellow
+ box. Translucency should be uniform. There should be no red.</p>
+<div id="elm">P<span style="margin-left:-10px;">ASS</span></div>
« 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