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

Side by Side Diff: LayoutTests/fast/css/all-inherit-or-unset-color.html

Issue 1330573003: Add Layout Test to check that color property works with all:{unset/inherit} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Color/style changes 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/all-inherit-or-unset-color-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 #parent1 { color: red; }
4
5 #target1
6 {
7 all: inherit;
8 color: green;
9 }
10
11 #parent2 { color: red; }
12
13 #target2
14 {
15 all: unset;
16 color: #90EE90;
17 }
18 </style>
19 <div id='parent1'>
20 <div id='target1'>Testing target1 color -> should be green</div>
21 </div>
22
23 <div id='parent2'>
24 <div id='target2'>Testing target2 color -> should be light green</div>
25 </div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/all-inherit-or-unset-color-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698