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

Side by Side Diff: third_party/WebKit/LayoutTests/css-parser/content-parsing-invalid.html

Issue 1824283002: Ensure that we don't allow 'normal' alongside other values in content property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
(Empty)
1 <!doctype html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4
5 <style>
6 #target::before {
7 content: normal normal;
8 }
9 #target::after {
10 content: normal normal;
11 }
12 </style>
13
14 <div id="target"></div>
15
16 <script>
17 test(function(){
18 assert_equals(getComputedStyle(target, '::before').content, '');
19 assert_equals(getComputedStyle(target, '::after').content, '');
20 }, "Test to ensure that invalid values of content on pseudo elements are dropped by the parser");
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698