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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-content.html

Issue 1977323002: Revert of Pseudo and non pseudo elements should return correct computed content value (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-content.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-content.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-content.html
deleted file mode 100644
index 4a63e47349789a5e1eec11055dc75943bd5015b3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-content.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<script src="../../../resources/testharness.js"></script>
-<script src="../../../resources/testharnessreport.js"></script>
-
-<style>
-#target1::before {
- content: 'test';
-}
-#target1::after {
- content: normal;
-}
-#target2 {
- content: 'test';
-}
-#target2::before {
- content: normal;
-}
-#target2::after {
- content: 'test';
-}
-#target3 {
- content: none;
-}
-#target3::before {
- content: none;
-}
-#target3::after {
- content: 'test';
-}
-</style>
-
-<div id="target1"></div>
-<div id="target2"></div>
-<div id="target3"></div>
-
-<script>
-test(function() {
- assert_equals(getComputedStyle(target1).content, 'normal');
- assert_equals(getComputedStyle(target1, '::before').content, '"test"');
- assert_equals(getComputedStyle(target1, '::after').content, 'none');
- assert_equals(getComputedStyle(target2).content, 'normal');
- assert_equals(getComputedStyle(target2, '::before').content, 'none');
- assert_equals(getComputedStyle(target2, '::after').content, '"test"');
- assert_equals(getComputedStyle(target3).content, 'normal');
- assert_equals(getComputedStyle(target3, '::before').content, 'none');
- assert_equals(getComputedStyle(target3, '::after').content, '"test"');
-}, 'Test that content computes to "normal" for elements (not pseudo elements) and to "none" if the specified value of pseudo elements is "normal"');
-</script>

Powered by Google App Engine
This is Rietveld 408576698